/* GLOBAL STYLES & RESET */
:root {
    --primary-color: #0d47a1; /* Dark Blue */
    --secondary-color: #bbdefb; /* Light Blue Accent */
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #222222; /* Dark Grey/Black Background */
    --section-light: #f4f4f4;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

h1, h2, h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; border-bottom: 2px solid var(--primary-color); padding-bottom: 10px; }
h3 { font-size: 1.5em; }

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

a:hover {
    color: var(--text-light);
}

/* HEADER/NAV BAR STYLES */
header {
    background-color: #111111;
    color: var(--text-light);
    padding: 15px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

header .logo {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--secondary-color);
}

nav a {
    margin-left: 20px;
    font-weight: 600;
    color: var(--text-light);
}

nav a:hover {
    color: var(--secondary-color);
}

/* 1. HERO/HOME SECTION STYLES */
.hero {
    /* Large image background, similar to the original site */
    background-size: cover;
    background-position: center;
    min-height: 100vh; /* Full screen height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    padding: 50px 30px;
    border-radius: 8px;
}

.hero h1 {
    font-size: 3em;
    color: var(--text-light);
}

.hero h2 {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: var(--secondary-color);
    border: none;
    padding: 0;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 5px;
    margin-top: 15px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #1565c0; /* Slightly lighter blue on hover */
}

/* New button style for the link in the card */
.btn-small {
    display: inline-block;
    background: #1565c0; /* A slightly darker blue */
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 5px;
    margin-top: 15px;
    font-size: 0.9em;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-small:hover {
    background-color: var(--primary-color);
}

/* 2 & 3. CONTENT SECTIONS STYLES */
.content-section {
    padding: 80px 0;
    min-height: 50vh;
}

.dark-bg {
    background-color: #333333;
}

/* ABOUT CONTENT LAYOUT */
.about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    text-align: left;
    margin-top: 30px;
}

.about-content .text-block {
    flex: 2;
}

.about-content .image-block {
    flex: 1;
    max-width: 300px;
}

.about-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* SERVICES CARD LAYOUT (UPDATED FOR 4 COLUMNS) */
.service-cards {
    /* Changed from flex to grid for a cleaner 4-column layout */
    display: grid;
    /* This creates 4 equal columns on wider screens */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    margin-top: 40px;
}

.card {
    background-color: #111111;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    /* Added min-width and max-width to allow the grid to control sizing */
    /* Set min-width to 0 to prevent the fixed 300px icon from forcing the card to be too wide */
    min-width: 0; 
    max-width: 100%; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.card-icon {
    /* USER REQUESTED LARGE SIZE (300px) */
    /* IMPORTANT: Max-width is set to 100% to ensure the image scales down if the card itself gets smaller */
    max-width: 100%; 
    width: 300px; 
    height: 300px; 
    margin-bottom: 15px;
    object-fit: contain; 
}

.card h3 {
    color: var(--secondary-color);
}

/* 4. CONTACT SECTION STYLES */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
    margin-top: 30px;
}

.contact-info p {
    margin-bottom: 20px;
}

.contact-form-placeholder {
    background-color: #333333;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* FOOTER */
footer {
    background-color: #111111;
    color: #aaaaaa;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}


/* --- RESPONSIVE ADJUSTMENTS (For Mobile) --- */
@media (max-width: 1300px) {
    /* If the screen is too narrow for 4 columns, drop to 2 */
    .service-cards {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px 20px;
        position: static;
    }

    nav a {
        margin: 5px 10px;
        font-size: 0.9em;
    }

    .hero h1 {
        font-size: 2em;
    }
    
    .hero h2 {
        font-size: 1.2em;
    }

    .about-content, .contact-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    /* On very small screens, switch to 1 column */
    .service-cards {
        grid-template-columns: 1fr;
    }
    
    .card {
        max-width: 90%; 
        margin: 10px auto;
    }
    
    .card-icon {
        /* Reduce the icon size significantly on mobile to fit the screen */
        width: 150px; 
        height: 150px; 
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}