/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Body styles */
body {
    background-color: #121212;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Main container styles */
.container {
    background-color: #1c1c1c;
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Header styles */
header {
    background-color: #2d2d2d;
    color: #81c784;
    padding: 20px;
    text-align: center;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

header i {
    font-size: 30px;
}

/* Media upload area */
.media-area {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #444;
}

.custom-file-input {
    display: inline-block;
    padding: 12px 20px;
    background-color: #388e3c;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-file-input:hover {
    background-color: #2c6c32;
}

#media-input {
    display: none;
}

.media-preview {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.media-preview img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 8px;
    border: 2px solid #444;
}

/* Text input area */
textarea {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 16px;
    resize: none;
    outline: none;
    background-color: #333;
    color: white;
}

textarea:focus {
    border-color: #81c784;
    background-color: #444;
}

/* Send button */
.send-btn {
    width: 100%;
    background-color: #388e3c;
    color: white;
    border: none;
    padding: 15px;
    font-size: 18px;
    border-radius: 8px;
    margin-top: 15px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.send-btn:hover {
    background-color: #2c6c32;
}

.send-btn i {
    font-size: 20px;
}

/* Initially hide the contact form */
.contact-form {
    display: none;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

/* Styling for the button */
.toggle-button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.toggle-button:hover {
    background-color: #0056b3;
}

/* Transition effect for smooth expansion */
.contact-form {
    transition: max-height 0.5s ease-in-out;
    overflow: hidden;
    max-height: 0;
}

.contact-form.expanded {
    max-height: 1000px; /* or an appropriate max height */
}
