* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    position: relative;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(251, 253, 250, 0.9);
    z-index: -1;
    opacity: 0.4;
}

header {
    background: rgba(30, 165, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    animation: glowing 3s infinite;
    padding: 2.5rem 0;
    color: rgb(241, 5, 5);
    text-align: center;
    font-weight: bold;
    opacity: 0.7;
}

.header-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #01f1f1, #edf398, #ee0505);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlow 3s infinite, slideInFromLeft 1s ease-out forwards;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    transition: all 0.5s ease;
}

.header-content h1::after {
    content: 'CleanFamily';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    color: rgba(248, 80, 14, 0.979);
    filter: blur(10px);
}

.header-content h1:hover {
    animation: textGlow 1.5s infinite;
    transform: scale(1.15);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.hero {
    text-align: center;
    padding: 3rem 0;
    animation: textGlow 3s infinite;
    
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: bolder;
    
    
}

.cta-button, .submit-button {
    padding: 1rem 2rem;
    font-size: 1.7rem;
    border: none;
    border-radius: 5px;
    background-color: #41adec;
    color: rgb(245, 227, 227);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover, .submit-button:hover {
    background-color: #52fa28;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 30px #52fa28,
                0 0 50px #52fa28,
                0 0 70px #41adec;
}


.services {
    padding: 4rem 0;
}

.services h2 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #f6fbfd;
   
} 


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: rgb(252, 251, 251);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    background: rgba(62, 221, 14, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: glowing 3s infinite;
    transform-origin: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.1);
    animation: glowing 1.5s infinite;
}

.service-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #3498db, #2980b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.2) rotate(360deg);
}

.service-card h3 {
    margin: 1rem 0;
    color: #2c3e50;
}

.service-card p {
    margin-bottom: 1rem;
}


.contact {
    padding: 4rem 0;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #04ffff;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgb(248, 191, 3);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgb(208, 7, 248);
    animation: glowing 3s infinite;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #e4e1e1;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #2b9efc;
    outline: none;
}

footer {
    background-color: #0c0c0c;
    color: rgb(255, 250, 250);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

@media (max-width: 768px) {
   
    header {
        padding: 2rem 0;
    }

    .header-content h1 {
        font-size: 2.8rem;
    }

    .header-content p {
        font-size: 1rem;
    }

   
    .hero {
        padding: 2rem 0;
    }

    .hero h2 {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    .cta-button, .submit-button {
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
        width: 90%;
        max-width: 350px;
        white-space: normal;
        height: auto;
        line-height: 1.4;
    }

   
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card i {
        font-size: 2rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 1rem;
    }

    
    .contact {
        padding: 2rem 1rem;
    }

    .contact-form {
        padding: 1.5rem;
        width: 90%;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 1rem;
        padding: 0.8rem;
    }

    .price-list li {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
}


@media (max-width: 480px) {
    .header-content h1 {
        font-size: 2.2rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .cta-button, .submit-button {
        font-size: 1.1rem;
        padding: 0.7rem 1.2rem;
    }

    .service-card {
        margin: 0 0.5rem;
    }

    footer p {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}


@media (max-height: 600px) and (orientation: landscape) {
    header {
        padding: 1rem 0;
    }

    .header-content h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 1.5rem 0;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes glowing {
    0% { 
        box-shadow: 0 0 10px #3498db,
                    0 0 20px #3498db;
    }
    50% { 
        box-shadow: 0 0 30px #3498db,
                    0 0 50px #3498db,
                    0 0 70px #2980b9,
                    0 0 100px #2980b9;
    }
    100% { 
        box-shadow: 0 0 10px #3498db,
                    0 0 20px #3498db;
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 10px #01f1f1,
                     0 0 20px #01f1f1,
                     0 0 30px #01f1f1;
    }
    50% {
        text-shadow: 0 0 30px #01f1f1,
                     0 0 50px #01f1f1,
                     0 0 70px #edf398,
                     0 0 100px #ee0505,
                     0 0 150px #ee0505;
        transform: scale(1.1);
    }
    100% {
        text-shadow: 0 0 10px #01f1f1,
                     0 0 20px #01f1f1,
                     0 0 30px #01f1f1;
    }
}

.header-content h1,
.header-content p,
.hero h2,
.services h2,
.contact h2 {
    animation: slideInFromLeft 1s ease-out forwards;
}


.slideshow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.slideshow-container .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow-container .slide.active {
    opacity: 1;
}


.price-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    text-align: left;
}

.price-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.price-list li:last-child {
    border-bottom: none;
}

.price-list li:hover {
    transform: translateX(10px);
    color: #000000;
    font-weight: bold;
}
.button-container {
    margin: 20px 0;
    text-align: center;
}

.effect-button {
    background-color: #4CAF50; 
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    animation: blink 3s infinite;
    font-weight: bolder;

}

@keyframes blink {
    0% { background-color: #33e239; }
    25% { background-color: #901cfc; } 
    50% { background-color: #FFC300; } 
    75% { background-color: #1e0ffc; } 
    100% { background-color: #05ffff; }
}

