@media screen and (min-width: 1201px) and (max-width: 1350px) {

    .header-right,
    .header-left {
        gap: 24px;
    }

    .header-nav ul {
        gap: 18px;
    }

    .header-logo img {
        width: 210px;
    }
}

.burger-btn,
.mobile-menu,
.mobile-overlay {
    display: none;
}

@media (max-width:1200px) {

    .header-right,
    .header-left .header-nav,
    .language-divider {
        display: none;
    }

    .header-logo {
        position: static;
        transform: none;
    }

    .mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 20px;
        z-index: 1000;
    }

    .mobile-logo img {
        width: 200px;
    }

    .burger-btn {
        width: 42px;
        height: 42px;
        border: none;
        background: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        cursor: pointer;
    }

    .burger-btn span {
        width: 28px;
        height: 2px;
        background: #fff;
        transition: .35s;
    }

    .burger-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .burger-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 90%;
        height: 100vh;
        background: #1B1F5C;
        z-index: 1002;
        transition: .4s;
        overflow-y: auto;
        padding: 25px;
    }

    .mobile-menu.active {
        right: 0;
    }

    .mobile-menu-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
    }

    .mobile-close {
        border: 0;
        background: none;
        color: #fff;
        font-size: 38px;
        cursor: pointer;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobile-nav ul {
        width: 100%;
        list-style: none;
    }

    .mobile-nav>ul>li:not(.mobile-dropdown) {
        border-bottom: 1px solid rgba(255, 255, 255, .15);
    }

    .mobile-nav a:not(.btn):not(.socials a),
    .mobile-dropdown button {
        width: 100%;
        padding: 18px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #fff;
        background: none;
        border: none;
        font-size: 16px;
        cursor: pointer;
        border-bottom: 1px solid rgba(255, 255, 255, .15);

    }

    .mobile-dropdown button img {
        width: 18px;
        transition: .3s;
    }

    .mobile-dropdown.active button img {
        transform: rotate(180deg);
    }

    .mobile-dropdown ul {
        display: none;
        padding-left: 18px;
    }

    .mobile-dropdown.active ul {
        display: block;
    }

    .mobile-dropdown ul a {
        padding: 12px 0;
        color: rgba(255, 255, 255, .75);
    }

    .mobile-nav .socials {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 50px;
    }

    .mobile-nav .socials a {
        display: flex;
        width: 42px;
        height: 42px;
        justify-content: center;
        align-items: center;
        border: 1px solid rgba(255, 255, 255, 0.79);
    }

    .mobile-nav .socials a img {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .mobile-nav .btn {
        margin-top: 50px;
    }

    .mobile-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .45);
        opacity: 0;
        visibility: hidden;
        transition: .3s;
        z-index: 1001;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    body.menu-open {
        overflow: hidden;
    }
}


@media (max-width: 1399px) {
    .hero-content h1 {
        font-size: 42px;
    }

    .section-heading {
        font-size: 52px;
    }

    .about-content .floating-img {
        width: 950px;
    }

    .team-section .floating-img {
        width: 850px;
    }

    .branches-sec .floating-img {
        width: 850px;
    }

    .testimonial-section .floating-img {
        width: 400px;
    }

    .faq-section .floating-img {
        width: 800px;
    }
}

@media (max-width: 1199px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .section-heading {
        font-size: 42px;
    }

    .proc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .license-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid .stat {
        border-right: 1px solid rgba(255, 255, 255, 0.12);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .stats-grid .stat:nth-child(even) {
        border-right: none;
    }

    .stats-grid .stat:nth-last-child(-n+2) {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 4px;
    }

    .different-img {
        margin-left: 0;
    }

    .about-content .floating-img {
        width: 700px;
    }

    .team-section .floating-img {
        width: 650px;
    }

    .branches-sec .floating-img {
        width: 650px;
    }

    .faq-section .floating-img {
        width: 600px;
    }
}

@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content {
        padding-left: max(40px, 6vw);
        padding-right: 40px;
    }

    .section-heading {
        font-size: 36px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-img {
        order: 2;
    }

    .dept-grid {
        grid-template-columns: 1fr;
    }

    .appointment-grid {
        grid-template-columns: 1fr;
    }

    .map {
        min-height: 320px;
    }

    .different-grid {
        flex-direction: column;
    }

    .different-content::before {
        display: none;
    }

    .different-img {
        width: 100%;
        margin-left: 0;
        min-height: 320px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content .floating-img,
    .team-section .floating-img,
    .branches-sec .floating-img,
    .testimonial-section .floating-img,
    .faq-section .floating-img {
        opacity: 0.5;
    }
}

@media (max-width: 767px) {

    .section-heading {
        font-size: 28px;
    }

    .section-tag {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .hero-section {
        height: 500px;
    }

    .hero-content {
        padding: 100px 20px 60px;
    }

    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hero-slider-pagination {
        display: none;
    }

    .about-content {
        padding: 40px 20px;
    }

    .about-content .section-heading {
        margin-bottom: 20px;
    }

    .about-content p {
        font-size: 15px;
    }

    .about-content p+p {
        margin-top: 16px;
    }

    .about-experience {
        gap: 16px;
        padding-top: 20px;
        margin-top: 20px;
    }

    .about-experience span {
        font-size: 40px;
    }

    .about-content ul {
        gap: 14px;
        margin: 24px 0 30px;
    }

    .about-content ul li {
        font-size: 15px;
    }

    .about-content .floating-img {
        display: none;
    }

    .departments-section {
        padding: 40px 0;
    }

    .section-head {
        padding-left: 20px;
        padding-right: 20px;
    }

    .dept-grid {
        margin-top: 24px;
    }

    .dept-card-content {
        padding: 24px;
    }

    .dept-card-content span {
        font-size: 22px;
    }

    .dept-card-content p {
        font-size: 15px;
    }

    .dept-card-content a {
        font-size: 15px;
    }

    .procedure-section {
        padding-bottom: 40px;
    }

    .proc-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 24px;
    }

    .proc-card-content {
        padding: 24px;
    }

    .proc-card-content span {
        font-size: 20px;
    }

    .proc-card-content p {
        font-size: 15px;
    }

    .stats-grid {
        padding: 40px 20px;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 24px;
    }

    .stats-grid .num {
        font-size: 32px;
    }

    .stats-grid .lbl {
        font-size: 14px;
    }

    .team-section {
        padding: 40px 0;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 36px;
    }

    .team-card-content span {
        font-size: 15px;
    }

    .team-card-content p {
        font-size: 14px;
    }

    .team-section .floating-img {
        display: none;
    }

    .license-wrapper {
        padding: 40px 20px 0;
    }

    .license-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
    }

    .results-section {
        padding: 40px 20px;
    }

    .results-section p {
        font-size: 15px;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .results-filter {
        gap: 24px;
        flex-wrap: wrap;
        padding-top: 16px;
    }

    .different-content {
        padding: 40px 20px;
    }

    .different-content .section-heading {
        margin-bottom: 30px;
    }

    .diff-list .item {
        gap: 20px;
    }

    .diff-list .num {
        font-size: 28px;
    }

    .diff-list div span {
        font-size: 18px;
    }

    .diff-list p {
        font-size: 15px;
    }

    .branches-sec {
        padding: 40px 20px;
    }

    .branches-sec .section-heading {
        margin-bottom: 24px;
    }

    .branches-sec>p {
        font-size: 15px;
    }

    .branches-grid {
        gap: 36px;
        margin-top: 40px;
    }

    .branch>span {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .branch-info {
        gap: 16px;
        margin-bottom: 30px;
    }

    .branch-info p {
        font-size: 15px;
    }

    .branches-sec .floating-img {
        display: none;
    }

    .testimonial-container {
        padding: 40px 20px;
    }

    .testimonial-container .section-heading {
        margin-bottom: 30px;
    }

    .testi-card {
        padding: 20px;
    }

    .testi-card p {
        font-size: 15px;
    }

    .user-info>div span:first-child {
        font-size: 16px;
    }

    .testimonial-section .floating-img {
        display: none;
    }

    .faq-section {
        padding: 40px 20px;
    }

    .faq-wrapper {
        margin-top: 30px;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-question {
        gap: 16px;
    }

    .faq-title {
        font-size: 17px;
    }

    .faq-answer {
        padding-left: 0;
    }

    .faq-answer p {
        font-size: 15px;
    }

    .faq-section .floating-img {
        display: none;
    }

    .appointment-heading {
        padding: 40px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .appointment-heading p {
        text-align: left;
        font-size: 15px;
    }

    .appointment-form form {
        padding: 40px 20px;
    }

    .appointment-form form input,
    .appointment-form form textarea,
    .appointment-form form select,
    .appointment-form form input::placeholder,
    .appointment-form form textarea::placeholder {
        font-size: 15px;
    }

    .map {
        min-height: 280px;
    }

    .cta-section {
        padding: 40px 20px;
    }

    .cta-section .section-heading {
        font-size: 26px;
    }

    .cta-section .section-heading::after {
        margin: 30px auto 24px;
    }

    .cta-section p {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .btn-wrapper {
        flex-wrap: wrap;
    }

    .footer-content-wrapper {
        padding: 40px 20px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding-bottom: 30px;
    }

    .footer-content {
        align-items: flex-start;
        grid-column: 1 / -1;
    }

    .footer-content .footer-logo {
        width: 200px;
    }

    .footer-content p {
        text-align: left;
        font-size: 15px;
    }

    .footer-grid span {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .footer-grid ul li a,
    .footer-grid ul li p {
        font-size: 15px;
    }

    .footer-bottom {
        padding: 24px 20px;
    }

    .footer-bottom span {
        font-size: 15px;
    }

    .topbar {
        padding: 10px 20px;
        gap: 12px;
        justify-content: center;
    }

    .topbar .socials {
        display: none;
    }

    .header-wrapper {
        padding: 8px 20px;
        top: 46px;
    }

    .hero-content h1 {
        max-width: 100%;
    }

    .topbar-left {
        width: 100%;
        justify-content: space-between;
        gap: 14px;
    }

    .topbar-left a,
    .topbar-left span {
        font-size: 13px;
    }

    .topbar-left span {
        gap: 6px;
    }

    .topbar-left img {
        width: 12px;
        height: 12px;
    }

    .topbar-right {
        gap: 12px;
    }

    .btn {
        font-size: 15px;
    }

    .submit-btn {
        font-size: 16px;
    }

    .header-logo img {
        width: 200px;
    }
}

@media (max-width: 524px) {

    .topbar-left a {
        font-size: 10px;
        flex: 1;
        justify-content: center;
    }

    .topbar-left {
        flex-wrap: wrap;
        gap: 0;
    }

    .topbar {
        padding: 6px 16px;
    }

    .topbar-left span:last-child {
        width: 100%;
        font-size: 10px;
        justify-content: center;
    }

    .header-wrapper {
        top: 64px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .language-btn {
        font-size: 14px;
        gap: 6px;
        padding: 6px;
    }

    .language-btn img {
        width: 15px;
        height: 15px;
    }

    .burger-btn {
        width: 30px;
        height: 30px;
    }

    .header-logo img {
        width: 180px;
    }

    .section-heading {
        font-size: 24px;
    }

    .dept-grid {
        gap: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid .stat {
        border-right: none !important;
    }

    .stats-grid .stat:nth-last-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .stats-grid .stat:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        padding-left: 20px;
        padding-right: 20px;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        align-items: flex-start;
        text-align: left;
    }

    .footer-content p {
        text-align: left;
    }

    .branches-grid {
        gap: 30px;
    }

    .cta-section {
        padding: 30px 20px;
    }
}

@media (max-width: 1199px) {
    .common-hero {
        height: 450px;
        padding: 80px 30px;
    }

    .common-hero h1 {
        font-size: 48px;
    }

    .innerpage-cta {
        padding: 60px 40px;
    }

    .overview-section {
        padding: 80px 40px;
    }

    .choose-section {
        padding: 80px 30px;
    }

    .releated-procedures {
        padding: 80px 30px;
    }
}

@media (max-width: 991px) {
    .common-hero {
        height: 400px;
        padding: 60px 30px;
    }

    .common-hero h1 {
        font-size: 40px;
    }

    .innerpage-cta {
        padding: 50px 30px;
    }

    .innerpage-cta p {
        margin-bottom: 50px;
    }

    .overview-section {
        padding: 60px 30px;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .choose-section {
        padding: 60px 30px;
    }

    .choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

    .releated-procedures {
        padding: 60px 30px;
    }

    .releated-procedure-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
}

@media (max-width: 767px) {
    .common-hero {
        padding: 40px 20px;
    }

    .common-hero h1 {
        font-size: 32px;
        margin: 12px 0 16px;
    }

    .common-hero p {
        font-size: 15px;
    }

    .breadcrumb a,
    .breadcrumb span:nth-child(2),
    .breadcrumb span {
        font-size: 15px;
    }

    .innerpage-cta {
        padding: 40px 20px;
    }

    .innerpage-cta .section-heading::after {
        margin: 24px auto;
    }

    .innerpage-cta p {
        margin-bottom: 40px;
    }

    .overview-section {
        padding: 40px 20px;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 30px;
    }

    .overview-grid p {
        font-size: 15px;
        max-width: 100%;
    }

    .choose-section {
        padding: 40px 20px;
    }

    .choose-section .section-heading {
        margin-bottom: 30px;
    }

    .choose-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 20px 0;
    }

    .choose-grid.diff-list .item {
        padding-bottom: 20px;
        padding-top: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .choose-grid.diff-list .item:first-child {
        padding-top: 0;
    }
    .choose-grid.diff-list .item:last-child{
        padding-bottom: 0;
        border-bottom: none;
    }

    .bg-white .choose-grid.diff-list .item {
        border-color: rgba(27, 31, 92, 0.12);
    }

    .choose-grid::after {
        display: none;
    }

    .releated-procedures {
        padding: 40px 20px;
    }

    .releated-procedure-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 30px;
        padding-top: 24px;
    }

    .releated-procedure-grid .num {
        font-size: 28px;
    }

    .releated-procedure-grid .name {
        font-size: 18px;
        margin: 16px 0 8px;
    }

    .releated-procedure-grid p,
    .releated-procedure-grid>div:first-child p,
    .releated-procedure-grid>div:last-child p {
        font-size: 15px;
        max-width: 100%;
    }

    .innerpage-cta .section-tag::before {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .common-hero h1 {
        font-size: 26px;
    }

    .releated-procedure-grid .num {
        font-size: 24px;
    }
}


@media (max-width: 1024px) {
    .common-hero:has(.procedure-details) {
        height: 480px;
    }

    .procedure-details>div {
        padding: 24px;
    }

    .how-works-sec {
        padding: 80px 40px;
    }

    .how-works-container .section-heading {
        margin-bottom: 50px;
    }

    .how-works-container .diff-list {
        gap: 50px;
    }

    .service-faq-section {
        padding: 40px 40px 80px;
    }

    .service-faq-item {
        padding: 24px 24px 24px 20px;
    }
}

@media (max-width: 767px) {
    .common-hero:has(.procedure-details) {
        height: 450px;
    }

    .procedure-details {
        width: calc(100% + 40px);
        margin: 0 -20px;
        margin-top: 40px;
    }

    .procedure-details>div {
        padding: 20px 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .procedure-details>div:last-child {
        border-bottom: none;
    }

    .procedure-details>div span:last-child {
        font-size: 18px;
    }

    .choose-grid-2 .choose-grid {
        grid-template-columns: 1fr;
    }

    .how-works-sec {
        padding: 60px 20px;
    }

    .how-works-container .section-heading {
        margin-bottom: 40px;
    }

    .how-works-container .diff-list {
        gap: 30px;
    }

    .service-faq-section {
        padding: 20px 20px 60px;
    }

    .service-faq-list {
        margin-top: 40px;
    }

    .service-faq-item {
        padding: 20px;
    }

    .service-faq-question {
        gap: 20px;
    }

    .service-faq-number,
    .service-faq-content span {
        font-size: 18px;
    }

    .service-faq-answer p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .how-works-container .diff-list {
        gap: 20px;
    }

    .service-faq-item {
        padding: 16px 20px;
    }

    .service-faq-question {
        gap: 15px;
    }

    .procedure-details>div span:last-child {
        font-size: 14px;
    }

    .procedure-details>div {
        padding: 16px 14px;
    }

    .service-faq-item {
        padding-left: 0;
        padding-right: 0;
    }
}