:root {
    --secondary-color: #088395;
    --accent-color: #05bfdb;
    --light-color: #00ffca;
    --text-color: #333;
    --bg-color: #f5f5f5;
}

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

.container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.container h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.container h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 0.75rem;
}

.container p {
    margin-bottom: 1.2rem;
}

.section {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.position_intro {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    height: auto;
}

.position_intro p { width: 40%;margin-bottom: 0;padding: 0 1.5rem; }

.image-container {
    max-width: 100%;
    text-align: center;
    margin: 0;
}

.image-container img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

ul, ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

th, td {
    padding: 0.75rem;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: var(--secondary-color);
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Hero Section */
.hero {
    background-image: url('../newImages/Position\ engineering\ 1.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 700px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4fc3f7;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0d8ecf;
}

.subsea-animation {
    width: 100%;
    height: 300px;
    background-color: #0a4d68;
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
    border-radius: 8px;
}

.rov {
    position: absolute;
    width: 80px;
    height: 40px;
    background-color: yellow;
    border-radius: 10px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

/* Media Queries */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .container {
        width: 95%;
    }
    }

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
   
    
    .section {
        padding: 1.5rem;
    }
    
    .subsea-animation {
        height: 200px;
    }
    
    .subsea-hero-section {
        height: 80vh;
    }
    
    .subsea-hero-title {
        font-size: 2.5rem;
    }
    
    .subsea-hero-tagline {
        font-size: 1.2rem;
    }
    
    .subsea-hero-cta-container {
        flex-direction: column;
        gap: 15px;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .container {
        width: 100%;
        padding: 1rem;
    }
    
    .intro, .section {
        padding: 1rem;
        border-radius: 0;
    }
    
    .subsea-nav-links {
        width: 80%;
    }
    
    .subsea-animation {
        height: 150px;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 0.5rem;
    }
    
    .subsea-hero-title {
        font-size: 2rem;
    }
    
    .subsea-hero-tagline {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .subsea-hero-cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}