body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FFF8DC; /* Cornsilk background */
    color: #333;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    background-color: transparent; /* Removed orange background */
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Space between the logo and the heading */
}

.logo img {
    width: 150px; /* Adjusted logo size for prominence */
    height: auto;
    border-radius: 10px;
}

header h1 {
    margin: 0;
    font-size: 1.8em;
    color: #333;
}

.tagline {
    text-align: center;
    margin: 20px auto;
    padding: 20px;
    font-size: 1.5em;
    background-color: #FFF; /* White background for the tagline section */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    position: relative;
}

.tagline .shimmer {
    display: inline-block;
    position: relative;
    color: #333; /* Base text color */
    animation: rainbow-shimmer 4s infinite;
}

@keyframes rainbow-shimmer {
    0%, 100% {
        color: #FF6347; /* Start and end with tomato red */
    }
    17% {
        color: #FFD700; /* Gold */
    }
    33% {
        color: #ADFF2F; /* GreenYellow */
    }
    50% {
        color: #4682B4; /* SteelBlue */
    }
    67% {
        color: #DA70D6; /* Orchid */
    }
    83% {
        color: #FF69B4; /* HotPink */
    }
}

.intro, .features, .gallery {
    max-width: 1200px; /* Increased max-width for better spacing */
    margin: 20px auto;
    padding: 20px;
    text-align: center;
}

.intro h2, .features h2, .gallery h2 {
    color: #FF6347; /* Tomato red color for headings */
    margin-bottom: 20px; /* Added margin to separate heading from content */
}

.features h2 {
    margin-bottom: 40px; /* Ensured 20px gap after "Why Choose Us" heading */
}

.intro {
    margin-bottom: 10px; /* Reduced spacing after the intro section */
}

.features {
    background-color: #FFF; /* White background for the features section */
    padding: 40px 20px; /* Increased padding for better spacing */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.feature-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center align the features */
    gap: 30px; /* Increased gap between features for better spacing */
}

.feature-box {
    flex: 1 1 300px; /* Adjusted flex-basis for better spacing */
    padding: 20px;
    border: 2px solid #FF6347; /* Tomato red border */
    border-radius: 10px;
    background-color: #FFF8DC; /* Cornsilk background for boxes */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Ensures padding is included in the element's total width and height */
}

.feature-box h3 {
    color: #FF6347; /* Tomato red color for subheadings */
    margin-bottom: 10px;
}

.feature-box p {
    margin: 0;
    color: #555; /* Grey text color */
}

.feature-box:hover {
    transform: translateY(-5px); /* Slight lift effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.gallery {
    padding: 40px 20px;
    background-color: #FFF;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-btn {
    background: #FF6347;
    color: #FFF;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.gallery-btn:hover {
    background: #FF4500;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2em;
    color: #FFF;
    cursor: pointer;
}

#contact-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #FFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    text-align: center;
}

#contact-header.visible {
    transform: translateY(0);
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.contact-content h3 {
    margin: 0;
    font-size: 1.2em;
    color: #FF6347;
}

.contact-content p {
    margin: 0;
    font-size: 1em;
    color: #555;
}

.contact-content a {
    color: #FF6347;
    text-decoration: none;
}

.contact-content a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 10px 0; /* Reduced padding for a smaller footer */
    background-color: #FF6347; /* Tomato red background */
    color: #FFF;
    position: fixed;
    width: 100%;
    bottom: 0;
    font-size: 0.8em; /* Smaller font size */
}

/* Mobile Devices */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.5em;
    }

    .intro h2, .features h2, .gallery h2 {
        font-size: 1.2em;
    }

    .intro p, .feature-box p {
        font-size: 1em;
    }

    .intro, .features, .gallery {
        padding: 10px; /* Reduced padding for mobile devices */
    }

    .feature-box {
        flex: 1 1 100%; /* Full width for mobile devices */
    }

    footer {
        padding: 5px 0; /* Even smaller padding for mobile */
    }
}

/* Tablets */
@media (min-width: 601px) and (max-width: 1024px) {
    header h1 {
        font-size: 1.8em;
    }

    .intro h2, .features h2, .gallery h2 {
        font-size: 1.4em;
    }

    .intro p, .feature-box p {
        font-size: 1.1em;
    }

    .intro, .features, .gallery {
        padding: 15px; /* Adjusted padding for tablets */
    }

    .feature-box {
        flex: 1 1 45%; /* Two features per row on tablets */
    }

    footer {
        padding: 8px 0; /* Adjusted padding for tablets */
    }
}

/* Laptops and Larger Screens */
@media (min-width: 1025px) {
    header h1 {
        font-size: 2em;
    }

    .intro h2, .features h2, .gallery h2 {
        font-size: 1.6em;
    }

    .intro p, .feature-box p {
        font-size: 1.2em;
    }

    .intro, .features, .gallery {
        padding: 20px; /* Standard padding for larger screens */
    }

    .feature-box {
        flex: 1 1 300px; /* Adjusted flex-basis for better spacing */
    }

    footer {
        padding: 10px 0; /* Standard padding for larger screens */
    }
}
