/* 
   Ship Owning & Tanker Operations Website
   Theme: Premium, Corporate, Maritime
   Colors: Navy Blue, Black, White, Sky Blue 
*/

:root {
    /* Color Palette */
    --color-primary: #181515;
    /* Black */
    --color-secondary: #1a1a1a;
    /* Dark Grey for contrast */
    --color-accent: #3BB9FF;
    /* Vivid Sky Blue */
    --color-white: #ffffff;
    --color-text-light: #e0e0e0;
    /* Slightly off-white for text on black */
    --color-text-dark: #333333;
    --color-bg-light: #f9f9f9;
    --color-border: #e6e6e6;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Header Heights */
    --header-height: 120px;
    --header-height-scrolled: 80px;
    --logo-height: 120px;
    --logo-height-scrolled: 60px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease-in-out;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 18px;
    /* Increased base font size */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 96%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.text-accent {
    color: var(--color-accent);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-accent);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: white;
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-white-outline {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-white-outline:hover {
    background-color: white;
    color: var(--color-primary);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 35px;
}

/* Scroll Animation Classes */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Layout Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

.gap-40 {
    gap: 40px;
}

.gap-50 {
    gap: 50px;
}

.col-1-2 {
    flex: 1;
    min-width: 300px;
}

.w-100 {
    width: 100%;
}

.mt-10 {
    margin-top: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-5 {
    margin-bottom: 5px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mr-8 {
    margin-right: 8px;
}

.mr-10 {
    margin-right: 10px;
}

.text-white {
    color: #ffffff !important;
}

.text-muted {
    color: #a8b2d1;
}

.text-muted-dark {
    color: #555;
}

.font-weight-700 {
    font-weight: 700;
}

.font-size-0-95 {
    font-size: 0.95rem;
}

.font-size-1-2 {
    font-size: 1.2rem;
}

.line-height-1-6 {
    line-height: 1.6;
}

.section-light {
    background-color: var(--color-bg-light);
}

.content-image-small {
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
}

/* Onboarding Component */
.onboarding-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.onboarding-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--color-border);
    transition: background 0.3s ease;
}

.onboarding-item:last-child {
    border-bottom: none;
}

.onboarding-item:hover {
    background-color: var(--color-bg-light);
}

.onboarding-subtext {
    font-size: 0.85rem;
    color: #777;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    background-color: transparent;
    display: flex;
    align-items: center;
    transition: height 0.3s ease, background-color 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Header on scroll */
.header.scrolled {
    height: var(--header-height-scrolled);
    background-color: #ffffff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

/* Nav container */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.logo img {
    height: var(--logo-height);
    width: auto;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    transition: height var(--transition-normal);
}

.header.scrolled .logo img {
    height: var(--logo-height-scrolled);
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links li {
    width: 140px;
    /* Increased width for larger font */
    height: 60px;
    transition: background-position-x 0.9s linear;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


.nav-link {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    /* WHITE by default */
    transition: color 0.3s ease;
}


.header.scrolled .nav-link {
    color: var(--color-primary);
}

/* Hover when header is transparent */
.nav-links li:hover .nav-link {
    color: var(--color-accent);
}

/* Hover when header is scrolled (white bg) */
.header.scrolled .nav-links li:hover .nav-link {
    color: var(--color-accent);
}

.nav-link {
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
    right: auto;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 260px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 4px;
    padding: 10px 0;
    transition: all 0.3s ease;
    transform: translateY(10px);
    text-align: left;
    border-top: 3px solid var(--color-accent);
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content li {
    width: 100% !important;
    height: auto !important;
    text-align: left !important;
    display: block !important;
}

.dropdown-content a {
    color: var(--color-text-dark);
    padding: 10px 20px;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-content a::after {
    display: none;
}

.dropdown-content a:hover {
    background-color: var(--color-bg-light);
    color: var(--color-accent);
    padding-left: 25px;
}

.header .nav-links .dropdown-content a {
    color: var(--color-text-dark);
}

.header .nav-links .dropdown-content a:hover {
    color: var(--color-accent);
}

/* Mobile Dropdown styles */
.mobile-dropdown-content {
    padding-left: 20px;
    display: none;
    /* Hide by default */
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 10px;
    border-left: 2px solid var(--color-border);
    margin-left: 10px;
}

.mobile-dropdown-content.active {
    display: flex;
    /* Show when active class is added by JS */
}

.mobile-sub-link {
    color: var(--color-primary);
    font-size: 0.95rem;
    font-weight: 400;
}

.mobile-sub-link:hover {
    color: var(--color-accent);
}

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-primary);
    /* Black toggle */
}

.header.scrolled .mobile-toggle {
    color: var(--color-primary);
}

/* Mobile Menu */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: white;
    z-index: 1001;
    transition: right 0.3s ease-in-out;
    padding: 100px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.mobile-menu-drawer.active {
    right: 0;
}

.mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--color-primary);
    /* black */
    z-index: 10;
}


.mobile-nav-link {
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 500;
}

.mobile-nav-link:hover {
    color: var(--color-accent);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    padding-top: 150px;

}

.hero-content {
	width:86%;
    max-width: 900px;
}

.hero-title {
    font-size: 3.0rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
	font-weight:600;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Subpage Heroes */
.page-hero,
.page-hero-small {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.page-hero {
    height: 70vh;
    padding-top: 100px;
}

.page-hero-small {
    height: 50vh;
    padding-top: 100px;
}

.hero-about {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../images/ship.png') no-repeat center center/cover;
}

.hero-fleet {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../images/tanker-deck.png') no-repeat center center/cover;
}

.hero-contact {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../images/port-operations.jpg') no-repeat center center/cover;
}

.text-white {
    color: #ffffff !important;
}

.mt-10 {
    margin-top: 10px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Key Strengths (Icon Cards) */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
    /* space between paragraph and cards */
}

.card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--color-accent);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
    border-top-color: var(--color-primary);
}

.card-icon {
    font-size: 2rem;
    color: #02479a;
    margin-bottom: 9px;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;

}

.card-text {
    font-size: 0.95rem;
    color: #666;
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--color-primary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}


.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-info-item p {
    font-size: 0.9rem;
}
ul.text-muted-dark { padding-left:32px; }
ul.text-muted-dark > li > i {
	position:absolute; 
	left:0px; 
	margin-top:5px;
}


/* Footer */
.footer {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 30px 0;
}

.footer-content {
    margin: 0;
    padding: 10px;
}

.footer-col {
    display: inline-block;
    margin: 0;
    padding: 6px;
    vertical-align: top;
}

.col-6 {
    width: 49%;
}

.col-2 {
    width: 16%;
}

.col-4 {
    width: 33%;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #a8b2d1;
    max-width: 340px;
}

.footer-tagline {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #8fa4c8;
}

.footer h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 18px;
}

.footer-links li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #a8b2d1;
}

.footer-links a {
    color: #a8b2d1;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--color-accent);
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 15px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 0.95rem;
    transition: 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
    color: #ffffff;
}


/* Copyright */
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #8fa4c8;
}

.address-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.address-item i {

    margin-top: 4px;
    /* aligns icon with first line */
    min-width: 16px;
}

.address-item span {
    display: block;
}




@media (max-width: 768px) {

    /* ---------- GLOBAL ---------- */
    html {
        font-size: 16px;
    }

    .section {
        padding: 3rem 0;
    }

    .container {
        width: 94%;
    }

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
        font-size: 1.9rem;
        cursor: pointer;
        color: #ffffff;

        /* white on transparent header */
        position: relative;
        z-index: 1100;
        padding: 8px;
    }

    .header.scrolled .mobile-toggle {
        color: var(--color-primary);

    }

    .logo img {
        height: 80px;
        margin-bottom: 40px;
    }

    .header.scrolled .logo img {
        height: 60px;
        margin-top: 45px;
    }

    /* ---------- HERO / PAGE HERO ---------- */
    .hero,
    .page-hero,
    .page-hero-small {
        height: auto;
        padding: 140px 15px 80px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.7rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
    }

    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        padding: 22px;
        text-align: center;
    }


    .contact-form-container {
        padding: 25px;
    }

    .footer-col {
        display: block;
    }

    .col-6,
    .col-4,
    .col-3,
    .col-2 {
        width: 100%;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .copyright {
        font-size: 0.8rem;
    }
}


@media (min-width: 769px) and (max-width: 1024px) {


    .container {
        width: 94%;
    }

    .section {
        padding: 3.5rem 0;
    }


    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
        font-size: 2rem;
        cursor: pointer;
        color: #ffffff;
        position: relative;
        z-index: 1100;
        padding: 8px;
    }

    .header.scrolled .mobile-toggle {
        color: var(--color-primary);
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }


    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }


}


@media (min-width: 1400px) {
    .container {
        max-width: 1500px;
    }
}

/* --- Consolidated Styles from HTML --- */
.hero-home {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../images/about-image.jpg') no-repeat center center/cover !important;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 15px auto;
}

.op-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.flex-row-reverse {
    flex-direction: row-reverse;
}

.op-col {
    flex: 1;
    min-width: 300px;
}

.op-img {
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.max-width-700 {
    max-width: 700px;
}

.mb-60 {
    margin-bottom: 60px;
}

.mb-80 {
    margin-bottom: 80px;
}

.mt-20 {
    margin-top: 20px;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.text-uppercase {
    text-transform: uppercase;
}

.list-checked {
    list-style: none;
    padding-left: 0;
}

.list-checked-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.list-checked-icon {
    color: var(--color-accent);
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

.list-checked-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.card-header-flex {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}