/* Highlight Section */
#highlight {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    color: white;
    position: relative;
    background-image: url('../assets/highlight_img.webp');
    background-size: cover;
    background-position: center;
    height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
}

.highlight-detail {
    padding: 2rem 3rem;
    width: 50%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.highlight-detail h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.highlight-detail p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

ul {
    padding-left: 0;
}

ul li {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

ul li span {
    margin-right: 10px;
    color: #E5BC5D;
    font-size: 1.5rem;
}

.connect-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E5BC5D;
    border-radius: 50px;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.connect-container:hover {
    background-color: #f0c769;
    transform: scale(1.05);
}

.connect-container .call-logo {
    background-color: white;
    color: black;
    border-radius: 50%;
    padding: 0.5rem;
    margin-right: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.connect-container:hover .call-logo {
    background-color: #e5bc5d;
    color: white;
    transform: rotate(15deg);
}

.connect-container h2 {
    margin: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    max-width: 600px;
    text-align: center;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    float: right;
}

.close:hover {
    color: red;
}

/* Responsive Adjustments */
@media (max-width: 960px) {
    #highlight {
        flex-direction: column-reverse;
        text-align: center;
        justify-content: center;
        height: auto;
    }

    .highlight-detail {
        width: 100%;
        height: auto;
        margin-bottom: 2rem;
        padding: 2rem 1rem;
    }

    .highlight-detail h2 {
        font-size: 2rem;
    }

    .highlight-detail p,
    ul li {
        font-size: 1rem;
    }

    .connect-container {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 500px) {
    .highlight-detail h2 {
        font-size: 1.5rem;
    }

    .highlight-detail p,
    ul li {
        font-size: 0.9rem;
    }

    .connect-container {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .connect-container .call-logo {
        padding: 0.3rem;
        margin-right: 0.5rem;
    }

    .connect-container .call-logo svg {
        width: 30px;
        height: 30px;
    }
}
