

button {
    padding: 12px 30px;
    background-color: #28a745;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin: 20px auto;
}

button:hover {
    background-color: #218838;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.5s;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.5s;
}

/* Close Button */
.close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #000;
}

/* Form Styling */
.modal-content h2 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-content button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

.modal-content button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Slider Layout */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    flex: 1 1 calc(33.333%);
    min-width: calc(33.333%);
    padding: 10px;
}

.box-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.box-item img {
    border-radius: 50%;
    margin-bottom: 10px;
    width: 70px;
    height: 70px;
}

/* Stats */
.stats {
    background-color: #f1f1f1;
    padding: 30px 0;
    text-align: center;
}

.stats-item {
    display: inline-block;
    margin: 10px 15px;
    padding: 15px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .modal-content {
        padding: 15px;
    }

    button {
        font-size: 14px;
        padding: 10px 25px;
    }

    .slide {
        flex: 1 1 calc(50%);
        min-width: calc(50%);
    }

    .stats-item {
        margin: 10px 5px;
    }
}

@media (max-width: 576px) {
    .slide {
        flex: 1 1 100%;
        min-width: 100%;
    }

    button {
        font-size: 12px;
        padding: 8px 20px;
    }

    .modal-content {
        width: 95%;
    }

    .stats-item {
        margin: 10px 0;
    }
}
