/* Base Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #fafafb, #f4f4f4, #ffffff);
    background-size: 200% 200%;
    animation: gradientAnimation 10s ease infinite;
    color: #333;
}

/* Responsive Header */
header {
    background: linear-gradient(135deg, #c2caf5, #f464c9, #a50ac0);
    background-size: 200% 200%;
    animation: gradientAnimation 10s ease infinite;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

/* Container */
.container {
    width: 80%;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 10px 0;
}

/* Typography */
h1 {
    font-size: 30px;
    margin: 0;
    text-align: center;
}

h2 {
    color: #002d5b;
}

footer {
    background-color: #4a9adf;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

/* Flexbox Layout for Contact Details and Map */
.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Allows child elements to stretch */
    gap: 20px;
}

/* Contact Details */
.contact-details {
    flex: 1; /* Allows this section to grow */
    min-width: 300px; /* Minimum width for flexibility */
    padding: 20px; /* Added padding for better spacing */
    background-color: #f9f9f9; /* Optional background for differentiation */
    border-radius: 5px; /* Optional rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow */
}

/* Map Section */
.map {
    flex: 1; /* Allows this section to grow */
    min-width: 300px; /* Minimum width for flexibility */
    height: 400px; /* Fixed height for map */
    border-radius: 5px; /* Optional rounded corners */
    overflow: hidden; /* Optional overflow hidden */
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
    transition: transform 0.2s ease-in-out, background-color 0.3s ease-in-out;
    z-index: 1000;
}

.whatsapp-icon {
    width: 205px;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); }
    50% { transform: scale(1.1); box-shadow: 0 0 20px rgba(0, 0, 0, 0.4); }
    100% { transform: scale(1); box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); }
}

/* Buttons */
.button {
    display: block;
    padding: 10px 180px;
    font-size: 16px;
    color: white;
    background-color: #4a9adf;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #3b8ac9;
}

/* Gradient Animation */
@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Media Queries for Responsive Design */

/* For Large Desktops (1440px and above) */
@media (min-width: 1440px) {
    .container {
        width: 70%;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    .flex-container {
        gap: 30px;
    }

    .button {
        padding: 10px 200px;
    }
}

/* For Standard Desktops (1024px to 1440px) */
@media (max-width: 1440px) {
    .container {
        width: 80%;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 24px;
    }

    .button {
        padding: 10px 180px;
    }
}

/* Tablets and smaller desktops */
@media (max-width: 1024px) {
    .container {
        width: 90%;
    }

    .flex-container {
        flex-direction: column;
        gap: 10px;
    }

    .contact-details, .map {
        width: 100%;
        height: auto; /* Allow height to adjust */
    }

    .button {
        padding: 10px 100px;
    }

    h1 {
        font-size: 24px;
    }
}

/* Mobile Phones */
@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }

    .container {
        width: 95%;
    }

    .flex-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .contact-details, .map {
        width: 100%;
        height: auto; /* Allow height to adjust */
    }

    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 20px;
    }

    .button {
        padding: 10px 50px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
    }

    .whatsapp-icon {
        width: 25px;
    }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
    h1 {
        font-size: 18px;
    }

    h2 {
        font-size: 18px;
    }

    .button {
        padding: 10px 30px;
    }

    .whatsapp-float {
        width: 45px;
        height: 45px;
    }

    .whatsapp-icon {
        width: 20px;
    }
}
