@media (max-width: 1200px) {
    .header {
        padding-inline: 30px;
    }

    .header nav ul {
        gap: 16px;
    }

    .header nav {
        gap: 30px;
    }

    .header>a img {
        width: 130px;
    }

    .p-70 {
        padding-inline: 40px;
    }

    .about-content {
        padding-inline: 30px;
    }

    .about-content h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .common-heading {
        font-size: 26px;
    }

    .procedure-content div {
        width: 270px;
        height: 270px;
    }

    .second-card-img-top {
        width: 128%;
        top: -14px;
        left: -58px;
    }

    .procedure-content {
        gap: 60px 40px;
    }

    .first-card-img {
        width: 112%;
        top: -14px;
        left: -14px;
    }

    .px-70 {
        padding-inline: 40px;
    }

    .consultaion-section {
        gap: 40px;
    }

    .consultation-form {
        padding: 30px 20px;
    }

    .form-row {
        flex-direction: column;
    }

    .consultation-form textarea {
        height: 160px;
    }

    .consultation-heading {
        min-width: 440px;
    }

    .footer-content {
        gap: 30px;
    }

    .hero-section {
        padding: 50px 30px;
    }

    .hero-section h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .hero-section p {
        max-width: 420px;
        margin: 12px 0 24px;
    }

    .testimonials-section h2 {
        font-size: 28px;
    }

    .consultation-heading h2 {
        font-size: 32px;
        line-height: 40px;
        max-width: 350px;
    }
}

@media (max-width: 1025px) {
    .header nav ul {
        display: none;
    }

    .px-50 {
        padding-inline: 30px;
    }

    .about-section {
        flex-direction: column-reverse;
    }

    .dr-img {
        width: 100%;
        max-width: 660px;
        margin-inline: auto;
    }

    .about-content {
        width: 100%;
    }

    .about-content p {
        max-width: unset;
    }

    .concerns-section {
        flex-direction: column;
    }

    .concerns-img {
        width: 100%;
        max-width: 660px;
        margin-inline: auto;
    }

    .concerns-content {
        width: 100%;
    }

    .procedure-content {
        grid-template-columns: repeat(2, 292px);
    }

    .lg-img {
        display: none;
    }

    .sm-img {
        display: block;
    }

    .lg-img-t {
        display: none;
    }

    .sm-img-t {
        display: block;
    }

    .consultaion-section {
        flex-direction: column;
        background-image: url('../images/contact-bg-mobile.png');
        gap: 260px;
    }

    .consultation-heading {
        padding-top: 0;
    }

    .consultation-heading p {
        margin-top: 16px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .contact-details {
        max-width: 400px;
    }

    .faq-section .common-heading {
        margin-bottom: 32px;
    }
}



@media (max-width: 768px) {
    .procedure-content {
        grid-template-columns: 250px;
        margin-top: 55px;
        padding-inline: 20px;
    }

    .about-content h2 {
        font-size: 28px;
        line-height: 34px;
    }

    .sm-img,
    .desk-img {
        display: none;
    }

    .lg-img,
    .mob-img {
        display: block;
    }

    .hero-section {
        height: 550px;
    }

    .consultation-heading {
        min-width: unset;
    }

    .concerns-content div {
        padding: 30px 24px;
    }

    .about-content {
        padding-inline: 20px;
    }

    .p-70 {
        padding-inline: 30px;
    }

    .p-70,
    .py-70 {
        padding-block: 50px;
    }

    .btn a span:first-child,
    .form-btn span:first-child {
        font-size: 14px;
        line-height: 20px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .footer-logo img {
        width: 200px;
    }

    .hero-section {
        padding: 40px 20px;
    }

    .hero-section>div {
        position: relative;
    }

    .hero-section>div * {
        position: relative;
        z-index: 9;
    }

    .hero-section>div::before {
        content: "";
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
        filter: blur(10px);
        position: absolute;
        top: -11px;
        left: -11px;
        display: block;
        z-index: 3;
    }
}

@media (max-width: 480px) {
    .p-70 {
        padding-inline: 20px;
    }

    .header {
        padding: 20px 20px 30px;
    }

    .header>a img {
        width: 100px;
    }

    .btn a,
    .form-btn {
        padding: 10px 12px 10px 18px;
    }

    .btn a span:last-child {
        width: 24px;
        height: 24px;
    }

    .btn a img {
        width: 8px;
        height: 9px;
    }

    .header .btn a span:first-child {
        font-size: 12px;
    }

    .hero-section h2 {
        font-size: 24px;
        line-height: 28px;
    }

    .hero-section p {
        font-size: 16px;
        margin: 4px 0 16px;
    }

    .hero-section {
        padding-block: 30px;
    }

    .hero-section>div::before {
        height: 110%;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
        filter: blur(12px);
    }

    .testimonials-section h2 {
        font-size: 24px;

        margin-bottom: 18px;
    }

    .testimonial-card p:first-of-type {
        font-size: 18px;
        line-height: 16px;
    }

    .testimonial-card p:last-of-type {
        font-size: 16px;
        line-height: 20px;
    }

    .testimonial-card {
        gap: 16px;
    }

    .about-content h2 {
        font-size: 22px;
        line-height: 28px;
        margin-bottom: 8px;
    }

    .about-content p {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .about-content .btn {
        margin-top: 12px;
    }

    .about-content {
        padding-block: 40px;
    }

    .concerns-content div {
        padding-inline: 20px;
    }

    .common-heading {
        font-size: 20px;
    }

    .concerns-content div p {
        font-size: 16px;
        margin: 8px 0 16px;
    }

    .px-70 {
        padding-inline: 20px;
    }

    .procedure-content {
        margin-top: 50px;
    }

    .consultation-heading h2 {
        font-size: 26px;
        line-height: 32px;
        max-width: 300px;
    }

    .consultation-heading p {
        font-size: 16px;
        margin-top: 4px;
    }

    .consultaion-section {
        background-position: center;
        gap: 70px;
    }

    .consultation-form input,
    .consultation-form textarea {
        font-size: 16px;
    }

    .consultation-form input::placeholder,
    .consultation-form textarea::placeholder {
        font-size: 16px;
    }

    .consultation-form textarea {
        border-radius: 20px;
    }

    .px-50 {
        padding-inline: 20px;
    }

    .faq-wrapper {
        padding: 20px;
        border-radius: 16px;
    }

    .consultation-form {
        border-radius: 16px;
        padding: 26px 16px;
    }

    .faq-wrapper h6 {
        font-size: 16px;
        line-height: 22px;
    }

    .faq-wrapper p {
        font-size: 16px;
        padding-top: 12px;
        line-height: 20px;
    }

    .footer-logo img {
        width: 160px;
    }

    .footer-content {
        padding: 30px 0 22px;
    }

    .copyright p,
    .copyright p a {
        font-size: 12px;
    }

    .copyright {
        padding-inline: 16px;
    }

    .contact-details {
        gap: 20px;
    }

    .social-links a {
        width: 44px;
        height: 44px;
        padding: 8px;
    }

    .footer-content div:first-child p,
    .contact-details>div:first-child a,
    .contact-details h6 {
        font-size: 16px;
    }
}

@media (max-width: 370px) {
    .header>a img {
        width: 80px;
    }

    .header .btn a {
        padding: 8px 8px 8px 14px;
    }

    .header .btn a span:first-child {
        font-size: 10px;
    }

    .header .btn a span:last-child {
        width: 22px;
        height: 22px;
    }
}