/* --- Global Styles & Variables --- */
:root {
    /* Keeping the original color palette */
    /*--primary-color: #2c3e50;*/
    --primary-color: #8497a9;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --light-color: #f4f7f6;
    --text-color: #333;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Lato', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
    /* NEW: This flexbox setup makes the page full height */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
/* NEW: This section will now expand to fill all empty space */
main.container {
    flex-grow: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color 0.3s;
}

a:hover {
    color: #2980b9;
}

/* --- Header & Navigation --- */
.site-header {
    /*background: var(--primary-color);*/
    background: var(--primary-color);
    padding: 0.5rem 0;
    
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin: 0;
    font-size: 1.8rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo-image {
    width: 150px;
    height: 100px;
    margin-right: 10px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease-in-out;
}

nav a:hover::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero-section {
    /* Use a relative path to your local image file */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero_image.png') no-repeat center center/cover;
    /*background: url('hero_image.png') no-repeat center center/cover;*/
    color: #fff;
    text-align: center;
    padding: 180px 2rem;
    position: relative;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-button {
    background-color: var(--accent-color);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
}

/* --- Services Section (Homepage) --- */
.services-section {
    display: flex;
    justify-content: space-around;
    gap: 3rem;
    padding: 5rem 0;
    text-align: center;
    /* Add this to make sure all boxes have a minimum height */
    min-height: 250px;
    align-items: stretch;
}

.service-link {
    text-decoration: none;
    color: inherit;
    /* Add these to make sure the link itself is the full height of the box */
    display: flex;
    flex: 1;
}

.service-item {
    /* This rule now tells the boxes to take up equal space */
    flex: 1;
    background: #fff;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.service-link:hover {
    color: inherit;
}

.service-link:hover .service-item {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.icon-placeholder {
    margin-bottom: 1.5rem;
}



/* --- Footer --- */
.site-footer {
    background: var(--secondary-color);
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: #fff;
    margin: 0 1rem;
}

/* --- NEW STYLES FOR OTHER PAGES --- */
.page-header {
    text-align: center;
    padding: 1rem 0 2.5rem;
    
}

.service-details,
.about-content,
.contact-form-section {
    padding-bottom: 5rem;
}

.service-details {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-block {
    background: #fff;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-block ul {
    list-style-type: none;
    padding-left: 0;
}

.service-block ul li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%233498db" class="bi bi-check-circle" viewBox="0 0 16 16"><path d="M8 15A7 7 0 0 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path d="M10.97 4.97a.235.235 0 0 0-.02.022c-.074.077-.089.09-.2.24l-4.5 5a.5.5 0 0 1-.74.063l-2.2-2.2a.5.5 0 0 1 .708-.708L6.5 9.293l4.5-5a.5.5 0 0 1 .708.708l-5 5a.5.5 0 0 1-.708 0z"/></svg>') no-repeat left center;
    background-size: 1.2rem;
    padding-left: 2.2rem;
    margin-bottom: 1rem;
}



/* Styling for Contact Page */
.contact-form-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
     padding-bottom: 5rem;
}

.contact-form,
.contact-info-section {
    /* This padding is what creates the gap */
    padding-bottom: 5rem;
    display: flex;
    justify-content: center;
    text-align: center;
}
.contact-info {
    /* Set a fixed width */
    width: 300px;
    
    /* This will center the block inside a non-flexbox container */
    margin: 0 auto;
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
   
    
}

.contact-info {
    background: var(--light-color);
}

.contact-form label,
.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    border: none;
    cursor: pointer;
}

/* Image styles */
.service-image-container {
    text-align: center;
    margin: 2rem 0;
}

.service-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 768px) {
    .site-header .container,
    .site-footer .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    nav ul {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
    .services-section,
    .contact-form-section,
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    .hero-content h2 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}