/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern, readable font */
    background-color: #333; /* Consistent background */
    color: #fff; /* White text on dark background */
    line-height: 1.6; /* Improved readability */
}

.container-fluid {
    padding-left: 0;  /* Remove default padding for full-width sections */
    padding-right: 0;
}

/* Navbar Styles */
.navbar {
    background-color: #222;
}
.navbar-brand img {
    max-height: 40px; /* Keep logo consistent */
}
.navbar-nav .nav-link {
    color: #fff;
    font-size: 1.2rem; /* Slightly larger nav links */
    margin-left: 1rem; /* Space out nav links */
    transition: color 0.2s ease-in-out;  /* Smooth hover effect */
}
.navbar-nav .nav-link:hover {
    color: #ddd; /* Lighter color on hover */
}
.navbar-nav .nav-item.active .nav-link {
    font-weight: bold; /* Highlight active link */
}

/* Hero Section */
.hero {
    color: #fff;
    text-align: center;
    padding: 4rem 2rem; /* More padding for impact */
}
.hero h1 {
    font-size: 3rem; /* Larger heading */
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add a subtle text shadow */
}
.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.btn-primary { /* Custom button styling */
    background-color: #ffffff;
    border-color: #aaaaaa;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    transition: all 0.2s ease-in-out;
}
.btn-primary:hover {
    background-color: #cccccc;
    border-color: #aaaaaa;
	color: #444444;
}


/* Services Section */
.services {
    background-color: #444;
    padding: 3rem 0;
}
.services h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #fff;
}
.service-card {
    background-color: #555;
    border: none;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5srem;
    transition: transform 0.2s ease-in-out; /* Add a subtle hover effect */
    height: 100%; /* Make cards equal height */
    display: flex;
    flex-direction: column;
}

.service-card:hover{
    transform: translateY(-5px); /* Lift card slightly on hover */
}

.service-card img {
    border-radius: 10px;
    margin-bottom: 1rem;
    width: 100%;     /* Ensure images fill the card width */
    height: 200px;   /* Set a fixed height for consistency */
    object-fit: cover; /* Important:  Maintain aspect ratio and cover the area */
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.service-card p {
    font-size: 1rem;
    color: #ddd; /* Slightly lighter text for descriptions */
}

/* Before & After Section */
.before-after {
    padding: 3rem 0;
    background-color: #333;
}
.before-after h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #fff;
}
.before-after-image {
    border-radius: 10px;
    overflow: hidden; /* Ensure images stay within rounded corners */
    margin-bottom: 1rem;
}
.before-after-image img {
    width: 100%;
    height: auto;
    display: block; /* Remove any extra spacing below image */
}

/* Call to Action Section */
.cta {
    background-color: #999999;
    text-align: center;
    padding: 3rem 2rem;
    color: #444444;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}
.contact-link{
    color: #444444;	text-decoration: underline;
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}
footer img{
    max-width: 50%;
}
.hidden-pagecontainer {	display: none;}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .service-card img {
        height: auto; /* Allow image height to adjust on smaller screens */
    }
}