.contact-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 9999;
}

/* Inner sliding box */
.contact-inner {
    position: relative;
    background: #28a8b9;
    color: white;
    padding-block: 6rem;
    transform: translateY(-100%);
    transition: transform 0.5s ease; /* 5-second slide down */
}
@media(max-width: 87.5em) {
.contact-inner {
    padding-block: 3rem;
}
}
/* Overlay for closing */
.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

/* Close (X) button */
.contact-close-btn {
    position: absolute;
    top: 8%;
    right: 12%;
    background: transparent;
    border: none;
    font-size: 4rem;
    color: white;
    cursor: pointer;
    line-height: 1;
}
/* Active state */
.contact-panel.active {
    opacity: 1;
    pointer-events: auto;
}

.contact-panel.active .contact-inner {
    transform: translateY(0);
}


.c-popup {
    padding: 10px;
}
.c-popup:last-child {
    padding-top: 50px;
}
.c-popup img {
    width: 350px;
    margin-bottom: 36px;
}
@media(max-width: 61.25em) {
.contact-inner {
  padding-block: 6rem;
}
.contact-close-btn {
    top: 2%;
    right: 3%;
}
.c-popup img {
    margin-bottom: 0;
    width: 190px;
}
.c-popup p {
    font-size: 1rem;
}
} 