/* cmsms stylesheet: styles-2 modified: 08/31/24 16:23:43 */
/* General Styles */
#firefly body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f9fc;
    color: #333;
}

#firefly header {
    background-image: linear-gradient(135deg, #6dd5ed, #2193b0);
    color: white;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#firefly header h1 {
    font-size: 3em;
    margin: 0;
    color: #ffdd57;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#firefly header p {
    font-size: 1.2em;
    margin-top: 10px;
    color: #ffffff;
}

#firefly main {
    padding: 20px;
}

#firefly section {
    display: flex;
    flex-wrap: wrap;
    padding: 40px 20px;
    margin: 20px auto;
    background-color: white;
    border-radius: 10px;
    max-width: 1200px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

#firefly .text-content {
    flex: 1;
    min-width: 300px;
}

#firefly .image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
}

#firefly .image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

#firefly h2 {
    color: #ff7e5f;
    font-size: 2em;
    margin-bottom: 20px;
    border-bottom: 4px solid #feb47b;
    display: inline-block;
}

#firefly ul {
    list-style: none;
    padding: 0;
}

#firefly ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #007acc;
    transition: color 0.3s ease;
}

#firefly ul li strong {
    color: #333;
}

#firefly ul li:last-child {
    border-bottom: none;
}

#firefly ul li:hover {
    color: #ff7e5f;
}

/* Gallery Styling */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* Default to 3 columns */
    gap: 20px;  /* Space between images */
    margin-top: 20px;
}

#firefly .gallery img {
    width: 100%;
    height: 200px;  /* Fixed height for consistency */
    object-fit: cover;  /* Cover the area, maintaining aspect ratio */
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#firefly .gallery img:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    #firefly .gallery {
        grid-template-columns: 1fr;  /* Switch to 1 column on screens <= 768px */
    }
}
