/* BLUE ENERGY SHIP MANAGEMENT - MAIN STYLES */
/* Deep Navy #0A2B4E | Ocean Blue #1E6F9F | Light Blue #4FB3E8 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F8FAFC;
}

/* Container - Full width, edge to edge */
.container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 30px;
}

/* Header - wider ribbon */
header {
    background: #0A2B4E;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

/* Logo styles - Image on left, text stacked on right */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Logo Image - NO circle, properly sized */
.logo-image {
    height: 52px;
    width: 52px;
    object-fit: contain;
    display: block;
    border-radius: 0 !important;
    background: transparent;
}

/* Text part of logo - stacked vertically (2 lines) */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

/* BLUE ENERGY - larger font (TOP LINE) */
.logo-text .blue-energy {
    font-size: 22px;
    font-weight: 700;
    color: #4FB3E8;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* SHIP MANAGEMENT PTE. LTD. - smaller font (BOTTOM LINE) */
.logo-text .ship-mgmt {
    font-size: 10px;
    font-weight: 500;
    color: #ccc;
    letter-spacing: 1.5px;
    line-height: 1.2;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
}

nav ul li a:hover {
    color: #4FB3E8;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 8px;
    margin-left: 15px;
}

.lang-btn {
    background: transparent;
    border: 1px solid #4FB3E8;
    color: #4FB3E8;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s;
}

.lang-btn.active {
    background: #4FB3E8;
    color: #0A2B4E;
}

.lang-btn:hover {
    background: #4FB3E8;
    color: #0A2B4E;
}

/* Hero Section - dark blue gradient */
.hero {
    background: linear-gradient(135deg, #0A2B4E 0%, #1E6F9F 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    width: 100%;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background: #4FB3E8;
    color: #0A2B4E;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s;
    margin: 0 10px;
}

.btn-outline {
    background: transparent;
    border: 2px solid #4FB3E8;
    color: white;
}

.btn:hover {
    background: #3a9bd0;
    transform: translateY(-2px);
}

/* Stats Section */
.stats {
    background: white;
    padding: 50px 0;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item h3 {
    font-size: 42px;
    color: #1E6F9F;
}

.stat-item p {
    font-size: 18px;
    color: #555;
}

/* Sections */
.section {
    padding: 60px 0;
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #0A2B4E;
}

.section-subtitle {
    text-align: center;
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Cards */
.grid-4 {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 240px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.card h3 {
    color: #0A2B4E;
    margin-bottom: 12px;
    font-size: 20px;
}

.card p {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.card ul {
    text-align: left;
    padding-left: 20px;
}

.card li {
    margin-bottom: 8px;
    font-size: 14px;
}

/* Fleet Table - Better column spacing */
.fleet-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    table-layout: fixed;
}

.fleet-table th,
.fleet-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

/* Set specific column widths for better spacing */
.fleet-table th:nth-child(1) { width: 8%; }   /* SL */
.fleet-table th:nth-child(2) { width: 32%; }  /* Vessel Type */
.fleet-table th:nth-child(3) { width: 15%; }  /* DWT */
.fleet-table th:nth-child(4) { width: 20%; }  /* Flag */
.fleet-table th:nth-child(5) { width: 25%; }  /* Class */

.fleet-table th {
    background: #0A2B4E;
    color: white;
    font-weight: 600;
}

.fleet-table tr:hover {
    background: #f5f5f5;
}

/* Responsive table for mobile */
@media (max-width: 768px) {
    .fleet-table {
        table-layout: auto;
        font-size: 12px;
    }
    
    .fleet-table th,
    .fleet-table td {
        padding: 8px 10px;
    }
    
    .fleet-table th:nth-child(1) { width: auto; }
    .fleet-table th:nth-child(2) { width: auto; }
    .fleet-table th:nth-child(3) { width: auto; }
    .fleet-table th:nth-child(4) { width: auto; }
    .fleet-table th:nth-child(5) { width: auto; }
}
/* Contact Form */
.contact-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    background: #0A2B4E;
    color: white;
    padding: 30px;
    border-radius: 10px;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: #4FB3E8;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-form {
    flex: 2;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background: #1E6F9F;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #0A2B4E;
}

/* Footer */
footer {
    background: #0A2B4E;
    color: white;
    padding: 40px 0 20px;
    width: 100%;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    margin-bottom: 15px;
    color: #4FB3E8;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: #4FB3E8;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1a3a5a;
    font-size: 14px;
    color: #888;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Wide screens - keep content readable with padding */
@media (min-width: 1920px) {
    .container {
        padding: 0 80px;
    }
}

@media (min-width: 2560px) {
    .container {
        padding: 0 120px;
    }
}

/* Tablet and medium screens (1100px and below) */
@media (max-width: 1100px) {
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .logo {
        order: 1;
    }
    
    .lang-switcher {
        order: 2;
        margin-left: auto;
    }
    
    .menu-toggle {
        order: 3;
        display: block;
    }
    
    nav {
        order: 4;
        width: 100%;
    }
    
    nav ul {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        gap: 15px;
    }
    
    nav ul.active {
        display: flex;
    }
    
    .container {
        padding: 0 20px;
    }
}

/* Mobile screens (768px and below) */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .fleet-table {
        font-size: 12px;
    }
    
    .fleet-table th,
    .fleet-table td {
        padding: 8px;
    }
    
    .btn {
        margin-bottom: 10px;
    }
    
    .logo-image {
        height: 40px;
        width: 40px;
    }
    
    .logo-text .blue-energy {
        font-size: 16px;
    }
    
    .logo-text .ship-mgmt {
        font-size: 8px;
    }
    
    .lang-switcher {
        margin-left: 0;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Small mobile screens (480px and below) */
@media (max-width: 480px) {
    .logo {
        gap: 10px;
    }
    
    .logo-image {
        height: 35px;
        width: 35px;
    }
    
    .logo-text .blue-energy {
        font-size: 14px;
    }
    
    .logo-text .ship-mgmt {
        font-size: 7px;
    }
    
    .stats-grid {
        gap: 20px;
    }
    
    .stat-item h3 {
        font-size: 32px;
    }
    
    .stat-item p {
        font-size: 14px;
    }
    
    .container {
        padding: 0 12px;
    }
}