/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f6f8; /* Light neutral background for dark logo contrast */
    color: #1a202c; /* Deep slate for high legibility */
    line-height: 1.6;
}

/* Header & Navigation */
#main-header {
    background-color: #ffffff; /* Clean white header makes black logo pop */
    color: #1a202c;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#main-header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #000000;
}

#main-header nav a {
    color: #2d3748;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

#main-header nav a:hover,
#main-header nav a.active {
    color: #00adb5;
}

/* Main Layout Elements */
main {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.hero {
    text-align: center;
    padding: 3rem 1rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000000;
}

.content-block {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Contact Form Layout */
.contact-container {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3748;
}

/* Input and Textarea Width Alignment */
.form-group input, 
.form-group textarea {
    width: 100%;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 0.85rem;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    color: #1a202c;
    background-color: #ffffff;
    transition: border-color 0.15s ease;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #00adb5;
}

button[type="submit"] {
    background-color: #00adb5;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #008c9e;
}

/* Footer Styles */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

#main-footer {
    background-color: #1a202c; /* Deep slate footer to anchor the layout */
    color: #ffffff;
    padding: 2rem 5%;
    margin-top: auto;
    border-top: 3px solid #00adb5;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #e2e8f0;
}

.footer-contact a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #00adb5;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-contact a {
        display: block;
        margin: 0.5rem 0;
    }
}

/* Intro Section Layout */
.intro-services {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.intro-item {
    flex: 1;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #00adb5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.intro-item h3 {
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 0.75rem;
}

.intro-item p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.5;
}

/* Responsive fix for smaller mobile screens */
@media (max-width: 768px) {
    .intro-services {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Services Section Layout - Clean Stacked Rows */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.service-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 5px solid #00adb5;
    width: 100%;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #000000;
    font-size: 1.4rem;
}

.service-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* Direct Contact Info Grid */
.contact-direct-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.direct-card {
    background: #ffffff;
    padding: 1.5rem 2rem;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #00adb5;
    border-radius: 6px;
}

.direct-card h3 {
    color: #000000;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.direct-card p, .direct-card ul {
    font-size: 0.95rem;
    color: #4a5568;
}

.direct-card ul {
    margin-left: 1.25rem;
    margin-top: 0.5rem;
}

.direct-card a {
    color: #00adb5;
    font-weight: 600;
    text-decoration: none;
}

.direct-card a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-direct-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Fix Form Box Container Width */
.contact-container {
    background: #ffffff;
    padding: 3rem;
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Base header layout using Flexbox */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Restrict the size of your logo image */
.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

/* Simple navbar link styling */
.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: #2d3748;
}

.nav-links a:hover {
    color: #00adb5;
}