@media (max-width: 1500px) {
    .step.top::after {
        width: 134px;
        height: 94px;
    }

    .step-1.top::after {
        width: 116px;
    }

    .step.bottom::before {
        width: 134px;
        height: 103px;
    }

    .step-2 {
        margin-left: 157px;
    }

    .step-3 {
        margin-left: 40px;
    }

    .step-4.step.bottom::before {
        left: -18px;
    }

    .step-4 {
        margin-left: 32px;
    }

    .step-6 {
        margin-left: 0px;
    }


    .step-5 {
        margin-left: 7px;
    }

    .step-6 p {
        max-width: 238px;
    }

    .step-6.step.bottom::before {
        left: -7px;
    }

    .step-3 p {
        max-width: 210px;
    }

    .step-3.top::after {
        left: -27px;
    }

    .step-1 {
        margin-left: 30px;
    }

    .step-1.top::after {
        left: -20px;
    }

    .step.bottom::before {
        left: -38px;
    }

    .step-5 p {
        max-width: 225px;
    }

    .step-7 p {
        max-width: 210px;
    }

    .step-7.top::after {
        left: -25px;
    }

    .step-8.step.bottom::before {
        left: -18px;
    }

    .step-8 {
        margin-left: 3px;
    }

    .step-8::after {
        width: 121px;
        height: 20px;
        top: -137px;
        left: 110px;
    }

    .step-7 {
        margin-left: 17px;
    }

    .step.bottom::before {
        top: -132px;
    }
}

@media (max-width: 1219px) {
    .insurance-box {
        display: none;
    }

    .nav-links {
        gap: 20px;
    }

    .navbar {
        gap: 32px;
    }

    .site-header {
        padding-inline: 24px;
    }

    .nav-logo img {
        width: 200px;
    }

    .hero-side-card {
        width: 190px;
        height: 260px;
        border-radius: 125px;
        margin-right: 0;
    }

    .hero-side-card video {
        border-radius: 125px;
    }

    .insurance-responsive {
        display: block;
        border-radius: 30px;
        background: #F6F6F6;
        padding: 40px 24px;
        overflow: hidden;
    }

    .insurance-responsive-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        align-items: start;
    }

    .insurance-responsive-step {
        display: flex;
        align-items: stretch;
        gap: 16px;
        min-width: 0;
    }

    .step-marker {
        position: relative;
        width: 20px;
        min-width: 20px;
        display: flex;
        justify-content: center;
        flex-shrink: 0;
        padding-top: 3px;
    }

    .step-marker::before {
        content: "";
        position: absolute;
        top: 16px;
        bottom: -50px;
        left: 50%;
        transform: tanslateX(-50%);
        width: 2px;
        background: #119CB1;
    }

    .insurance-responsive-step:last-child .step-marker::before,
    .insurance-responsive-step:nth-last-child(2) .step-marker::before {
        background: #F6F6F6;
    }

    .step-dot {
        position: relative;
        z-index: 2;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #F6F6F6;
        border: 3px solid #0B4750;
        display: block;
        box-sizing: border-box;
    }

    .step-content {
        min-width: 0;
    }

    .step-content h4 {
        color: #0B4750;
        font-family: Poppins, sans-serif;
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 24px;
        margin: 0 0 8px;
    }

    .step-content p {
        color: #252525;
        font-family: Poppins, sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
        margin: 0;
    }
}

@media (max-width: 1025px) {
    .site-header {
        padding: 20px 20px 0;
    }

    .header-content {
        padding: 14px 18px;
        gap: 16px;
    }

    .nav-logo img {
        width: 180px;
    }

    .nav-links {
        display: none;
    }

    .navbar {
        gap: 20px;
    }

    .btn {
        padding: 16px 24px;
        font-size: 16px;
        line-height: 20px;
    }

    .hero-wrap {
        padding: 36px 24px;
        height: 750px;
        max-height: 100vh;
    }

    .hero-content {
        gap: 24px;
    }

    .hero-left h1 {
        font-size: 56px;
        line-height: 56px;
        letter-spacing: -1.5px;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 52px;
        line-height: 54px;
    }

    .treatments {
        padding: 60px 20px;
    }

    .treatments .section-title {
        margin-bottom: 50px;
    }

    .treatment-content h3 {
        font-size: 30px;
        line-height: 38px;
    }

    .treatment-content p {
        font-size: 16px;
        margin: 6px 0 18px;
    }

    .book-btn {
        padding: 14px 24px;
        font-size: 16px;
        line-height: 22px;
    }

    .team {
        padding: 60px 20px;
    }

    .team-wrapper {
        gap: 40px;
        flex-wrap: wrap;
    }

    .team-member img {
        width: 240px;
        height: 240px;
    }

    .team-member h3 {
        font-size: 28px;
        line-height: 32px;
        margin: 20px 0 10px;
    }

    .map-section {
        padding: 40px 20px;
    }

    .appointment {
        padding: 50px 20px;
    }

    .appointment-wrap {
        gap: 24px;
    }

    .appointment-left h2 {
        font-size: 56px;
        line-height: 58px;
    }

    .appointment-form {
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        padding-inline: 20px;
        gap: 28px;
    }

    .footer-logo {
        grid-column: 1 / -1;
        order: -1;
    }

    .footer-right {
        text-align: left;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .site-header {
        padding: 16px 16px 0;
    }

    .header-content {
        padding: 12px 14px;
        border-radius: 20px;
    }

    .nav-logo img {
        width: 150px;
    }

    .navbar {
        width: auto;
    }

    .navbar .btn {
        padding: 12px 18px;
        font-size: 14px;
        line-height: 18px;
    }

    .hero-wrap {
        min-height: auto;
        padding: 120px 16px 20px;
        border-radius: 0 0 24px 24px;
        background-position: 40%;
    }

    .hero-content {
        gap: 20px;
    }

    .hero-left {
        width: 100%;
        padding-bottom: 80px;
    }

    .hero-left h1 {
        font-size: 42px;
        line-height: 44px;
        margin-bottom: 0;
    }

    .section-title {
        font-size: 40px;
        line-height: 42px;
    }

    .treatments {
        padding: 50px 16px;
    }

    .treatments .section-title {
        margin-bottom: 36px;
    }

    .treatment-content {
        padding: 18px;
    }

    .treatment-content h3 {
        font-size: 24px;
        line-height: 30px;
    }

    .treatment-content p {
        font-size: 15px;
        margin: 6px 0 16px;
    }

    .treatments .splide__arrows {
        gap: 20px;
        margin-top: 30px;
    }

    .treatments .splide__arrows .splide__arrow {
        width: 48px;
        height: 48px;
    }

    .treatments .splide__arrows .splide__arrow svg {
        height: 20px;
    }

    .team {
        padding: 50px 16px;
    }

    .team-wrapper {
        margin-top: 36px;
        gap: 28px;
    }

    .team-member {
        width: calc(50% - 14px);
    }

    .team-member img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .team-member h3 {
        font-size: 22px;
        line-height: 28px;
        margin: 16px 0 8px;
    }

    .team-member span {
        font-size: 15px;
        line-height: 22px;
    }

    .map-section {
        padding: 30px 16px;
    }

    .map-section iframe {
        height: 380px;
        border-radius: 20px;
    }

    .appointment {
        padding: 50px 16px;
    }

    .appointment-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .appointment-left {
        max-width: 100%;
    }

    .appointment-left h2 {
        font-size: 42px;
        line-height: 44px;
    }

    .appointment-form form {
        gap: 16px;
    }

    .appointment-form input,
    .appointment-form textarea {
        padding: 16px 18px;
        font-size: 16px;
        border-radius: 20px;
    }

    .appointment-form input::placeholder,
    .appointment-form textarea::placeholder {
        font-size: 16px;
    }

    .appointment-form textarea {
        min-height: 160px;
    }

    .site-footer {
        padding-top: 50px;
        margin-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-inline: 16px;
    }

    .footer-logo {
        order: 0;
    }

    .footer-logo img {
        width: 180px;
    }

    .footer-left,
    .footer-right {
        text-align: left;
    }

    .footer-title {
        font-size: 22px;
        line-height: 30px;
        margin-bottom: 8px;
    }

    .footer-text,
    .footer-right p {
        font-size: 16px;
        line-height: 24px;
    }

    .socials a {
        width: 46px;
        height: 46px;
        padding: 10px;
    }

    .socials a img {
        width: 24px;
        height: 24px;
    }

    .copyright {
        padding: 18px 16px;
    }

    .copyright p,
    .copyright p a {
        font-size: 14px;
        line-height: 22px;
    }

    .insurance {
        padding: 0 12px 40px;
    }

    .insurance-responsive-step:nth-last-child(2) .step-marker::before {
        background: #119CB1;
    }

    .insurance>p {
        font-size: 16px;
        line-height: 24px;
        margin: 12px auto 28px;
    }

    .insurance-responsive {
        padding: 28px 16px;
        border-radius: 24px;
    }

    .insurance-responsive-grid {
        grid-template-columns: 1fr;
    }

    .insurance-responsive-step {
        position: relative;
        display: flex;
        align-items: stretch;
        gap: 14px;
    }

    .insurance-responsive-step:last-child {
        padding-bottom: 0;
    }

    .step-marker {
        position: relative;
        width: 18px;
        min-width: 18px;
        display: flex;
        justify-content: center;
        flex-shrink: 0;
        padding-top: 2px;
    }

    .step-marker::before {
        content: "";
        position: absolute;
        top: 16px;
        bottom: -22px;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        background: #119CB1;
    }

    .insurance-responsive-step:last-child .step-marker::before {
        display: none;
    }

    .step-dot {
        position: relative;
        z-index: 2;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #F6F6F6;
        border: 3px solid #0B4750;
        box-sizing: border-box;
        display: block;
    }

    .step-content h4 {
        font-size: 17px;
        line-height: 22px;
        margin: 0 0 6px;
    }

    .step-content p {
        font-size: 15px;
        line-height: 22px;
        margin: 0;
    }
}

@media (max-width: 575px) {
    .site-header {
        padding: 12px 12px 0;
    }

    .header-content {
        padding: 10px 12px;
        border-radius: 18px;
    }

    .nav-logo img {
        width: 120px;
    }

    .navbar .btn {
        padding: 10px 14px;
        font-size: 13px;
        line-height: 16px;
    }

    .hero-wrap {
        padding: 100px 12px 16px;
    }

    .hero-left h1 {
        font-size: 28px;
        line-height: 34px;
        letter-spacing: -1px;
    }

    .hero-side-card {
        width: 149px;
        height: 210px;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
    }

    .hero-left {
        width: fit-content;
        padding-bottom: 135px;
        padding-left: 23px;
        text-align: center;
    }

    .section-title {
        font-size: 32px;
        line-height: 34px;
    }

    .treatments {
        padding: 40px 12px;
    }

    .treatment-card {
        border-radius: 18px;
    }

    .treatment-content {
        padding: 16px;
    }

    .treatment-content h3 {
        font-size: 22px;
        line-height: 28px;
    }

    .treatment-content p {
        font-size: 14px;
        margin: 6px 0 14px;
    }

    .book-btn {
        padding: 12px 18px;
        font-size: 14px;
        line-height: 20px;
    }

    .team {
        padding: 40px 12px;
    }

    .team-wrapper {
        gap: 24px;
    }

    .team-member {
        width: 100%;
    }

    .team-member h3 {
        font-size: 20px;
        line-height: 26px;
    }

    .map-section {
        padding: 24px 12px;
    }

    .map-section iframe {
        height: 300px;
        border-radius: 16px;
    }

    .appointment {
        padding: 40px 12px;
    }

    .appointment-left h2 {
        font-size: 34px;
        line-height: 38px;
    }

    .appointment-form input,
    .appointment-form textarea {
        padding: 14px 16px;
        font-size: 15px;
    }

    .appointment-form input::placeholder,
    .appointment-form textarea::placeholder {
        font-size: 15px;
    }

    .footer-grid {
        padding-inline: 12px;
    }

    .footer-logo img {
        width: 150px;
    }

    .footer-title {
        font-size: 20px;
        line-height: 28px;
    }

    .footer-text,
    .footer-right p {
        font-size: 15px;
        line-height: 22px;
    }
}