/* CSS Reset and Variables for Sanity */
:root {
    --primary-color: #0b3d60;
    --accent-color: #2b6cb0;
    --text-main: #2d3748;
    --text-light: #718096;
    --bg-gray: #f7fafc;
    --white: #ffffff;
}

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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--white);
}

h1, h2, h3 {
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(11, 61, 96, 0.75), rgba(11, 61, 96, 0.75)), 
                url('https://lirp.cdn-website.com/aa71ba7b/dms3rep/multi/opt/Ocean+View+DE+Dredge-1920w.jpg') center/cover no-repeat;
    height: 80vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    color: var(--white);
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.5rem;
    font-weight: 300;
    max-width: 800px;
}

/* Shared Section Styles */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

/* About Section (Flexbox Layout) */
.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}

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

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: block;
}

/* Why Choose Us Section (CSS Grid Cards) */
.bg-light {
    background-color: var(--bg-gray);
    max-width: 100%; 
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid var(--accent-color);
    transition: transform 0.3s ease;
}

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

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

/* Mission Banner */
.mission-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('https://lirp.cdn-website.com/aa71ba7b/dms3rep/multi/opt/VMI+615+CMS-1920w.jpg') center/cover no-repeat fixed;
    padding: 6rem 2rem;
    text-align: center;
    color: var(--white);
    max-width: 100%;
}

.mission-banner h2 {
    color: var(--white);
    font-size: 2.5rem;
}

.mission-banner p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #cbd5e0;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #a0aec0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.2rem; }
    .about-grid { gap: 2rem; }
    .mission-banner { background-attachment: scroll; } 
}


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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease-in-out;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* The Dropdown Magic */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    min-width: 260px;
    border-top: 3px solid var(--accent-color);
    border-radius: 0 0 4px 4px;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-bottom: 1px solid var(--bg-gray);
}

.dropdown-menu a:hover {
    background-color: var(--bg-gray);
    color: var(--primary-color);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* =========================================
   INTERNAL SUBPAGE STYLES
   ========================================= */
.internal-hero {
    background: linear-gradient(rgba(11, 61, 96, 0.85), rgba(11, 61, 96, 0.85)), 
                url('https://lirp.cdn-website.com/aa71ba7b/dms3rep/multi/opt/Ocean+View+DE+Dredge-1920w.jpg') center/cover no-repeat;
    padding: 5rem 2rem;
    text-align: center;
    color: var(--white);
}

.internal-hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.internal-hero p {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
}

.page-content {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.page-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.page-content ul {
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.page-content h3 {
    margin-top: 2.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--bg-gray);
    padding-bottom: 0.5rem;
}