@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

.contact-popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

.popup-content {
    background-color: #fff;
    padding: 40px;
    border: 1px solid #FFAF61;
    width: 90%;
    max-width: 500px;
    text-align: left;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: #fff;
}

.popup-content h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: #1b1b1b;
    font-weight: 600;
}

.close-popup {
    color: #666;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
    transition: color 0.3s ease;
}

.close-popup:hover,
.close-popup:focus {
    color: #fff;
}

.contact-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    margin-bottom: 20px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}

.contact-list li a {
    color: #1b1b1b;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.contact-list li a:hover .contact-text {
    color: #FFAF61; /* Color change only on hover for the contact info */
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    font-size: 1.2em;
    color: #FFAF61;
}

.contact-title {
    color: #1b1b1b; /* Ensure title stays black */
    font-weight: bold;
    margin-right: 5px;
}

.contact-text {
    color: inherit; /* Inherits the default text color */
}

@media (max-width: 600px) {
    .popup-content {
        width: 95%;
        padding: 30px;
    }

    .popup-content h2 {
        font-size: 2em;
    }

    .contact-list li {
        font-size: 1em;
    }
}
