html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f4f8;
    color: #333;
}

header {
    background-image: url('background1.png'); /* Set background image */
    background-size: cover; /* Cover the entire header */
    color: white; /* Maintain the header color */
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .logo-image {
    width: 100%; /* Make logo responsive */
    max-width: 400px; /* Set a max width */
    height: auto;
    margin-bottom: 10px; /* Space for the logo */
}

header .logo {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #333; /* Change text color to match testimonials */
}

header .sub-logo {
    font-size: 18px;
    font-weight: 600;
    margin-top: 5px;
    color: #333; /* Change text color to match testimonials */
}

.social-links {
    display: flex;
    justify-content: center;
    margin: 15px 0; /* Space between social links */
}

.social-link {
    margin: 0 15px; /* Space between individual social links */
}

.social-text {
    color: #333; /* Change social media text color to match Hetal Manjrawala text color */
    font-weight: 600; /* Optional: Make it bold */
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 20px;
}

nav ul li a {
    color: #333; /* Change navigation link color to match testimonials */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #B8D1D0; /* Keep the hover effect */
}

.hero {
    background-color: #5A706C; /* Dark Blue */
    color: white;
    text-align: center;
    padding: 80px 20px;
    border-bottom: 5px solid #98B1AF; /* Accent */
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: #B8D1D0; /* Light Blue */
    color: #5A706C; /* Darker */
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #A3C3C1; /* Darker on hover */
    transform: translateY(-2px);
}

.video-section {
    padding: 40px 20px;
    text-align: center;
}

video {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonials {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial {
    background-color: #f8f9fa;
    border-left: 5px solid #5A706C; /* Darker variant */
    padding: 20px;
    margin: 15px 0;
    width: 90%;
    border-radius: 10px;
    font-style: italic;
    transition: transform 0.3s;
}

.testimonial:hover {
    transform: translateY(-3px);
}

.services {
    padding: 40px 20px;
    text-align: center;
}

.service-card {
    background-color: #B8D1D0; /* Change background to your desired color */
    color: #333; /* Set text color to #333 */
    padding: 10px; /* Reduced padding */
    margin: 15px;
    border-radius: 10px;
    display: inline-block;
    width: calc(25% - 40px); /* Ensures all cards have the same width */
    min-height: 45px; /* Reduced minimum height for uniformity */
    font-size: 18px; /* Set text size here */
    text-align: center; /* Center align text within service cards */
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Reduced shadow */
    vertical-align: top; /* Aligns cards properly */
}

.service-card:hover {
    background-color: #A6C6C6; /* A slightly darker color on hover */
    transform: translateY(-2px); /* Reduced hover effect */
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .service-card {
        width: 100%; /* Full width for service cards */
    }

    .hero, .contact-section, .testimonials {
        padding: 20px; /* Adjust padding for smaller screens */
    }

    .contact-button, .location-button {
        width: calc(100% - 20px); /* Make buttons full width */
        margin: 10px 0; /* Adjust margin for buttons */
    }

    nav ul li {
        display: block; /* Stack navigation items vertically */
        margin: 10px 0; /* Adjust margin for navigation */
    }

    .hero h1 {
        font-size: 28px; /* Smaller font size for mobile */
    }

    .hero p {
        font-size: 16px; /* Adjust paragraph font size */
    }
}

.contact-section {
    text-align: center;
    padding: 30px 20px;
}

.contact-button, .location-button {
    display: inline-block;
    background-color: #B8D1D0; /* Use your preferred background color */
    color: #333; /* Set text color for visibility */
    padding: 12px 30px; /* Padding for button size */
    margin: 15px; /* Space between buttons */
    text-decoration: none;
    border-radius: 25px; /* Rounded corners */
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

.contact-button:hover, .location-button:hover {
    background-color: #A6C6C6; /* Darker color on hover */
    transform: translateY(-2px); /* Slightly lift on hover */
}

/* Additional styles for improved visibility */
.contact-button, .location-button {
    font-size: 16px; /* Set font size for better readability */
    border: 2px solid #333; /* Add border for definition */
}

footer {
    background-color: #5A706C;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}
