* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #003366;
    --secondary-blue: #004d99;
    --accent-orange: #ff6600;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --safety-yellow: #ffcc00;
    --success-green: #00a651;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: var(--dark-gray);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contacts {
    display: flex;
    gap: 30px;
}

.top-contacts span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.certifications-bar {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    color: var(--primary-blue);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.logo-text span {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--medium-gray);
    letter-spacing: 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0;
}

nav a {
    display: block;
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 20px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

nav a:hover {
    color: var(--accent-orange);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: var(--accent-orange);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav a:hover::after {
    transform: scaleX(1);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.75)), 
                url('images/offshore-platform_cleanup.jpg') center/cover;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Alternative hero backgrounds for variety */
.hero.hero-bg-2 {
    background: linear-gradient(rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.75)), 
                url('images/structural-engineering.jpg') center/cover;
}

.hero.hero-bg-3 {
    background: linear-gradient(rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.75)), 
                url('images/heavy-lift-systems.jpg') center/cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--safety-yellow);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero p {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background: var(--accent-orange);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-orange);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Key Stats Bar */
.stats-bar {
    background: var(--dark-gray);
    padding: 40px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-orange);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-orange);
}

.section-subtitle {
    font-size: 18px;
    color: var(--medium-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About Section */
.about {
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
    background: var(--white);
    overflow: hidden;
}

/* Styling for the container of the image in the About Section */
.about-visual {
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
    background: var(--white); /* Optional: Background for the container */
    overflow: hidden;
    min-height: 400px; /* Ensures the container has a minimum height */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Styling for the image itself within the .about-visual container */
.about-visual img {
    width: 100%;
    height: 100%; /* Makes the image fill the height of its parent container */
    object-fit: cover; /* Crops the image to cover the entire container while maintaining its aspect ratio */
    display: block;
    border-radius: 10px;
}

.about-text h3 {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--light-gray);
    border-left: 3px solid var(--accent-orange);
}

.highlight-icon {
    width: 40px;
    height: 40px;
    background: var(--success-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Decorative elements using your photos */

/* Services */
.services {
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-left: 4px solid var(--accent-orange);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    color: var(--dark-gray);
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
}

/* Capabilities */
.capabilities {
    background: var(--light-gray);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.capability-card {
    background: var(--white);
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-blue);
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.capability-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-orange);
    color: var(--white);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    border-radius: 50%;
}

.capability-card h3 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.capability-card p {
    color: var(--medium-gray);
    line-height: 1.8;
}

/* Projects */
.projects-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.project-image {
    height: 250px;
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-orange);
    color: var(--white);
    padding: 5px 15px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.project-content {
    padding: 30px;
}

.project-content h3 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.project-specs {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.spec {
    font-size: 14px;
    color: var(--medium-gray);
}

.spec strong {
    color: var(--dark-gray);
    display: block;
    font-size: 18px;
}

.project-description {
    color: var(--medium-gray);
    line-height: 1.8;
}

/* Team Section */
.team {
    background: var(--white);
}

.team-content {
    text-align: center;
}

.team-content > p {
    color: var(--medium-gray);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-stat {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 10px;
    border-left: 4px solid var(--accent-orange);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.team-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.team-stat h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.team-stat p {
    color: var(--medium-gray);
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Safety Section */
.safety {
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.9)),
                url('images/heavy-lift-systems.jpg') center/cover;
    background-attachment: fixed;
    color: var(--white);
}

.safety .section-title {
    color: var(--white);
}

.safety .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.safety-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.safety-item {
    text-align: center;
}

.safety-icon {
    width: 100px;
    height: 100px;
    background: var(--safety-yellow);
    color: var(--primary-blue);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    border-radius: 50%;
}

.safety-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.safety-item p {
    opacity: 0.9;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--accent-orange), var(--secondary-blue));
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Contact */
.contact {
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-info {
    background: var(--primary-blue);
    color: var(--white);
    padding: 40px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item p {
    font-size: 18px;
    line-height: 1.6;
}

.contact-item a {
    color: var(--safety-yellow);
    text-decoration: none;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-form h3 {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 30px;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: var(--accent-orange);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 16px;
}

.submit-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--accent-orange);
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-orange);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* Mobile Responsive */
.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-blue);
}

@media (max-width: 1024px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        display: none;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
    }

    nav a {
        border-bottom: 1px solid #eee;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid,
    .services-grid,
    .capabilities-grid,
    .projects-showcase {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}