/* Base styles for small screens */
html, body {
    margin: 0;
    padding: 0;
}

* {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    box-sizing: border-box;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    z-index: 1000;
    position: fixed;
    width: 100%;
    overflow-x: hidden;
    border-bottom: 4px solid #e073b4; /* Add a 2px solid border with color #7D0E43 */
    box-shadow: 0 4px 0 #7D0E43; /* Second "floating" border using shadow */
}

nav .sidebar {
    display: none;
}

@media (max-width: 1024px) {
    nav .sidebar {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        background-color: white;
        padding: 0vh;
        z-index: 1001;
        margin: 0;
        width: 100%; /* Ensure the sidebar takes up the full width of the screen */
        height: 100%; /* Make sure it takes up the entire vertical space */
    }

    nav .sidebar li {
        padding: 15px 0; /* Vertical padding (top and bottom) */
    }

    nav .sidebar ul {
        list-style-type: none; /* Optional: Remove default bullets */
        padding: 0; /* Remove default padding */
    }

    /* When the sidebar is visible, hide the menu icon */
    nav.sidebar-visible .menu-icon {
        display: none;
    }
    nav.sidebar-visible .logo{
        display: none;
    }
    
}

@media (max-width: 480px) {
    nav .sidebar {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        background-color: white;
        padding: 0vh;
        z-index: 1001;
        margin: 0;
        width: 100%; /* Ensure the sidebar takes up the full width of the screen */
        height: 100%; /* Make sure it takes up the entire vertical space */
    }

    nav .sidebar li {
        padding: 15px 0; /* Vertical padding (top and bottom) */
    }

    nav .sidebar ul {
        list-style-type: none; /* Optional: Remove default bullets */
        padding: 0; /* Remove default padding */
    }

    /* When the sidebar is visible, hide the menu icon */
    nav.sidebar-visible .menu-icon {
        display: none;
    }
    nav.sidebar-visible .logo{
        display: none;
    }
}

nav .logo img {
    max-height: 120px;
    width: auto;
}

nav .menu-icon {
    display: none;
}

nav .nav-items {
    display: flex;
    justify-content: center; /* Center navigation items */
    gap: 20px; /* Space between nav items */
}

nav .phone {
    width: auto;
}

nav a {
    color: #7D0E43;
    padding: 0.5rem;
    font-weight: bold;
    text-decoration: none;
    font-size: large;
    transition: color 0.3s ease; /* Smooth transition for color change */
    white-space: nowrap;
}

nav a:hover {
    color: #e073b4; /* Change color on hover */
}

.mobile-phone {
    display: none;
}

@media (max-width: 1024px) {
    nav {
        width: 100%; /* Ensure the navbar doesn't exceed the viewport width */
        overflow-x: hidden; /* Hide any overflow */
        /* overflow-y: hidden; */
        padding: 1vh 10%; /* Adjust padding to fit better on smaller screens */
        will-change: transform;
        justify-content: space-between;
    }
    nav .menu-icon {
        display: block;
        background-color: #e073b4;
        padding: 2vw;
        color: white;
        cursor: pointer;
    }
    nav .phone {
        display: none;
    }
    nav .nav-items {
        display: none;
    }
}



.house-container, .house-container2{
    width: 100%;
    height: 100vh;
    display: inline-block;
}
.background-img, .background-img2 {
    width: 100%;
    height: 100vh; /* Ensure the image fills the container */
    object-fit: cover; /* Scale the image properly to fit the container */
}

.centered-img {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the image both horizontally and vertically */
    max-height: 50vh; /* Adjust based on your navbar height */
    height: auto;     /* Maintain aspect ratio */
    width: auto;      /* Ensure it doesn't stretch horizontally */
    border-radius: 200px;
    background-color: #FFFFFF;
    opacity: 0; /* Start with invisible image */
    animation: fadeIn 2s ease-in-out forwards; /* Apply fade-in animation */
}

/* Fade-in Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.75; /* Adjust the final opacity as desired */
    }
}

.welcome-bar {
    background: transparent url("pcs-images/grey.png") 0 0 repeat-x;
    padding: 3em 0;
    text-align: center;
    color: #7D0E43;
}

/* Intro Section Styles */
.intro-bar {
    display: flex;
    align-items: center; /* Vertically centers the items */
    justify-content: space-between; /* Ensures space between text and image */
    padding: 5vw 5vw; /* Adds padding that scales with viewport width */
    gap: 5vw
}

.intro-img img {
    width: 40vw; /* Makes the image width 50% of the viewport width */
    height: auto; /* Maintains aspect ratio */
    max-height: 100%; /* Ensure it doesn't stretch beyond its container */
    border: 5px solid #7D0E43;
    border-radius: 10px;
}

@media (max-width: 480px) {
    
}

@media (max-width: 1024px) {
    .intro-bar {
        flex-direction: column; /* Stack the items vertically */
        justify-content: center; /* Center items vertically */
        padding: 2vh 5vw;
        display: block;
    }

    .intro-img img {
        width: 100%; /* Makes the image width 50% of the viewport width */
    }
    .background-img {
        width: 100%;
    }
    /* .house-container2{
        
        width: 10px;
        height: 10px;
    }
    .background-img2 {
        width: 100%;
        object-fit:contain; /* Scale the image properly to fit the container */
    /* } */

    .house-container2 {
        display: flex; /* Center align the image */
        align-items: center; /* Center vertically if necessary */
        justify-content: center; /* Center horizontally */
        width: 100%; /* Full viewport width */
        height: auto; /* Adjust height based on the image */
        padding: 0; /* Remove any padding */
        margin: 0; /* Remove any margin */
    }

    /* Adjust .background-img2 to just show the image with contain scaling */
    .background-img2 {
        width: 100%; /* Full width of container */
        height: auto; /* Maintain aspect ratio */
        object-fit: contain; /* Scale image to fit within container */
        margin: 0; /* Remove any margin */
        padding: 0; /* Remove any padding */
    }

}


.intro-text,
.intro-text2 {
    flex: 1; /* Takes up available space */
    color: #e073b4;
    justify-content: center;
}

.intro-text h2,
.intro-text2 h2 {
    text-align: center;
}

.intro-text p,
.intro-text2 p {
    color: gray;
    line-height: 1.5; /* Double space the lines in the paragraph */
    margin-top: 10px;
}

/* index SERVICES */
.services-header {
    display: flex;
    text-align: center;
    color: #7D0E43;
    background-color: rgba(211, 211, 211, 0.09);
    height: 15vh;
    align-items: center;
    justify-content: center;
}

.services-overview {
    padding: 10vh 2vw; /* Adds space inside the top and bottom of the container */
    display: flex;
    justify-content: space-around;
    background-color: #fff;
    color: #7D0E43;
}

.service {
    width: 30%;
    text-align: center;
}

.service h3 {
    text-align: center;
    color: #e073b4;
}

.service p {
    color: gray;
}

/* Icon Styles */
.icon {
    font-size: 10vw; /* Medium size */
    color: #e073b4; /* Customize the color */
}

/* index MAP */
.map-container {
    display: flex;
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center (optional) */
    padding: 5vh 5vw;
    height: auto;
}

.map-container img {
    width: 90vw; /* Makes the image width 50% of the viewport width */
    height: auto; /* Maintains aspect ratio */
    max-height: 100%; /* Ensure it doesn't stretch beyond its container */
    border: 5px solid #7D0E43;
    border-radius: 10px;
}

/* Action Section Styles */
.action-con {
    display: flex;
    align-items: center; /* Vertically centers the items */
    justify-content: center;  
    position: relative;   
    flex-direction: column;
}

.action-con h2 {
    text-align: center;
    color: #e073b4; /* Customize the color */
    font-style: italic;
    font-size: 8vh;
}

.action-con p {
    text-align: center;
    margin-top: 10px;
    color: gray; /* Customize the color */
    font-style: italic;
    font-size: 5vh;
}


@media (max-width: 1024px) {
    .action-con h2 {
        font-size: 5vh;
    }
    
    .action-con p {
        font-size: 4vh;
    }
    .map-container img {
        width: 100vw; 
    }
}

/* Footer Styles */
footer {
    padding: 2vh;
    background-color: #7D0E43;
    color: white;
    text-align: center;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* ABOUT US */
.bg-overlay-container {
    padding-top: 18vh;
    width: 100%;
    position: relative;
}

.bg-overlay {
    width: 100%;
    height: 100%; /* Ensure the image takes up the full height */
    object-fit: cover; /* Ensure the image covers the container */
    position: relative; /* Position it absolutely within the container */
    top: 0;
    left: 0;
    z-index: -1; /* Ensure the image stays behind the text */
}

.overlay-content {
    position: absolute; /* Positioned relative to the container */
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the content */
    text-align: center;
    color: white; /* Text color */
    font-size: large;
    font-style: italic;
    z-index: 10; /* Ensures text is above the overlay */
}

/* 100 vh spans entire viewport not accounting for scrollbar */
/* 100% width spans excluding scrollbar */

@media (max-width: 1024px) {
    .overlay-content {
        top: 85%;
        font-size: small;
    }
}

@media (max-width: 480px) {
    .bg-overlay-container {
        padding-top: 22vh;
    }
}



/* Testimonial Section */
.testimonial-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.testimonial {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 300px;
    margin: 15px;
    padding: 20px;
    text-align: center;
}

.client-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* Circular photo */
    background-color: #e073b4; /* Placeholder color */
    margin: 0 auto 10px; /* Center the circle */
}

.client-name {
    font-weight: bold;
    margin: 10px 0 5px;
}

.client-testimonial {
    padding: 10px;
    text-align: justify;
    color: #555; /* Text color */
}

.client-city {
    font-size: 0.9em; /* Smaller font size */
    color: #777; /* Gray color for the city text */
    margin: 5px 0; /* Margin for spacing */
}



/* Features Section */
.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 2rem;
    background-color: white;
}

.feature-item {
    flex: 1 1 200px; /* Flex grow/shrink/basis */
    background-color: white;
    margin: 1rem;
    padding: 1.5rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature-item img.icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: #7D0E43; /* Header color */
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 1rem;
    color: #555; /* Text color */
}



/* Contact Section */
.contact-section {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 2vh;
    background-color: #ffffff;
    
}

.contact-info {
    flex: 1;
    padding: 1.5rem;
    text-align: center;
    width: 80vw; /* Set your desired container width */
    overflow: hidden; /* Optional: hides any overflow */
    position: relative; /* Optional: for positioning purposes */
}

.contact-info h2 {
    color: #7D0E43; /* Title color */
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #555; /* Text color */
}

.contact-info img {
    max-width: 65%; /* Image will not exceed the container width */
    max-height: 65%; /* Image will not exceed the container height */
    object-fit: contain; /* Ensures the entire image is visible */
    border: 5px solid #7D0E43; /* Border color */
    border-radius: 10px; /* Optional: adds rounded corners to the border */
}


@media (max-width: 1024px) {
    .contact-info img {
        max-width: 100%; /* Image will not exceed the container width */
        max-height: 100%; /* Image will not exceed the container height */
    }
}