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

:root {
    --primary-color: #0a2463;
    --accent-color: #ffc107;
    --light-bg: #f5f7fa;
    --text-color: #333;
    --text-light: #555;
    --white: #ffffff;
    --border-color: #e5e5e5;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #051b4e;
    transform: translateY(-2px);
}

.btn-yellow {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-yellow:hover {
    background-color: #e6ac00;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.accent-line {
    height: 3px;
    width: 60px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

/* Navigation */
nav {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    width: 150px;
}

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

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: #f0f2f5;
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
}

.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-box {
    background-color: var(--white);
    padding: 2.5rem;
    max-width: 500px;
    position: relative;
    z-index: 5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hero-box h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-box p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.yellow-box {
    position: absolute;
    width: 500px;
    height: 100px;
    background-color: var(--accent-color);
    z-index: 1;
    bottom: 0;
    left: 15px;
}

.dots-pattern {
    position: absolute;
    width: 150px;
    height: 275px;
    top: 0;
    right: 0;
    background-image: radial-gradient(circle, var(--text-color) 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: 1;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-height: 500px;
    object-fit: cover;
}

/* Mission Section */
.mission {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
}

.mission-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.mission-text p {
    margin-bottom: 2rem;
}

.mission-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
}

.mission-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.services-container {
    display: flex;
    flex-direction: column;
}

.services-image {
    margin-bottom: 3rem;
    height: 250px;
    overflow: hidden;
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-box {
    background-color: var(--white);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.service-box p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Projects Section */
.projects {
    padding: 4rem 0;
    background-color: var(--white);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-item {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.project-item img {
    width: 40%;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
    background-color: var(--white);
    flex: 1;
}

.project-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Engineering Section */
.engineering {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.engineering-container {
    position: relative;
}

.engineering-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.engineering-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.engineering-content {
    position: absolute;
    top: 50px;
    right: 50px;
    max-width: 400px;
    background-color: var(--white);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.engineering-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.engineering-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-card {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card:nth-child(3) {
    grid-column: span 2;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 0.5rem;
    column-gap: 1rem;
    font-size: 0.9rem;
}

.hours-grid span:nth-child(odd) {
    font-weight: bold;
}

.contact-form {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-box {
        max-width: 100%;
    }

    .mission-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-boxes {
        grid-template-columns: repeat(3, 1fr);
    }

    .engineering-content {
        position: static;
        max-width: 100%;
        margin-top: 1rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .menu-icon {
        display: block;
    }

    .services-boxes {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

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

    .project-item img {
        width: 30%;
    }

    .yellow-box,
    .dots-pattern {
        display: none;
    }

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

    .contact-card:nth-child(3) {
        grid-column: span 1;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .services-boxes {
        grid-template-columns: 1fr;
    }

    .project-item {
        flex-direction: column;
    }

    .project-item img {
        width: 100%;
        height: 200px;
    }

    .hero-box {
        padding: 1.5rem;
    }

    .hero-box h1 {
        font-size: 1.5rem;
    }

    .mission-images {
        grid-template-columns: 1fr 1fr;
    }

    .mission-images img {
        height: 120px;
    }

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

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1.5rem;
    }
}

/* Animated Navigation for mobile */
@media (max-width: 768px) {
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }

    .nav-menu.active li {
        margin: 0.5rem 1.5rem;
    }
}