/* Basic Reset */
* {
    margin: 0;
    padding: 5px;
    box-sizing: border-box;
    border: none;
    /* Ensures no borders are applied unless specifically set */
    box-shadow: none;
    /* Removes any shadow unless specifically set */
}

body,
html {
    font-family: 'Arial', sans-serif;
    background: #f4f4f4;
    /* Applies a consistent background to see overflow clearly */
    color: #333;
}

.top-bar {
    background-color: #d7ee0d;
    /* Light grey background */
    color: #070707;
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
    /* Enhanced visibility */
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: white;
    /* Temporarily disable to test if it's causing the line */
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
}

.logo img {
    height: 100px;
    /* Adjusted logo size for better visibility */
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    /* Ensure no margin is causing spacing issues */
}

nav ul {
    list-style: none;
    display: flex;
    padding: 0;
}

nav li {
    padding: 10px 20px;
    /* Adjusting padding for more space */
}

nav a {
    font-size: 18px;
    color: #333;
    text-decoration: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    z-index: 100;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.call-button {
    background-color: #FFC107;
    color: black;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.call-button:hover {
    background-color: #E6B800;
}

.hero-section {
    position: relative;
    background: url('/images/Domestic-Pot-Light-Installation.webp') no-repeat center center/cover;
    /* Replace 'your-image-path.jpg' with your actual image path */
    height: 400px;
    /* Adjust height as necessary */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    /* Dark overlay, adjust opacity as needed */
    z-index: 1;
}

.hero-content {
    position: relative;
    text-align: justify;
    color: white;
    padding: 20px;
    z-index: 2;
    /* Ensures text appears above the overlay */
}




h1 {
    font-size: 2em;
    /* Adjust size as necessary */
    margin-bottom: 0.7em;
    /* Space between the title and the paragraph */
}

.hero-para {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 600px;
    /* Ensures text lines are not too long */
    margin: 0 auto;
    /* Centers the text blocks horizontally */
}

.image-gallery {
    text-align: center;
    padding: 60px;
    background-color: #f4f4f4;
}

.image-gallery h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-item {
    flex-basis: calc(33.333% - 20px);
    /* Adjusts to 3 items per row with gap correction */
    overflow: hidden;
    /* Helps maintain the shape of images during hover effect */
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease, filter 0.5s ease;
    /* Smooth transition for effects */
}

.gallery-item:hover img {
    transform: scale(1.1);
    /* Scales image up slightly on hover */
    filter: brightness(75%);
    /* Darkens the image on hover */
}

.services-section {
    background: #f4f4f4;
    padding: 50px 20px;
    text-align: center;
}

.section-title {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 40px;
    font-family: 'Montserrat', sans-serif;
    /* Adds a more modern, sophisticated font */
}

.services-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    /* Ensures responsiveness */
    gap: 20px;
    /* Space between cards */
}

.service-card {
    background: linear-gradient(to top right, #ffffff, #e6e6e6);
    /* Subtle gradient background */
    border-radius: 10px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
    width: calc(33.33% - 20px);
    /* Adjusts for three cards per row minus gap */
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    /* For pseudo-elements and absolute positioning */
    overflow: hidden;
    /* Clips the pseudo-elements within the card */
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    /* Large size to cover on hover */
    height: 200%;
    background: radial-gradient(circle, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: transform 0.5s ease-out;
    transform: rotate(25deg);
}

.service-card:hover::before {
    transform: rotate(25deg) translate(50%, 50%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    color: #101010;
    /* Bright blue for headings */
    margin-bottom: 25px;
    font-size: larger;
    font-family: 'Montserrat', sans-serif;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    color: #2f2c2c;
}



@media (max-width: 960px) {
    .services-container {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 100%;
        /* Full width on smaller screens */
        max-width: 600px;
        /* Keeps cards from becoming too wide */
    }
}


.why-choose-us {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 10%;
    background-color: #f9f9f9;
}

.why-choose-us .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.text-column {
    width: 50%;
}

.text-column h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 2.4rem;
}

.text-column ul {
    list-style: none;
    padding: 0;
}

.text-column li {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-left: 20px;
    text-indent: -20px;
}

.text-column li strong {
    color: #007BFF;
    /* Bright blue to highlight key points */
}

.image-column {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-column img {
    width: 100%;
    max-width: 500px;
    /* Adjust size as needed */
    height: auto;
    border-radius: 10px;
    /* Optional: Adds rounded corners to the image */
}

@media (max-width: 768px) {
    .why-choose-us .container {
        flex-direction: column;
    }

    .text-column,
    .image-column {
        width: 100%;
    }

    .image-column img {
        max-width: 100%;
    }
}

.specialized-services {
    padding: 50px 10%;
    background-color: #fff;
    /* You can choose a different background if needed */
}

.specialized-services .container {
    max-width: 1200px;
    margin: 0 auto;
}

.specialized-services h2 {
    text-align: center;
    color: #333;
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.specialized-services ul {
    list-style: none;
    padding: 0;
}

.specialized-services li {
    font-size: 1.2rem;
    margin-bottom: 10px;
    padding-left: 20px;
    text-indent: -20px;
}

.specialized-services li strong {
    color: #007BFF;
    /* Bright blue to highlight key points */
}


.contact-map-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Align items at the top */
    padding: 20px;
    gap: 20px;
    margin: 0 50px;
    /* Adds margin to the left and right */
}

.contact-details {
    flex: 1;
    padding: 20px;
    max-width: 50%;
    /* Limits the width to half of the container */
    box-sizing: border-box;
    /* Ensures padding is included in width */
}

.embedded-map {
    flex: 1;
    padding: 20px;
    width: 50%;
    /* Ensures the map covers half of the container */
    box-sizing: border-box;
    /* Ensures padding is included in width */
}

.embedded-map iframe {
    width: 100%;
    /* Makes the iframe responsive */
    height: 450px;
    /* Adjust height as needed */
    border: 0;
    /* Removes border */
}

/* Responsive design adjustments for smaller screens */
@media (max-width: 768px) {
    .contact-map-wrapper {
        flex-direction: column;
        margin: 0 20px;
        /* Reduced margin for smaller screens */
    }

    .contact-details,
    .embedded-map {
        width: 100%;
        /* Full width on smaller screens */
        max-width: none;
        /* Removes max-width setting */
    }

    .embedded-map iframe {
        height: 300px;
        /* Adjusts the height for smaller screens */
    }
}

.site-footer {
    background: #333;
    color: white;
    padding: 40px 40px;
    /* Adjusted padding */
    display: flex;
    justify-content: space-around;
    align-items: start;
    gap: 20px;
}

.site-footer h3 {
    margin-bottom: 10px;
    color: #FFC107;
}

.site-footer p,
.site-footer ul {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li a {
    color: #FFC107;
    /* Changed to yellow */
    text-decoration: none;
    /* Removed underline */
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #E6B800;
    /* Darker yellow on hover */
}

.footer-socials {
    display: flex;
    /* Ensures items are laid out in a row */
    align-items: center;
    /* Centers items vertically */
    gap: 10px;
    /* Spacing between each link */
    justify-content: start;
    /* Aligns content to the start of the container */
}


.footer-socials a {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-socials a {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    text-decoration: none;
    /* Removes underline */
}

.footer-socials a:hover {
    color: #FFC107;
    /* Yellow on hover */
    text-decoration: none;
    /* Ensures no underline */
}

@media (max-width: 768px) {
    .site-footer {
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
        /* Reduced side padding on smaller screens */
    }

    .footer-about,
    .footer-nav,
    .footer-socials {
        text-align: center;
        width: 100%;
    }
}



/* location page css */



.loc-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
    gap: 20px;
    /* Ensures there is a gap between the cards */
}

.loc-card {
    width: calc(33.3% - 40px);
    /* Adjusts card width accounting for padding and gap */
    margin: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /* Keeps all content within the borders */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 300px;
    /* Fixed height for all cards */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Organizes image and link nicely */
}

.loc-card img {
    width: 100%;
    /* Ensures image takes full width of the card */
    height: 240px;
    /* Fixed height for image */
    object-fit: cover;
    /* Ensures the image covers the space without distortion */
    display: block;
}

.loc-card-link {
    background-color: #FFC107;
    color: black;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.loc-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.loc-card:hover .loc-card-link {
    background-color: #E6B800;
}

@media (max-width: 768px) {
    .loc-card {
        width: 100%;
        /* Full width on smaller screens for a better fit */
        height: auto;
        /* Allows height to adjust based on content */
    }

    .loc-card img {
        height: auto;
        /* Adjusts height dynamically based on its natural aspect ratio */
    }
}


/* contact us  */

.contact-content {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
}

.contact-map,
.business-info {
    flex: 1;
    padding: 10px;
}

.contact-map iframe {
    width: 100%;
    height: 450px;
    /* Adjust height based on your preference */
}

.business-info {
    background: #f4f4f4;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }

    .contact-map iframe {
        height: 300px;
        /* Smaller height for mobile devices */
    }
}

/* about us  */

.embedded-section {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.column {
    flex: 1;
    padding: 10px;
}

@media (max-width: 768px) {
    .embedded-section {
        flex-direction: column;
    }

    .column {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Ev charger page  */

.osev-main {
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    width: calc(100% - 40px);
    box-sizing: border-box;
    max-width: 1200px;
}

.osev-content {
    width: 100%;
}

.text-and-image {
    display: flex;
    /* This will align the text and image side by side */
    align-items: flex-start;
    /* Aligns items in a way that their tops line up */
}

.osev-text {
    flex: 1;
    /* Takes as much width as possible, pushing the image to the side */
    margin: 0 20px 0 0;
    /* Adds margin on the right */
    line-height: 1.6;
    margin-top: 1%;
}

.osev-mtext {
    flex: 1;
    /* Takes as much width as possible, pushing the image to the side */
    margin: 0 20px 0 0;
    /* Adds margin on the right */
    line-height: 1.6;
    margin-top: 10%;
}

.osev-article {
    padding: 20px;
    line-height: 1.6;
}

.osev-image {
    width: auto;
    /* Adjusts width automatically */
    height: 60%;
    /* Sets height relative to its container, which is the text height */
    max-width: 30%;
    /* Limits image width to not overpower the text */
    object-fit: cover;
    /* Ensures the image covers the area without distorting its aspect ratio */
}

@media (max-width: 768px) {
    .text-and-image {
        flex-direction: column;
        /* Stacks image and text vertically on smaller screens */
    }

    .osev-image {
        max-width: 100%;
        /* Image takes full width on smaller screens */
        height: auto;
        /* Height becomes automatic to maintain aspect ratio */
    }

    .osev-text {
        margin: 0;
        /* Removes margin on smaller screens */
    }
}