/* Global Styles */
:root {
    --primary-color: #0056b3;
    --secondary-color: #003d82;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Open+Sans:wght@400;600&display=swap');

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Navigation */

.navbar-toggler {
    border-color: #222;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(34,34,34,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar {
    padding: 5px 0;
    background-color: white;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: #222 !important;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar-brand img {
    display: block;
    height: 80px;
}

@media (max-width: 991.98px) {
    .navbar-brand img {
        position: static;
        height: 70px;
    }
}

.nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    color: #222 !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn {
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 0 0.25rem;
}

.btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    z-index: -2;
}

.btn:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--primary-color);
    transition: all 0.3s;
    z-index: -1;
}

.btn:hover:before {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-light:hover {
    color: var(--primary-color) !important;
    background-color: white;
}

/* Hero Section */
.hero {
    background: url(../images/vecteezy_the-container-cargo-ship-on-the-sea-with_23291593-scaled.jpg) no-repeat center center/cover;
    color: white;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    text-align: center;
    padding: 120px 0 80px;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons .btn {
    margin: 0.5rem;
    min-width: 160px;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar {
        text-align: left;
        padding: 10px 0;
    }
    
    .navbar-brand {
        display: inline-block;
        float: left;
        margin: 0;
    }
    
    .navbar-toggler {
        position: absolute;
        right: 15px;
        top: 20px;
        transform: none;
    }
    
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        margin-top: 10px;
        border-radius: 5px;
    }

    .navbar-collapse .nav-link {
        color: #222 !important;
    }

    .navbar-collapse .nav-link:hover, .navbar-collapse .nav-link.active {
        color: var(--primary-color) !important;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .btn {
        width: 100%;
        margin: 5px 0 !important;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 80%;
        margin: 10px auto !important;
    }
}

/* Section Styling */
.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

section {
    padding: 5rem 0;
    position: relative;
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    background: white;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: white;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    color: white;
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: #666;
    margin-bottom: 0;
}

.card {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}
.card .service-icon {
    margin-bottom: 20px;
}
.card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}
.card .card-text {
    min-height: 70px;
    margin-bottom: 20px;
}
.card ul.list-unstyled {
    margin-bottom: 0;
}
.card-body {
    padding: 2rem 1.2rem;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
.form-control {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1.5rem;
}

footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

footer, footer * {
    color: #fff !important;
}

footer.bg-light, footer.bg-light * {
    color: #222 !important;
}

footer a,
footer .list-unstyled a,
footer .text-muted,
footer ul li a {
    color: #fff !important;
    transition: color 0.3s ease;
}

footer a:hover,
footer .list-unstyled a:hover,
footer ul li a:hover {
    color: #f8f9fa !important;
    text-decoration: underline;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--dark-color);
    color: white;
    transform: translateY(-3px);
}
