/* Base Styles */
:root {
    --primary-color: #1b2a47; /* Professional Navy */
    --secondary-color: #d35400; /* Subtle rust/orange for accents */
    --light-bg: #f4f4f4;
    --text-color: #333;
}

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

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

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

.text-center {
    text-align: center;
}

/* Typography & Links */
h1, h2, h3, h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.text-link {
    color: var(--secondary-color);
    font-weight: bold;
}

.text-link:hover {
    text-decoration: underline;
}

.logo-link {
    color: white;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
}

header h1 {
    color: white;
    margin: 0;
}

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

nav a {
    color: white;
    margin-left: 1.5rem;
    font-weight: bold;
}

nav a:hover {
    color: #ccc;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
}

.btn:hover {
    background: #111a2d;
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.btn-secondary:hover {
    background: #eee;
    color: var(--primary-color);
}

/* Sections */
.bg-light {
    background-color: var(--light-bg);
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.half-width {
    flex: 1;
    min-width: 300px;
}

/* Services Grid */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 30%;
    min-width: 250px;
}

/* Images & Gallery */
.responsive-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    background-color: #ccc; /* Shows if image is missing */
    min-height: 250px;
}

.portfolio-section {
    padding: 4rem 0;
}

.project-group {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd; /* Adds a subtle dividing line between projects */
}

/* Removes the top line from the very first project so it looks clean */
.project-group:first-of-type {
    border-top: none; 
    margin-top: 2rem;
}

.project-desc {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #555;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.gallery-img {
    width: 30%;
    min-width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    background-color: #ccc; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Reviews & Awards */
.award-img {
    max-width: 400px; /* Change this number to make it bigger or smaller */
    height: auto;     /* This keeps the image from looking stretched or squished */
    display: block;   /* This allows us to center the image */
    margin: 1.5rem auto; /* Centers the image and adds space above and below */
}

.award-box {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Forms */
.form-section {
    max-width: 600px;
    padding: 4rem 0;
}

.apply-form {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}

.apply-form label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.apply-form input, .apply-form textarea {
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 2rem 0;
}

footer h3, footer p {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-link {
    color: white;
    text-decoration: underline;
}

.license {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 0.5rem;
}

.portfolio-footer-note {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--primary-color);
    font-size: 1.1rem;
    color: #444;
}