/* --- Global Styles & Reset --- */
:root {
    --primary-color: #003366; /* Your dark blue header color */
    --secondary-color: #1abc9c; /* A modern accent color (Teal/Mint) */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --background-light: #ffffff;
    --background-gray: #f9f9f9;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

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

/* --- Header & Navigation --- */
.main-header {
    padding: 15px 0;
    border-bottom: 3px solid var(--secondary-color);
}

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

.logo-text {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, border-bottom 0.3s;
    padding-bottom: 5px;
}

.main-nav ul a:hover,
.main-nav ul a.active {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* --- Hero Section --- */
.hero-section {
    
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/Staffing.png'); 
    min-height: 450px; 
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; 
    color: var(--text-light);
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    border: 2px solid var(--secondary-color);
}

.cta-button:hover {
    background-color: #159c82;
    transform: translateY(-2px);
}

.primary-inverted {
    background: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.primary-inverted:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* --- Core Services Section --- */
.core-services-section {
    padding: 60px 0;
    text-align: center;
    background: var(--background-gray);
}

.core-services-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--background-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.secondary-button {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 3px;
    font-weight: bold;
    transition: color 0.3s, border-color 0.3s;
}

.secondary-button:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* --- Why Choose Us Section --- */
.why-choose-us-section {
    padding: 80px 0;
}

.why-choose-us-section .container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.content-left {
    flex: 1;
    max-width: 50%;
}

.content-left h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.content-left .tagline {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.content-left p {
    margin-bottom: 25px;
}

.content-left ul {
    list-style: none;
    margin-bottom: 30px;
}

.content-left ul li {
    padding: 5px 0;
    font-weight: 500;
}

.content-left ul li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.image-right {
    flex: 1;
    max-width: 50%;
}

.placeholder-image {
    background: var(--background-gray);
    min-height: 350px;
    border-radius: 8px;
    overflow: hidden; 
}

.placeholder-image .fit-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.3s ease;
}

/* --- Footer --- */
.main-footer {
    padding: 20px 0;
    color: var(--text-light);
    text-align: center;
    font-size: 0.9rem;
}

/* --- Media Queries (Responsiveness) --- */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
    }

    .main-nav ul {
        padding-top: 10px;
        justify-content: center;
    }

    .main-nav ul li {
        margin: 0 10px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }

    .why-choose-us-section .container {
        flex-direction: column;
        text-align: center;
    }

    .content-left, .image-right {
        max-width: 100%;
    }
    
    .content-left ul {
        text-align: left;
        padding-left: 20px;
    }

    .placeholder-image {
        min-height: 250px;
    }
}


/* Logo image styling */
.logo-img {
  height: 60px;       /* adjust height to fit header nicely */
  width: auto;        /* keeps image aspect ratio */
  object-fit: contain; /* ensures no distortion */
}
/* CSS for the Logo Link Wrapper */
.logo-link {
    /* Ensures the link behaves like a container */
    display: flex;
    /* Removes the default underline links get */
    text-decoration: none; 
    /* Vertically center the logo within the header */
    align-items: center; 
    /* Ensure the link doesn't shrink if space gets tight */
    flex-shrink: 0;
}



/* --- Contact Section Styles --- */

.contact-section {
    padding: 80px 0;
    background-color: var(--background-light); /* Assuming a light background for contrast */
}

/* Use Flexbox for the two columns within the container */
.contact-section .container {
    display: flex;
    gap: 40px;
}

.contact-info-column {
    flex: 1; /* Takes up 50% of the space */
}

.contact-form-column {
    flex: 1; /* Takes up 50% of the space */
}

.contact-details h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--primary-color); /* Your dark blue color */
}

.contact-details address,
.contact-details p {
    font-style: normal; /* Override default address italic style */
    line-height: 1.8;
}

.contact-details i {
    margin-right: 10px;
    color: var(--secondary-color); /* Your teal/accent color */
}

/* Form Card Styling */
.contact-form-card {
    padding: 30px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-card h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* Form Group Layout */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.social-links a {
    color: var(--primary-color);
    margin-right: 15px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Mobile Responsiveness for Contact Section */
@media (max-width: 768px) {
    .contact-section .container {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info-column,
    .contact-form-column {
        flex: auto;
    }
}

/* ADD THIS TO YOUR style.css FILE for styling the messages */
        .form-message {
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 4px;
            text-align: center;
            font-weight: bold;
            display: block; /* Ensure it takes up space */
        }
        
        .form-message p {
            margin: 0; /* Remove default paragraph margin inside message box */
        }

        .form-message.success {
            background-color: #e6ffe6; /* Very light green */
            border: 1px solid #4CAF50; /* Green border */
            color: #4CAF50; /* Green text */
        }

        .form-message.error {
            background-color: #ffe6e6; /* Very light red */
            border: 1px solid #f44336; /* Red border */
            color: #f44336; /* Red text */
        }



