/* General Styling */
body {
    font-family: 'Verdana', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #F0F3F5;
    overflow-x: hidden; /* Prevents horizontal scrolling */
}

/* Header Section */
header {
    padding-bottom: 25px;
    width: 100%;
    overflow: hidden; /* Ensures no extra space */
}

/* Top Banner */
.top-banner {
    background: #001833 !important; /* Matches navbar's starting color */
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); /* Adds a soft dark blur */
}



/* Navigation with Smooth Gradient */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px;
    background: linear-gradient(to bottom, rgba(0, 24, 51, 1) 0%, rgba(0, 43, 91, 0.95) 50%, rgba(255, 255, 255, 0) 100%);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-bottom: none;
    width: 100%;
}

/* Logo Styling */
.logo {
    margin-left: 60px; /* Slightly shifts the logo right */
}

.logo img {
    width: 140px;
    display: block;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-right: 50px; /* Keeps navigation aligned properly */
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
    padding: 10px 15px;
    border-radius: 8px;
}

/* Active Page Indicator */
.nav-links a.active {
    background: #FF5733 !important;
    color: white !important;
    border-radius: 8px;
}

/* Hover Effect */
.nav-links a:hover {
    background: #FF5733 !important;  /* Red background on hover */
    color: white !important;
    border-radius: 8px;
}


.hero {
    position: relative;
    background: url('../Images/ShipBackground.jpg') no-repeat center center/cover;
    height: 100vh; /* Adjust height as needed */
    width: 100%; /* Avoid using more than 100% width */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Black overlay */
}

.hero-content {
    position: relative; /* Ensures content is above the overlay */
    z-index: 1;
    padding: 20px;
    border-radius: 10px;
    color: #E0E0E0; /* Light Gray for a subtle, sophisticated contrast */
 /* Bright Coral Red for hero text for emphasis */
}

.shipping-section {
    background-color: #003366; /* Deep Ocean Blue */
    font-family: 'Verdana', sans-serif; /* Updated Font */
    margin: 0;
    padding: 0;
}

.shipping-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 50px;
}

.shipping-card {
    background: #003366; /* Deep Ocean Blue */
    text-align: center;
    width: 30%;
    border-radius: 8px;
    overflow: hidden;
}

.shipping-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.shipping-card p {
    background-color: #7FDBDA; /* Sea Foam Green */
    padding: 15px;
    color: white;
}


.ship-management-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    max-width: 1200px;
    margin: auto;
    gap: 50px; /* Added space between text and image */
}

.ship-info {
    width: 50%;
}

.ship-info h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #003366; /* Deep Ocean Blue for headings */
}

.ship-info p {
    font-size: 1rem;
    color: #4A4A4A; /* Stormy Gray for text */
    margin-bottom: 20px;
}

.explore-button {
    display: inline-block; /* Makes it behave like a button */
    padding: 10px 20px;
    font-size: 1rem;
    border: 2px solid black;
    background: none;
    cursor: pointer;
    border-radius: 25px;
    transition: 0.3s;
    text-decoration: none; /* Removes underline */
    color: inherit; /* Inherits color from the parent */
}

.explore-button:hover {
    background: black;
    color: white;
}


.ship-image-container {
    position: relative;
    width: 50%;
}

.ship-image-container img {
    width: 100%;
    border-radius: 10px;
}

.stats-overlay {
    position: absolute;
    bottom: 20px;
    left: -50px; /* Increased negative value to shift left */
    background: #4A78A1; /* Stormy Grayish Blue for overlay */
    color: white;
    padding: 20px;
    display: flex;
    gap: 30px;
    border-radius: 10px;
    width: 80%;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

.stats-item {
    text-align: center;
}

.stats-item h2 {
    font-size: 1.8rem;
    color: #7FDBDA; /* Sea Foam Green for stats headings */
}

.stats-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 900px) {
    .ship-management-section {
        flex-direction: column;
        text-align: center;
    }

    .ship-info, .ship-image-container {
        width: 100%;
    }

    .stats-overlay {
        position: relative;
        bottom: 0;
        left: 0;
        width: 100%;
        margin-top: 20px;
    }
}

.marine-container {
    padding: 40px 20px;
    text-align: center;
    background-color: #7FDBDA; /* Sea Foam Green background */
}

.marine-title {
    font-size: 28px;
    font-weight: bold;
    color: #003366; /* Deep Ocean Blue for title */
}

.marine-subtitle {
    font-size: 16px;
    color: #4A4A4A; /* Stormy Gray for subtitle */
    max-width: 600px;
    margin: 10px auto 30px;
}

.marine-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.marine-image {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.marine-details {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.marine-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.marine-card h3 {
    font-size: 18px;
    color: #003366; /* Deep Ocean Blue for card headings */
}

.marine-card p {
    font-size: 14px;
    color: #666;
}

/* Responsive Design */
@media (min-width: 768px) {
    .marine-content {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }

    .marine-details {
        text-align: left;
    }
}

.testimonial-section {
    background-color: #003366; /* Deep Ocean Blue */
    padding: 50px 20px;
    text-align: center;
}

.testimonial-container {
    max-width: 700px;
    margin: 0 auto;
    color: white;
}

.testimonial-stars {
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto 20px;
}

.testimonial-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid white;
}

.testimonial-name {
    margin-top: 5px;
    font-size: 16px;
    font-weight: bold;
    color: #7FDBDA; /* Sea Foam Green for user name */
}

.ship-management {
    text-align: center;
    padding: 50px 20px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-right: 20%;
    color: #003366; /* Deep Ocean Blue */
    margin-left: 7%;
}

.section-description {
    font-size: 16px;
    color: #4A4A4A; /* Stormy Gray */
    margin-bottom: 40px;
    margin-right: 1%;
    margin-left: 5%;
}

.services-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the entire section */
    justify-content: center;
    width: 100%;
    text-align: center; /* Ensures the heading is centered */
    padding: 40px 0;
}

.service {
    display: flex;
    align-items: center;
    justify-content: center; /* Centers the content */
    gap: 20px;
    max-width: 70%; /* Keeps the section properly centered */
    margin-bottom: 30px;
    margin-left: 21%;
}

.service:nth-child(even) {
    flex-direction: row; /* Keeps all images on the left */
}

.service-image {
    width: 350px; /* Adjusts image size for better proportion */
    height: auto;
    border-radius: 10px;
    margin: 10px;
}

.service-text {
    max-width: 400px;
    text-align: left;
}

.service-title {
    font-size: 18px; /* Slightly reduced font size */
    font-weight: bold;
    margin-bottom: 8px;
    color: #003366; /* Deep Ocean Blue */
}

.service-description {
    font-size: 14px; /* Reduced for better readability */
    color: #555;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service {
        flex-direction: column; /* Stack image and text for small screens */
        text-align: center;
    }

    .service:nth-child(even) {
        flex-direction: column; /* Ensures consistency on smaller screens */
    }

    .service-text {
        text-align: center;
    }
}

footer {
    background: linear-gradient(to right, #003366, #004080);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.footer-info,
.footer-contact {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-info h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-info p,
.footer-contact p {
    font-size: 14px;
    line-height: 1.5;
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.footer-icons img {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.footer-icons img:hover {
    transform: scale(1.2);
}

.footer-contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-contact-form input {
    width: 90%;
    max-width: 350px;
    padding: 10px;
    margin-top: 5px;
    border-radius: 20px;
    border: 1px solid white;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-align: center;
}

.footer-contact-form input::placeholder {
    color: white;
    opacity: 0.8;
}

.footer-contact-form button {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    margin-top: 10px;
    cursor: pointer;
    color: white;
    font-size: 14px;
    transition: background 0.3s ease;
}

.footer-contact-form button:hover {
    background: rgba(255, 255, 255, 0.5);
}

