/* ===================================
   UnionShip Styles
   Maritime/Ocean Theme
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   Header / Navigation
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem var(--spacing-md);
    padding-left: 0;
    gap: 15px;
    /* Prevent logo crowding */
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    font-size: 2rem;
    color: var(--color-ship-accent);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    /* Dark Text */
}

.highlight {
    color: var(--color-ship-accent);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: #1f2937;
    /* Dark Text */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: var(--color-ship-accent);
}

/* Dropdown Menu */
.nav-list li {
    position: relative;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    /* White dropdown */
    min-width: 250px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    z-index: 1000;
    list-style: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.nav-list li:hover .dropdown {
    display: block;
}

.dropdown li {
    padding: 0;
}

.dropdown a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #1f2937;
    /* Dark text */
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown a:hover {
    background: rgba(8, 145, 178, 0.1);
    color: var(--color-ship-accent);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1f2937;
    /* Dark icon */
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-ship);
    color: white;
    box-shadow: var(--shadow-ship);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(2, 132, 199, 0.7);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-ship-primary);
    color: var(--color-ship-primary);
}

.btn-outline:hover {
    background: var(--color-ship-primary);
    color: white;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: 180px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(12, 74, 110, 0.9) 0%, rgba(2, 132, 199, 0.8) 100%);
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: white;
}

.text-gradient {
    background: linear-gradient(to right, #e0f2fe, #bae6fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-ship-light);
    margin-bottom: var(--spacing-md);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
}

/* ===================================
   Page Header for Service Pages
   =================================== */

.page-header {
    padding-top: 100px;
    padding-bottom: var(--spacing-md);
    background: var(--color-bg-secondary);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-ship-accent);
    margin-bottom: var(--spacing-sm);
}

.page-header h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-text);
    margin-top: var(--spacing-sm);
}

.page-header hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, var(--color-ship-primary), transparent);
    margin: var(--spacing-sm) 0;
}

/* ===================================
   Content Section for Service Pages
   =================================== */

.content-section {
    background: var(--color-bg);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-image {
    float: right;
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    max-width: 400px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.3);
}

.content-wrapper p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    text-align: justify;
}

.content-wrapper ul {
    margin: var(--spacing-sm) 0;
    margin-left: var(--spacing-md);
}

.content-wrapper li {
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.content-wrapper strong {
    color: var(--color-ship-accent);
}

.related-links-list h2 {
    margin: var(--spacing-sm) 0;
}

.related-links-list h2 a {
    color: var(--color-ship-accent);
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.related-links-list h2 a:hover {
    color: var(--color-ship-light);
    transform: translateX(10px);
}

/* ===================================
   Feedback Form
   =================================== */

.feedback-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.feedback-form {
    background: linear-gradient(145deg, rgba(12, 74, 110, 0.3), rgba(8, 145, 178, 0.2));
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid rgba(8, 145, 178, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group label {
    display: block;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(10, 14, 23, 0.5);
    border: 1px solid rgba(8, 145, 178, 0.3);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-ship-accent);
}

.rating-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.5rem;
}

.rating-stars input {
    display: none;
}

.rating-stars label {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: color 0.3s ease;
}

.rating-stars input:checked~label,
.rating-stars label:hover,
.rating-stars label:hover~label {
    color: #ffd700;
}

.contact-info-box p {
    margin: 0.75rem 0;
    color: var(--color-text-muted);
}

.contact-info-box i {
    color: var(--color-ship-accent);
    margin-right: 0.5rem;
}

.contact-info-box a {
    color: var(--color-ship-accent);
    text-decoration: none;
}

/* ===================================
   Mission Section
   =================================== */

.mission {
    background: var(--color-bg-secondary);
    padding: var(--spacing-lg) 0;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-ship-accent);
    margin-bottom: var(--spacing-sm);
}

.mission-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.mission-content p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    text-align: justify;
}

/* ===================================
   Sections
   =================================== */

.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

/* ===================================
   Services Grid
   =================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: linear-gradient(145deg, rgba(12, 74, 110, 0.3), rgba(8, 145, 178, 0.2));
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid rgba(8, 145, 178, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(2, 132, 199, 0.3);
    border-color: var(--color-ship-accent);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-ship);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: var(--spacing-sm);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-ship-accent);
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-top: var(--spacing-sm);
}

.service-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
}

.service-features i {
    color: var(--color-ship-accent);
}

/* ===================================
   Value Added Section
   =================================== */

.value-added {
    background: var(--color-bg-secondary);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-md);
}

.value-card {
    background: linear-gradient(145deg, rgba(12, 74, 110, 0.3), rgba(8, 145, 178, 0.2));
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid rgba(8, 145, 178, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(2, 132, 199, 0.3);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-ship);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: var(--spacing-sm);
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-ship-accent);
    margin-bottom: var(--spacing-sm);
}

.value-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.value-features h4 {
    color: var(--color-text);
    margin: var(--spacing-sm) 0;
    font-size: 1.1rem;
}

.value-features ul {
    list-style: none;
    padding-left: var(--spacing-sm);
}

.value-features li {
    padding: 0.3rem 0;
    color: var(--color-text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.value-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-ship-accent);
}

/* ===================================
   Contact Section
   =================================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-info,
.contact-form {
    background: linear-gradient(145deg, rgba(12, 74, 110, 0.3), rgba(8, 145, 178, 0.2));
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid rgba(8, 145, 178, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
}

.contact-info h3,
.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-ship-accent);
    margin-bottom: var(--spacing-sm);
}

.contact-item {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    color: var(--color-text-muted);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-ship-accent);
    min-width: 30px;
}

.contact-item a {
    color: var(--color-ship-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--color-ship-light);
}

.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(10, 14, 23, 0.5);
    border: 1px solid rgba(8, 145, 178, 0.3);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-ship-accent);
}

/* ===================================
   Union Group Section
   =================================== */

.union-group-section {
    background: var(--color-bg-secondary);
}

.union-group-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.2), rgba(16, 185, 129, 0.1));
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.union-logo {
    height: 80px;
    margin-bottom: var(--spacing-sm);
}

.union-group-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.union-group-card p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: #ffffff;
    /* White background */
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
}

.footer-brand p {
    color: #4b5563;
    /* Dark grey */
    margin-top: 0.5rem;
}

.footer-brand a {
    color: var(--color-ship-accent);
    text-decoration: none;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: var(--color-ship-accent);
    margin-bottom: var(--spacing-sm);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--color-ship-accent);
}

/* ===================================
   WhatsApp Float Button
   =================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ===================================
   Animations
   =================================== */

.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        z-index: 1100;
    }

    .logo-img {
        height: 40px !important;
        /* Force smaller logo on mobile */
        width: auto;
        transform: scale(3.5);
        transform-origin: left center;
        margin-left: 10px;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        gap: 1.5rem;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-list.active {
        display: flex;
    }

    /* Mobile Dropdown - Always visible or easier to access */
    .dropdown {
        position: static;
        display: block;
        /* Show by default in mobile menu */
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 1rem;
        border-left: 2px solid var(--color-ship-accent);
        margin-top: 0.5rem;
    }

    .dropdown a {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Responsive adjustments
   =================================== */

@media (max-width: 768px) {

    /* Header & Navigation */
    .header-container {
        padding: 0.5rem 1rem;
    }

    .logo-img {
        height: 75px !important;
        /* Smaller logo on mobile */
    }

    .mobile-menu-btn {
        display: block;
        /* Show hamburger menu */
        color: var(--color-ship-secondary);
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 100px;
        /* Ensure items start below header */
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        backdrop-filter: blur(10px);
    }

    .nav-list.active {
        right: 0;
    }

    .nav-list li {
        margin: 1.5rem 0;
    }

    .nav-link {
        font-size: 1.2rem;
        color: var(--color-ship-secondary);
    }

    /* Make Dropdown visible on mobile */
    .dropdown {
        display: block;
        position: static;
        visibility: visible;
        opacity: 1;
        box-shadow: none;
        background: transparent;
        padding-left: 20px;
        width: 100%;
        border: none;
    }

    .dropdown a {
        padding: 0.5rem 0;
        color: var(--color-ship-secondary);
        font-size: 1rem;
    }

    .dropdown li {
        margin: 0.5rem 0;
    }

    /* Hero adjustments */
    .hero {
        padding-top: 100px;
        /* Adjust for smaller header */
    }
}