:root {
    --primary: #004643;
    --secondary: #F0EDE5;
    --black: #060D0C;
    --white: #FFFFFF;
}

@media (max-width: 1460px) {
    .contact-info-list {
        gap: 2rem;
    }
}

@media (max-width: 1400px) {
    .news-list .row .col-lg-4 {
        width: 50%;
    }
}

@media (max-width: 1200px) {
    .location .col-lg-7 {
        width: 100% !important;
    }

    .location .col-lg-5 {
        width: 100% !important;
    }

    #wayStepsSplide .way-step__image {
        max-height: 25rem;
    }

    #wayStepsSplide .way-step__image img {
        height: 100%;
        object-fit: cover;
    }

    .location iframe {
        height: 25rem;
    }

    .contact-info-list {
        gap: 4rem;
    }

    .gallery-masonry {
        grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
        grid-auto-rows: 16rem;
    }
}

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

@media (max-width: 991px) {
    .top-bar {
        display: none;
    }

    .footer-links {
        padding-left: 0rem;
    }

    .faq-accordion {
        padding-left: 0rem;
    }

    .news-list .row .col-lg-4 {
        width: 100%;
    }

    .faq .col-lg-6 {
        margin-top: 0 !important;
    }

    #faqAccordionRight .accordion-item:first-child {
        border-top: none;
    }

    .appointment-info-wrapper {
        padding: 2.5rem 2rem;
        border-radius: 2rem 2rem 0 0;
    }

    .appointment-image-wrapper {
        height: 25rem;
        border-radius: 0 0 2rem 2rem;
    }

    .working-hours-list {
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .footer-opening-hours-heading {
        justify-content: center;
        text-align: left;
    }

    .contact-info-list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-subpage {
        margin-bottom: 3rem;
    }

    .video-features {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 1.5rem;
    }

    .video-play-btn {
        width: 4rem;
        height: 4rem;
    }

    .video-play-btn i {
        font-size: 1.5rem;
    }

    section.our-team.sections .content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

}

@media (max-width: 768px) {
    .hero-subpage{
        align-items: flex-end;
    }
    .hero-subpage::before,.hero-subpage{
        border-radius: 0 !important;
    }
    .breadcrumb-wrapper {
        display: none;
    }

    .appointment-modal .modal-dialog {
        margin: 0.75rem;
    }

    .appointment-modal .modal-header {
        padding: 1.5rem 1.25rem 0.75rem;
    }

    .appointment-modal .modal-body {
        max-height: calc(100vh - 8rem);
        padding: 0 1.25rem 1.5rem;
    }

    .footer-main {
        padding: 3rem 0;
    }

    .hero {
        height: 60vh;
        margin: 0;
        border-radius: 0;
    }

    .hero-inner .kicker {
        display: none;
    }

    .hero-inner {
        padding: 0 1rem;
    }

    .hero-inner h1 {
        font-size: 3.25rem;
    }

    .content h2 {
        font-size: 2rem;
    }

    .team-members-grid {
        grid-template-columns: none;
        gap: 0;
    }

    .team-member-wrapper:nth-child(2) {
        margin-top: 0rem;
    }

    .request-type-grid {
        grid-template-columns: 1fr;
    }

    .team-detail-media {
        height: 22rem;
    }

    .team-detail-media--section {
        height: 28rem;
    }

    .team-detail-gallery-item,
    .team-detail-gallery-item--full {
        height: 24rem;
    }

    .hero-inner .secondary-outline-btn {
        display: none;
    }

    .appointment-image-wrapper {
        height: 20rem;
    }

    .appointment-info-wrapper {
        padding: 2rem 1.25rem;
    }

    .working-hours-item {
        padding: 1rem 0;
    }

    .working-day,
    .working-time {
        font-size: 1rem;
    }

    .contact-icon {
        width: 3rem;
        height: 3rem;
        min-width: 3rem;
    }

    .contact-icon i {
        font-size: 1.5rem;
    }

    .contact-title {
        font-size: 0.875rem;
    }

    .contact-text {
        font-size: 0.9375rem;
    }

    .appointment .content h2 {
        font-size: 1.75rem;
    }

    .gallery-masonry {
        grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
        grid-auto-rows: 15rem;
        gap: 0.75rem;
    }

    .gallery-overlay i {
        font-size: 2rem;
    }

    .news-header {
        gap: 0.75rem;
        align-items: center;
        padding: 1.5rem 1.5rem 1rem;
    }

    .news-body {
        padding: 0 1.5rem;
        padding-bottom: 4rem;
    }

    .news-body h3 {
        font-size: 1.125rem;
    }

    .news-body p {
        font-size: 0.875rem;
    }

    .video-features {
        padding: 1.5rem;
        gap: 1rem;
    }

    .feature-icon {
        width: 3rem;
        height: 3rem;
        min-width: 3rem;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .feature-content h4 {
        font-size: 1rem;
    }

    .feature-content p {
        font-size: 0.8125rem;
    }

    .video-play-btn {
        width: 3.5rem;
        height: 3.5rem;
    }

    .video-play-btn i {
        font-size: 1.25rem;
    }

    .pricing-panel-header {
        padding: 0 0 1.25rem;
    }

    .pricing-row {
        grid-template-columns: minmax(0, 1fr);
        padding: 1rem 0;
    }

    .pricing-row-price {
        text-align: left;
    }
}

@media (max-width: 590px) {
    .hero-inner h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        align-items: flex-end;
    }

    .hero-inner {
        padding: 2rem 1rem;
    }
}

@media (max-width: 576px) {
    .error-page .content {
        padding: 0;
    }

    .about-us-media {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .about-us-point {
        flex-wrap: wrap;

    }

    .point-icon {
        width: 3rem;
        height: 3rem;
        min-width: 3rem;
    }

    .point-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }

    .point-content {
        flex: 1;
    }

    .point-content h3 {
        margin-top: 0;
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }

    .point-content p {
        width: 100%;
        margin-top: 0.5rem;
    }

    .appointment-form-inner {
        padding: 2rem 1rem;
    }

    .sections {
        margin-bottom: 3rem !important;
    }

    .gallery,
    .services,
    .price-list {
        padding: 3rem 0;
    }

    .appointment-image-wrapper {
        height: 18rem;
    }

    .appointment-info-wrapper {
        padding: 1.5rem 1rem;
    }

    .working-hours-list {
        margin-bottom: 1.5rem;
    }

    .working-hours-item {
        padding: 0.75rem 0;
    }

    .footer-opening-hours {
        padding-top: 2.5rem;
    }

    .footer-opening-hours-inner {
        padding-bottom: 2rem;
    }

    .footer-opening-hours-heading {
        justify-content: flex-start;
    }

    .footer-hours-card {
        min-height: auto;
    }

    .contact-info-item {
        gap: 1rem;
    }

    .appointment .content {
        margin-bottom: 1.5rem;
    }

    .appointment .content h2 {
        font-size: 1.5rem;
    }

    .appointment-divider-left,
    .appointment-divider-right {
        display: none;
    }

    .hero-subpage {
        min-height: 15rem;
        padding: 2rem 0;
    }

    .hero-subpage-title {
        font-size: 2rem;
    }

    .hero-subpage-subtitle {
        font-size: 0.875rem;
    }

    .breadcrumb {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .breadcrumb-item+.breadcrumb-item::before {
        padding: 0 0.375rem;
    }

    .gallery-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 15rem;
        gap: 0.75rem;
    }

    .gallery-item-tall {
        grid-row: span 1;
    }

    .gallery-item-wide {
        grid-column: span 1;
    }

    .breadcrumb-wrapper svg {
        height: 24px;
    }

    .hero-divider-left {
        left: -1.25rem;
    }

    .hero-divider-right {
        right: -1.25rem;
    }

    .breadcrumb-wrapper {
        display: none;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .footer-bottom-inner .d-flex {
        text-align: center;
    }
}

@media (max-width: 495px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .appointment-modal .modal-title {
        font-size: 1.35rem;
    }

    .modal-subtitle {
        font-size: 0.875rem;
    }

    .appointment-image-wrapper {
        height: 15rem;
    }

    .working-day,
    .working-time {
        font-size: 0.9375rem;
    }

    .contact-icon {
        width: 2.5rem;
        height: 2.5rem;
        min-width: 2.5rem;
    }

    .contact-icon i {
        font-size: 1.25rem;
    }

    .appointment .content h2 {
        font-size: 1.375rem;
    }
}

@media (max-width: 470px) {
    .hero-inner h1 {
        font-size: 2rem;
    }
}

@media (max-width: 395px) {
    .hero-inner h1 {
        font-size: 1.75rem;
    }

    .content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 375px) {
    .appointment-info-wrapper {
        padding: 1.25rem 0.875rem;
    }

    .appointment-image-wrapper {
        height: 12.5rem;
    }

    .working-hours-item {
        padding: 0.625rem 0;
    }

    .working-day,
    .working-time {
        font-size: 0.875rem;
    }

    .contact-title {
        font-size: 0.8125rem;
    }

    .contact-text {
        font-size: 0.875rem;
    }

    .appointment .content h2 {
        font-size: 1.25rem;
    }

    .contact-form .form-control {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .hero-subpage {
        min-height: 18rem;
        padding: 3rem 0;
        margin-bottom: 3rem;
    }

    .hero-subpage-title {
        font-size: 2.5rem;
    }

    .hero-subpage-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .breadcrumb {
        padding: 0.625rem 1.5rem;
        font-size: 0.8125rem;
    }
}