/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: capitalize;
}

body {
    font-family: 'Playfair Display', serif;
    background-color: #e2dcdc;
    margin: 0;
    color: #333;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .g {
    font-size: 2em; /* Default font size */
    color: #333;
    text-align: center;
}

.menu-icon {
    cursor: pointer;
    font-size: 28px;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    position: fixed;
    top: 80px; /* Ensure it appears below the header */
    width: 100%;
    transition: max-height 0.3s ease-out;
    max-height: 0; /* Hidden by default */
    overflow: hidden;
    z-index: 999; /* Ensure it appears above other content */
    visibility: hidden;
}

.navbar.active {
    max-height: 300px; /* Adjust this value as necessary */
    visibility: visible;
}

/* Navbar Links */
.navbar a {
    text-decoration: none;
    color: black;
    padding: 10px 15px;
    text-transform: capitalize;
    transition: border-bottom 0.3s ease, margin-bottom 0.3s ease;
    display: block;
    text-align: left;
    width: 100%;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        top: 100px;
    }

    header .g {
        font-size: 1.4em; /* Updated font size for mobile */
    }

    .navbar a {
        font-size: 1.4em; /* Increase navbar link text size on mobile */
    }
}

/* Image and Content Styles */
.container {
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin: 100px auto 0 auto; /* Adjust margin-top to account for the fixed header */
}

.image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Aspect ratio 1:1 */
    overflow: hidden;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area of the container */
}

.content-container {
    margin-top: 20px;
    font-size: 18px;
}

#read-more {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    cursor: pointer;
    text-decoration: none;
}

#read-more:hover {
    text-decoration: underline;
}
/* Call Us Button Styles */
/* Call Us Button Styles */
.call-us {
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
}

.call-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #de0f0f;
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 28px; /* Adjusted text size for better responsiveness */
    margin: 3%;
    width: 100%; /* Full width */
    max-width: 400px; /* Set a maximum width to ensure it doesn't get too large */
    box-sizing: border-box;
}

.call-button .material-symbols-outlined {
    font-size: 40px; /* Adjusted icon size */
    vertical-align: middle;
    margin-right: 10px; /* Space between icon and number */
}

.call-button span {
    line-height: 1;
    display: flex;
    align-items: center;
    width: auto;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .call-button {
        font-size: 24px; /* Slightly reduce font size on smaller screens */
        padding: 12px 18px; /* Adjust padding for smaller screens */
        max-width: 90%; /* Allow the button to be more flexible in width */
    }

    .call-button .material-symbols-outlined {
        font-size: 35px; /* Adjust icon size for smaller screens */
        margin-right: 8px; /* Adjust space between icon and number */
    }
}

@media screen and (max-width: 480px) {
    .call-button {
        font-size: 20px; /* Further reduce font size for very small screens */
        padding: 5px 15px;
        max-width: 100%; /* Allow full width on very small screens */
    }

    .call-button .material-symbols-outlined {
        font-size: 30px; /* Further adjust icon size */
        margin-right: 6px;
    }
}
/* .call-button CSS ends here */

/* phone Icon */
.phone-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 50%;
    height: 60px;
    width: 60px;
    cursor: pointer;
    z-index: 1001;
    animation: phoneIconAnimation 1s infinite;
}

@keyframes phoneIconAnimation {
    0% {
        right: 20px;
    }

    50% {
        right: 40px;
    }

    100% {
        right: 20px;
    }
}
.services {
    padding: 50px 20px;
    text-align: center;
}

.services h1 {
    font-size: 36px;
    margin-bottom: 30px;
}

.service {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 1s ease, opacity 1s ease;
}

.service:nth-child(even) {
    flex-direction: row-reverse;
    transform: translateX(100%);
}

.service img {
    width: 50%;
    height: auto;
    border-radius: 10px;
}

.service-content {
    flex: 1;
    padding: 20px;
    text-align: left;
}

.service-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.service-content p {
    font-size: 18px;
    line-height: 1.6;
}

/* Activated Animation */
.service.active {
    opacity: 1;
    transform: translateX(0);
}

@media screen and (max-width: 768px) {
    .service {
        flex-direction: column;
    }

    .service:nth-child(even) {
        flex-direction: column;
    }

    .service img {
        width: 100%;
    }
}
/* About Us Section Styles */
main {
    margin-top: 120px; /* Adjust for header and navbar */
    padding: 20px;
}

.about-us {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffdada;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.about-us h1 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

.about-us h2 {
    font-size: 1.5em;
    margin-top: 20px;
    color: #ff0000;
}

.about-us p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-us ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.about-us li {
    margin-bottom: 10px;
}

.about-us strong {
    font-weight: bold;
}

.about-us a {
    color: #007bff;
    text-decoration: none;
}

.about-us a:hover {
    text-decoration: underline;
}
/* Contact Us Section Styles */
.contact-us {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffdada;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-us h1 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phone-icon-container {
    margin-bottom: 10px;
}

.phone-icon-container .material-symbols-outlined {
    font-size: 40px;
    color: #007bff;
}

.phone-info {
    margin-bottom: 20px;
}

.phone-info p {
    margin: 0;
}
.call-button{
    font-family: 'Times New Roman', Times, serif;
}

.phone-info a {
    color: #ffffff;
    text-decoration: none;
}

.phone-info a:hover {
    text-decoration: underline;
}

.location-icon-container {
    margin-bottom: 20px;
}

.location-icon-container .material-symbols-outlined {
    font-size: 40px;
    color: #007bff;
}

.map-container {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1; /* Ensures square aspect ratio */
    margin: 0 auto;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}
/* Footer Styles */
footer {
    background-color: #ffdada;
    padding: 20px;
    text-align: center;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.1);
}

footer p {
    margin: 0;
}
