/* Global Styles */

header {
    background-color: #333;
    color: #FEFCFF;
    text-align: center;
    padding: 1rem 0;
}

.contact-form,
.contact-details,
.map-section {
    background-color: #FEFCFF;
    margin: 20px auto;
    padding: 20px;
    max-width: 800px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    /* Rounded corners for containers */
}

.contact-form h2,
.contact-details h2,
.map-section h2 {
    margin-bottom: 15px;
    /* Increased margin for better spacing */
    color: #333;
}

form {
    display: grid;
    gap: 15px;
    /* Increased gap between form elements */
}

.form-group {
    display: grid;
    gap: 10px;
}

label {
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: calc(100% - 20px);
    /* Adjusted width with padding accounted for */
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    /* Slightly increased font size for better readability */
}

button {
    background-color: #333;
    color: #FEFCFF;
    border: none;
    padding: 12px 24px;
    /* Increased padding for button */
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
}

button:hover {
    background-color: #555;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.social-media {
    margin-top: 15px;
    /* Increased margin for social media icons */
}

.social-icon {
    font-size: 28px;
    /* Larger size for social media icons */
    color: #333;
    margin-right: 15px;
}

.map-section iframe {
    width: 100%;
    height: 400px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

/* Responsive adjustments */

/* Styles for screens between 768px and 1023px (Tablets - Landscape) */
@media (min-width: 768px) and (max-width: 1023px) {

    .contact-form,
    .contact-details,
    .map-section {
        max-width: 600px;
        margin: 15px auto;
    }
}

/* Styles for screens up to 767px (Phones) */
@media (max-width: 767px) {

    .contact-form,
    .contact-details,
    .map-section {
        max-width: 400px;
        margin: 10px auto;
        padding: 15px;
    }

    .social-icon {
        font-size: 24px;
        /* Adjusted size for smaller screens */
    }

    .map-section iframe {
        height: 300px;
    }
}

/* WhatsApp Chat Styles */
.whatsapp-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .whatsapp-chat img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    cursor: pointer;
  }
  
  .whatsapp-chat img:hover {
    transform: scale(1.1);
  }
  
  #whatsapp-popup {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
  
  #whatsapp-popup.hidden {
    display: none;
  }
  
  #whatsapp-message {
    width: 250px; /* Increased width */
    height: 40px; /* Increased height */
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px; /* Increased font size */
  }
  
  #send-button {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 10px 15px; /* Adjusted padding */
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  #send-button:hover {
    background-color: #20c256;
  }