/* Base Styles & Reset */
:root {
    --primary-color: #5BBAD5; /* A bright blue for the main button */
    --secondary-bg: #EAF6FA; /* Light blue background for the middle section */
    --text-color: #333;
    --light-text-color: #777;
    --border-color: #ddd;
    --spacing: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

p {
  line-height: 1.6rem;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    max-width: 1366px;
    margin: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff; /* Darker blue on hover */
}

h1, h2, h3 {
    margin-bottom: 0.5em;
}

/* Smooth scrolling for internal links */
html {
    scroll-behavior: smooth;
}

/* --- Header & Navigation --- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing) calc(2 * var(--spacing));
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.logo img {
    height: 40px; /* Adjust as needed */
    vertical-align: middle;
}

.nav {
    display: flex;
    gap: var(--spacing);
}

.nav-link {
    color: var(--text-color);
    font-weight: bold;
}

.nav-link:hover {
    color: var(--primary-color); /* Darker blue on hover */
    text-decoration: wavy underline;
    text-underline-offset: 4px;
}

/* --- Buttons --- */
.btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.1s ease;
    display: inline-block;
}

.btn-header {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-header:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    font-size: 0.9em;
    padding: 8px 15px;
}

.btn-primary:hover {
    background-color: #2991ad; /* Darker blue */
    border-color: #2991ad;
    transform: translateY(-2px);
}

.link-more {
    font-size: 0.9em;
    font-weight: bold;
    display: block;
    margin-top: 15px;
    color: var(--primary-color);
}

.link-more:hover {
    text-decoration: underline;
    color: #000000;
}

/* --- Section Styling (General) --- */
section {
    padding: 40px calc(2 * var(--spacing));
}

/* --- Hero Section --- */
.hero {
    display: flex;
    gap: 40px;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.5em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-image-container {
    flex: 1;
    max-width: 400px;
    height: 400px;
    overflow: hidden;
    border-radius: 5px; /* Semi-circle bottom right corner */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Service Section (Light Blue BG) --- */
.service-section {
    display: flex;
    background-color: var(--secondary-bg);
    padding: 60px calc(2 * var(--spacing));
    gap: 40px;
    align-items: start;
    border-radius: 10px;
}

.service-image-placeholder {
    flex: 1;
    min-height: 250px;
    /* background-color: #e0e9ed; Placeholder color */
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.service-content {
    flex: 1;
    max-width: 70%;
}

.service-content h2 {
    font-size: 1.8em;
}

/* --- About Section --- */
.about-section {
    display: flex;
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.about-content {
    flex: 2;
}

.about-content h2 {
    font-size: 1.8em;
}

.about-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.about-content li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: 5px;
}

.about-content li::before {
    content: "•"; /* Custom bullet point */
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.about-image-container {
    flex: 1;
    max-width: 400px;
    height: 450px;
    overflow: hidden;
    /* This specific curve is tricky with pure CSS, using a simple border-radius */
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- NEW Service Details Section --- */
.services-detail-section {
    background-color: #f7f7f7; /* Slightly darker background */
    padding-bottom: 60px;
    border-radius: 5px;
}

.service-intro {
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-item:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.service-icon {
    font-size: 32px;
    color: var(--primary-color);
    /* Ensure the icon has enough contrast/weight */
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 48;
}

.service-item p {
    margin: 0;
    font-weight: 500;
}

/* --- Contact Section --- */
.contact-section {
    padding-bottom: 60px;
}

.contact-section a:hover {
    color: #000000;
    text-decoration: underline;
}

.contact-grid {
    display: flex; /* grid */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.location-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-top: 4px solid var(--primary-color);
}

.location-map-placeholder {
    height: 150px;
    background-color: #e0e9ed; /* Placeholder for map image */
    margin-bottom: 20px;
}

.location-map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-details {
    display: inline-block;
    padding-right: var(--spacing);
    line-height: 1.4;
    font-size: 0.9em;
}

.location-card > .location-details {
    padding-bottom: 10px;
}

.building-name {
    font-weight: bold;
    font-size: 1.1em;
    /* color: var(--primary-color); */
    margin-bottom: 10px;
}

.mt-4 {
    margin-top: 1rem;
}

/* Split details into two columns for desktop */
@media (min-width: 768px) {
    .location-card {
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .location-card .location-details {
        flex: 1 1 45%;
        padding-bottom: 20px;
    }
}


/* --- Footer --- */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing) calc(2 * var(--spacing));
    border-top: 1px solid var(--border-color);
    font-size: 0.8em;
    color: var(--light-text-color);
    flex-wrap: wrap;
}

.footer-logos {
    display: flex;
    gap: 15px;
}

.footer-logo {
    height: 25px; /* Adjust as needed */
    vertical-align: middle;
}


/* --- Responsive Adjustments (Mobile) --- */
@media (max-width: 992px) {
    .hero, .service-section, .about-section {
        flex-direction: column;
        text-align: left;
    }

    .hero-image-container, .about-image-container {
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    .hero-image-container {
        order: 0; /* Image on top for mobile */
        border-radius: 5px;
        margin-bottom: 20px;
    }
    
    .about-image-container {
        margin-top: 20px;
    }

    .service-image-placeholder {
        width: 100%;
        min-height: 200px;
        margin-bottom: 20px;
    }

    .header {
        justify-content: center;
        text-align: left;
        gap: 10px;
    }
    
    .nav {
        flex-basis: 100%; /* Nav on new line */
        justify-content: center;
        margin: 10px 0;
    }

    .btn-header {
        flex-basis: 100%;
        margin-top: 10px;
    }
    
    .footer {
        flex-direction: column;
        gap: 10px;
    }

    .footer p {
        text-align: center;
        width: 100%;
    }
}

/* Small mobile adjustment */
@media (max-width: 480px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .location-card .location-details {
        flex: 1 1 100%;
    }
}