/* Hero Section */
.hero-section {
    height: 590px;
}

.hero-content {
    padding-bottom: 100px;
}

.section-heading {
    color: var(--text-dark);
    font-family: Gotham;
    font-size: 30px;
    font-style: normal;
    font-weight: 300;
    line-height: 44px;
    text-transform: uppercase;
}

/* Intro Section */
.intro-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 50px 70px 0;
    display: flex;
    gap: 64px;
}

.intro-section p {
    font-family: Gotham;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    text-align: center;
    color: var(--text-dark);
    max-width: 619px;
    margin: auto;
}

/* Gallery Section */
.gallery-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 70px;
    display: flex;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.filter-wrapper {
    width: 40%;
    max-width: 420px;
    border-radius: 12px;
    background: var(--gray-light);
    padding: 36px;
}

.filter-wrapper h6 {
    color: var(--text-dark);
    font-family: Gotham;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 37px;
    text-transform: uppercase;
    margin-bottom: 26px;
}

.custom-checkbox {
    color: #1E1E1E;
    font-family: Gotham;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    display: flex;
    gap: 20px;
    align-items: center;
    cursor: pointer;
    margin-bottom: 30px;
}

.filter-wrapper .custom-checkbox:last-child {
    margin-bottom: 0;
}

.custom-checkbox input {
    display: none;
}

.checkmark {
    display: flex;
    width: 29px;
    height: 29px;
    padding: 3px 2px 2px 3px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    border: 1px solid #000;
    transition: all 0.25s ease;
}

.checkmark img {
    width: 100%;
    transform: scale(0);
    transition: transform 0.2s ease;
}

.custom-checkbox input:checked+.checkmark {
    background: var(--primary-purple);
    border-color: transparent;
}

.custom-checkbox input:checked+.checkmark img {
    transform: scale(1);
}

.before-after-content {
    width: 60%;
    flex: 1;
}

.before-after-content h3 {
    color: var(--primary-purple);
    font-family: Gotham;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    text-transform: uppercase;
    margin-bottom: 26px;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}


.comparison-wrapper {
    position: relative;
    display: flex;
    height: auto;
    border-radius: 6px;
    overflow: hidden;
}

.comparison-image {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.comparison-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-image .label {
    position: absolute;
    bottom: 15px;
    left: 14px;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: var(--white);
}

.comparison-divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background-color: var(--white);
    z-index: 1;
}

.filter-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 15px;
}

.filter-toggle span {
    width: 24px;
    height: 2px;
    background: #111;
}

.filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 999;
    display: none;
}

.filter-close {
    position: absolute;
    top: 12px;
    right: 15px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    display: none;
}



/* Appointment Form Section */
.appointment-section {
    display: flex;
    gap: 50px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 70px;
    background: linear-gradient(180deg, rgba(129, 30, 161, 0.3) 0%, rgba(89, 78, 143, 0.3) 100%);
}

.appointment-image {
    flex-shrink: 0;
    width: 56%;
    height: auto;
    border-radius: 24px;
    overflow: hidden;
    align-self: center;
}

.appointment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.appointment-form-wrapper {
    width: 44%;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.appointment-form-wrapper h2 {
    font-family: Gotham;
    font-weight: 300;
    font-size: 32px;
    line-height: 48px;
    color: var(--text-dark);
}

.appointment-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.appointment-form input,
.appointment-form textarea {
    width: 100%;
    padding: 19px 24px;
    border: 1px solid var(--text-dark);
    border-radius: 56px;
    font-family: Gotham;
    font-weight: 300;
    font-size: 16px;
    color: var(--text-dark);
    background-color: transparent;
    outline: none;
}

.appointment-form textarea {
    border-radius: 20px;
    resize: none;
    min-height: 125px;
    padding-top: 20px;
}

.appointment-form input::placeholder,
.appointment-form textarea::placeholder {
    color: var(--text-dark);
    opacity: 1;
}

/* Map Section */
.map-section {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    margin-top: 70px;
}

.map-section iframe {
    width: 100%;
}

@media (max-width: 1440px) {

    .intro-section,
    .gallery-section,
    .appointment-section {
        padding-left: 40px;
        padding-right: 40px;
    }

    .hero-content {
        padding-bottom: 70px;
    }
}

@media (max-width:1200px) {
    .filter-wrapper {
        padding: 30px 24px;
    }

    .custom-checkbox {
        gap: 14px;
    }

    .checkmark {
        width: 25px;
        height: 25px;
    }

    .appointment-section {
        flex-direction: column;
    }

    .appointment-image {
        width: 100%;
        max-width: 750px;
    }

    .appointment-form-wrapper {
        width: 100%;
    }
}

@media (max-width:992px) {
    .filter-toggle {
        display: flex;
        padding-top: 4px;
    }

    .filter-wrapper {
        position: absolute;
        top: 50px;
        left: 40px;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateX(-100%);
        transition: all 0.4s ease;

        z-index: 1000;
    }

    .filter-wrapper.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
    }

    .filter-overlay.active {
        opacity: 1 !important;
        visibility: visible;
    }

    .filter-close,
    .filter-overlay {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 420px;
    }

    .gallery-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .intro-section {
        padding-top: 40px;
    }

    .before-after-grid {
        grid-template-columns: repeat(2, 90%);
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .before-after-grid::-webkit-scrollbar {
        display: none;
    }

.intro-section p{
font-size: 16px;
line-height: 20px;
}

.before-after-content h3, .filter-wrapper h6{
font-size: 18px;
line-height: 20px;

}

.before-after-content h3{
margin-bottom: 14px;
}

.comparison-image .label{
font-size: 14px;
line-height: 18px;
}

    .section-heading {
        font-size: 24px;
        line-height: 36px;
    }

    .map-section {
        margin-top: 50px;
    }

    .map-section iframe {
        height: 350px;
    }

.before-after-grid{
margin-bottom: 32px;
}
}

@media (max-width: 480px) {

    .intro-section,
    .gallery-section,
    .appointment-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .filter-wrapper {
        left: 20px;
    }

.before-after-grid{
margin-bottom: 20px;
}

.intro-section p{
font-size: 14px;
line-height: 18px;
}

.filter-wrapper h6{
font-size: 16px;
line-height: 20px;
}


.before-after-content h3{
margin-bottom: 8px;
}

.comparison-image .label{
font-size: 12px;
line-height: 16px;
}

    .section-heading {
        font-size: 20px;
        line-height: 24px;
    }

    .appointment-form-wrapper h2 {
        font-size: 24px;
    }

    .appointment-form input,
    .appointment-form textarea {
        padding: 15px 20px;
        font-size: 14px;
    }

}