/* --- Modern CSS Variables for Consistent Theming --- */
:root {
    --primary-navy: #0b3c5d;
    --primary-blue: #328cc1;
    --text-dark: #1d2731;
    --text-light: #fcfcfc;
    --bg-light: #f4f6f8;
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --transition-standard: all 0.3s ease;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--text-light);
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-navy);
}

a {
    text-decoration: none;
    color: var(--primary-navy);
}

/* Utility Classes */
.container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
}

.text-center { text-align: center; }
.text-white { color: #fff !important; }
.bg-light { background-color: var(--bg-light); }
.bg-navy { background-color: var(--primary-navy); color: #fff; }

.section-padding { padding: 80px 0; }

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--primary-blue);
    margin: 0 auto 30px auto;
}
.divider-light { background-color: #fff; }

/* Navigation */
header {
    background: #fff;
    color: var(--primary-navy);
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-navy);
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    padding-left: 20px;
}

nav ul li a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-blue);
}

/* --- Top Hero Slideshow --- */
.hero-slider {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
}

.slide {
    display: none;
    height: 65vh; /* Takes up 65% of screen height */
    width: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes it fill the screen edge-to-edge */
    object-position: center center; /* Keeps the ship perfectly centered */
    display: block;
    opacity: 0.9; 
}

/* Navigation Arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 22px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px); 
    border-radius: 50%; 
    transition: var(--transition-standard);
    user-select: none;
}

.next { right: 30px; }
.prev { left: 30px; }

.prev:hover, .next:hover {
    background-color: var(--primary-blue);
    color: #fff;
}

/* Dots inside the slider */
.slideshow-dots {
    position: absolute;
    bottom: 25px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 8px;
    width: 30px; 
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 10px;
    display: inline-block;
    transition: var(--transition-standard);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.active, .dot:hover {
    background-color: #fff;
    width: 40px; 
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* --- Modern Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-standard);
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: #ffffff;
    border: 2px solid var(--primary-blue);
    box-shadow: 0 4px 10px rgba(50, 140, 193, 0.3);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-2px); 
}

/* Intro Section */
.intro p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

/* Services */
.service-box-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.service-box {
    background: #fff;
    padding: 30px;
    border-top: 4px solid var(--primary-blue);
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 500px;
}

.service-list {
    list-style: none;
    margin-top: 20px;
}

.service-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
}

/* Products */
.product-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.product-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    width: 45%;
    min-width: 300px;
}

.product-card h3 {
    color: #fff;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.product-card ul {
    list-style: none;
    text-align: left;
}

.product-card ul li {
    padding: 8px 0;
}

.product-card ul li::before {
    content: "➢ ";
    color: var(--primary-blue);
}

/* Contact */
.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: #1d2731;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media(max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li {
        padding: 5px 10px;
    }
    .product-card {
        width: 100%;
    }
    .slide { height: 40vh; }
}