.learn-more {
    display: inline-block;
    background-color: #007BFF;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
    transition: 0.3s ease;
}

.learn-more:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Modal Background */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0;
}

/* Modal Box */
.modal-content {
    background-color: #fff;
    margin: 0 auto 20px auto;
    padding: 50px 60px;
    border-radius: 18px;
    width: 95%;
    max-width: 1200px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    font-size: 1.25rem;
    line-height: 1.8;
}

/* Modal Title */
.modal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #2c3e50;
}

/* Modal Text */
.modal-content p {
    margin-bottom: 15px;
    color: #444;
}

/* Modal List */
.modal-content ul {
    padding-left: 30px;
    margin-top: 15px;
}

.modal-content li {
    margin-bottom: 10px;
    font-size: 1.2rem;
    list-style-type: disc;
    color: #333;
}

/* Modal Close Button */
.close-btn {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}

.close-btn:hover {
    color: #000;
}

/* General Contact Button */
.contact-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 12px 24px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Contact Button Hover Effect */
.contact-btn:hover {
    background-color: #0056b3;
    transform: scale(1.03);
}

/* NEW: Modal Buttons Layout */
.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
    align-items: center;
}

.modal-buttons .contact-btn {
    width: 70%;
    max-width: 320px;
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .modal {
        padding: 10px 0;
    }

    .modal-content {
        width: calc(100% - 20px);
        margin: 10px auto;
        padding: 60px 20px 30px 20px;
        border-radius: 12px;
        font-size: 1rem;
        line-height: 1.6;
    }

    .modal-content h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        padding-right: 30px;
    }

    .modal-content p {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .modal-content li {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .modal-content ul {
        padding-left: 20px;
        margin-top: 10px;
    }

    .close-btn {
        font-size: 32px;
        right: 15px;
        top: 15px;
        padding: 5px;
        min-width: 40px;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
    }

    .contact-btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .modal-buttons .contact-btn {
        width: 100%;
        max-width: 100%;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .modal-content {
        padding: 55px 15px 25px 15px;
        font-size: 0.95rem;
    }

    .modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .modal-content li {
        font-size: 0.9rem;
    }
}
