/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Container */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

/* Header Styling */
header {
    position: relative;
    overflow: hidden; /* Ensure content is contained within the header */
}

/* Top Header with Logo and Social Media */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f4f4f4;
}

.logo {
    max-width: 150px; /* Adjusted for better scaling */
    height: auto;
}

.social-media-header a img {
    width: 40px; /* Increased size for larger icons */
    margin: 0 10px;
    transition: transform 0.3s;
}

.social-media-header a:hover img {
    transform: scale(1.2); /* Enlarge on hover */
}

/* Navigation Menu */
.main-nav {
    background-color: #295a8f;
    padding: 10px 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.main-nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 10px 15px;
    transition: background-color 0.3s;
}

.main-nav a:hover {
    background-color: #0056b3;
    border-radius: 5px;
}

/* Background Image with Animated Text */
.header-content {
    position: relative;
    width: 100%;
    height: 400px; /* Adjust height as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay effect */
}

.header-background {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7; /* Slight transparency for a dark effect */
    z-index: -1;
}

.animated-text {
    text-align: center;
    color: #fff;
}

.slogan, .highlighted-text {
    font-size: 2.5rem;
    margin: 10px 0;
    opacity: 0;
    animation: fadeIn 3s ease-in-out forwards;
}

.highlighted-text {
    font-size: 3rem;
    color: #ffffff; /* Highlight color */
    animation: fadeIn 3s ease-in-out 3s forwards;
}

.quote-button {
    background-color: #295a8f;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 15px;
}

.quote-button:hover {
    background-color: #0056b3;
}

/* Section Styles */
.about, .services, .gallery, .contact {
    padding: 20px;
    background: #fff;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-bottom: 15px;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.gallery-container img {
    width: 190px; /* Reduced width to make images smaller */
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Mobile Devices */
@media (max-width: 768px) {
    .gallery-container img {
        width: 100px; /* Smaller size for mobile screens */
    }

    .slogan, .highlighted-text {
        font-size: 1.5rem; /* Smaller text for mobile */
    }

    .header-content {
        height: 300px; /* Adjusted height for smaller screens */
    }

    .top-header {
        flex-direction: column; /* Stack logo and social icons */
        align-items: flex-start; /* Align items to the start */
    }

    .main-nav ul {
        flex-direction: column; /* Stack navigation items */
        align-items: center; /* Center navigation items */
    }

    .main-nav a {
        padding: 10px 5px; /* Adjust padding for smaller screens */
    }

    .quote-button {
        padding: 8px 15px; /* Smaller button for mobile */
        font-size: 14px; /* Smaller text size */
    }
}

/* WhatsApp Floating Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.whatsapp-button img {
    width: 28px;
    height: auto;
}

/* Footer Styling */
footer {
    text-align: center;
    padding: 20px;
    background: #333; /* Dark background */
    color: #fff;      /* White text */
}

footer p {
    color: #fdfdfd;
    font-size: 14px;
}

/* Animation Keyframes */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
