.transformation-section {
    padding: 10px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.section-title {
    font-size: 3rem; /* Base font size for mobile */
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.section-subtitle {
    font-size: 1.5rem; /* Base font size for mobile */
    margin-bottom: 20px;
    color: #555;
}

.benefits {
    text-align: left;
    margin: 0 auto 30px;
    max-width: 600px;
    font-size: 1.3rem; /* Base font size for mobile */
    color: #555;
}

.benefits p {
    margin-bottom: 15px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #007bff;
    color: #fff;
    font-size: 1.2rem; /* Base font size for mobile */
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

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

.image-gallery {
    margin-top: 40px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    padding: 10px;
}

.image-item {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.image-item:hover {
    transform: scale(1.05);
}

.hover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 123, 255, 0.7);
    color: #fff;
    padding: 10px 15px;
    font-size: 1.3rem; /* Base font size for mobile */
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 5px;
}

.image-item:hover .hover-text {
    opacity: 1;
}

/* Desktop specific styles */
@media (min-width: 768px) {
    .section-title {
        font-size: 3rem; /* Larger font size for desktop */
    }

    .section-subtitle {
        font-size: 1.8rem; /* Larger font size for desktop */
    }

    .benefits {
        font-size: 1.4rem; /* Larger font size for desktop */
    }

    .cta-button {
        font-size: 1.5rem; /* Larger font size for desktop */
    }

    .hover-text {
        font-size: 1.5rem; /* Larger font size for desktop */
    }
}
