/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #001122;
}

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

/* Navigation */
header {
    background: linear-gradient(135deg, #001f3f 0%, #00bfff 100%);
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    height: 50px;
    width: auto;
    max-width: 200px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
    position: relative;
    padding-bottom: 0.5rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #00bfff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00bfff;
    font-weight: 600;
}

/* Hamburger Menu for Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
    display: block;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    background-color: #001122; /* Dark navy background */
    background-image: url('https://static.vecteezy.com/system/resources/previews/013/353/656/non_2x/dotted-map-of-the-world-world-map-from-circles-stock-illustration-free-vector.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 150px 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 64, 0.9); /* Even darker overlay to dim background more */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.about-hero {
    background-color: #001122; /* Fallback */
    background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 120px 0; /* Slightly less than hero */
    text-align: center;
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 31, 63, 0.7);
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero {
    background-color: #001122; /* Fallback */
    background-image: url('https://png.pngtree.com/png-vector/20231127/ourmid/pngtree-web-contact-us-icons-on-blue-tags-online-png-image_10709663.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 120px 0; /* Slightly less than hero */
    text-align: center;
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #00bfff 0%, #001f3f 100%);
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.5);
}

/* Sections */
.section {
    padding: 80px 0;
    background-color: #001122;
    color: #fff;
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #00bfff;
    font-weight: 700;
    font-size: 2.5rem;
}

.section p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Services Background Overlay */
.services-bg {
    position: relative;
}

.services-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://shippingcontainersofgrangemouth.co.uk/images/containerimages/scotland_shipping_container17.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    z-index: 1;
}

.services-bg .container {
    position: relative;
    z-index: 2;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, #001f3f 0%, #002244 100%);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
    border: 1px solid #00bfff;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 191, 255, 0.4);
    border-color: #00bfff;
}

.service-card i {
    font-size: 4rem;
    color: #00bfff;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Why Choose Us */
.why-choose {
    background: linear-gradient(135deg, #001122 0%, #001f3f 100%);
    padding: 80px 0;
}

.why-choose h2 {
    color: #00bfff;
}

.why-choose ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.why-choose li {
    background: #001f3f;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border-left: 5px solid #00bfff;
}

.why-choose li i {
    color: #00bfff;
    margin-right: 1rem;
    font-size: 1.5rem;
}

/* Mission, Vision, Values */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mvv-card {
    background: linear-gradient(135deg, #001f3f 0%, #002244 100%);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid #00bfff;
}

.mvv-card i {
    font-size: 3rem;
    color: #00bfff;
    margin-bottom: 1.5rem;
}

.mvv-card h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Cargo Section */
.cargo-section {
    background-color: #001122;
    color: #fff;
}

.cargo-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cargo-text {
    flex: 1;
}

.cargo-text h2 {
    color: #00bfff;
    margin-bottom: 1rem;
}

.cargo-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cargo-images img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.supporting-image {
    width: 50%;
    align-self: flex-start;
}

/* Team */

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    background: #001f3f;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid #00bfff;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, #001f3f 0%, #002244 100%);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid #00bfff;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #00bfff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #00bfff;
    border-radius: 8px;
    background: #001122;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00bfff;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    background: linear-gradient(135deg, #001f3f 0%, #002244 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 1px solid #00bfff;
}

.contact-item i {
    font-size: 2.5rem;
    color: #00bfff;
    margin-bottom: 1rem;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #001f3f 0%, #00bfff 100%);
    color: #fff;
    padding: 3rem 0 1rem;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    margin: 1rem;
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: #00bfff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #00bfff;
}

.footer-section .social-icons a {
    display: inline-block;
    margin: 0 0.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.footer-section .social-icons a:hover {
    transform: scale(1.2);
    color: #00bfff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100vh;
        background: linear-gradient(135deg, #001f3f 0%, #00bfff 100%);
        padding: 5rem 2rem 2rem;
        transition: left 0.3s ease-in-out;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin-bottom: 20px;
    }

    .nav-links a {
        font-size: 18px;
        padding: 15px 0;
        display: block;
        color: #fff;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: color 0.3s;
    }

    .nav-links a:hover {
        color: #00bfff;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .menu-toggle {
        display: flex;
    }

    .logo img {
        height: 40px;
        max-width: 150px;
    }

    header {
        position: sticky;
        top: 0;
        height: auto;
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-right: none;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

    nav .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }


    .nav-links li {
        margin-left: 2rem;
        margin-bottom: 0;
        width: auto;
    }

    body {
        padding-left: 0;
    }

    .hero {
        padding: 100px 0;
        background-size: cover;
    }

    .about-hero {
        padding: 80px 0;
        background-size: cover;
    }

    .contact-hero {
        padding: 80px 0;
        background-size: cover;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .footer-content {
        flex-direction: column;
    }

    .services-grid,
    .mvv-grid,
    .team-grid,
    .why-choose ul,
    .contact-info {
        grid-template-columns: 1fr;
    }

    .cargo-content {
        flex-direction: column;
    }

    .cargo-images {
        order: -1;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(0, 191, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 191, 255, 0.8); }
    100% { box-shadow: 0 0 5px rgba(0, 191, 255, 0.5); }
}

.btn:hover {
    animation: glow 2s infinite;
}