/* Ocean Spares Tech - Unique Design System */
/* Color Palette: #005A9C (Primary), #003D6B (Dark), #0088CC (Light), #F8F9FA (Background) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    line-height: 1.7;
    color: #2C3E50;
    overflow-x: hidden;
    padding-top: 0;
    background: #F8F9FA;
}

/* eBay Button Style */
.ebay-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    margin-left: 15px;
    background: linear-gradient(135deg, #003366, #0066CC);
    color: #fff !important;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.ebay-btn i {
    font-size: 1rem;
}

.ebay-btn:hover {
    background: linear-gradient(135deg, #0066CC, #003366);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 102, 204, 0.4);
}

/* Mobile Version */
@media (max-width: 768px) {
    .ebay-btn {
        margin: 10px 1rem;
        justify-content: center;
        width: calc(100% - 2rem);
        border-radius: 12px;
        padding: 14px;
        font-size: 1.05rem;
    }
}



.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HERO BANNER (Video Background) ===== */
.hero-banner {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(135deg, #003D6B 0%, #005A9C 50%, #0088CC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    filter: blur(2px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 61, 107, 0.75) 0%, rgba(0, 90, 156, 0.7) 50%, rgba(0, 136, 204, 0.65) 100%);
    z-index: 1;
    backdrop-filter: blur(1px);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 40px;
    animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-main-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-action-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-btn {
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.hero-btn-primary {
    background: #fff;
    color: #005A9C;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.hero-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-3px);
}

.hero-features {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-feature-item i {
    font-size: 1.4rem;
    color: #0088CC;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-us {
    padding: 100px 0;
    background: #fff;
    position: relative;
    z-index: 1;
}

.section-title-center {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 20px;
    background: #E3F2FD;
    color: #005A9C;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.section-title-center h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #003D6B;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-lead {
    font-size: 1.15rem;
    color: #6C757D;
    max-width: 700px;
    margin: 0 auto;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.why-card {
    position: relative;
    padding: 40px 32px;
    background: #F8F9FA;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: #005A9C;
    transition: height 0.4s ease;
}

.why-card:hover::before {
    height: 100%;
}

.why-card:hover {
    background: #fff;
    border-color: #E3F2FD;
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 90, 156, 0.12);
}

.why-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(0, 90, 156, 0.08);
    line-height: 1;
}

.why-icon-box {
    width: 70px;
    height: 70px;
    background: #005A9C;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.why-card:hover .why-icon-box {
    background: #0088CC;
    transform: scale(1.1) rotate(5deg);
}

.why-icon-box i {
    font-size: 2rem;
    color: #fff;
}

.why-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #003D6B;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.95rem;
    color: #6C757D;
    line-height: 1.7;
}

/* ===== CATEGORIES PREVIEW SECTION ===== */
.categories-preview {
    padding: 100px 0;
    background: linear-gradient(to bottom, #F8F9FA 0%, #fff 100%);
    position: relative;
    z-index: 1;
}

.categories-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.category-large-card {
    position: relative;
    height: 280px;
    background: #005A9C;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.category-large-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('img/Ship_product.jpg') center/cover;
    opacity: 0.15;
    transition: all 0.4s ease;
}

.category-large-card:hover::before {
    opacity: 0.25;
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 90, 156, 0.9), rgba(0, 136, 204, 0.85));
}

.category-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    text-align: center;
    color: #fff;
}

.category-content i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.category-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.category-content p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 20px;
}

.category-link {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.category-large-card:hover .category-link {
    border-bottom-color: #fff;
}

.categories-cta {
    text-align: center;
    margin-top: 50px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 48px;
    background: #005A9C;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 90, 156, 0.2);
}

.view-all-btn:hover {
    background: #003D6B;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 90, 156, 0.3);
}

/* ===== TRUST SECTION ===== */
.trust-section {
    padding: 80px 0;
    background: #003D6B;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 136, 204, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon i {
    font-size: 2rem;
    color: #0088CC;
}

.trust-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0088CC;
    margin-bottom: 4px;
}

.trust-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
    padding: 100px 0;
    background: #F8F9FA;
    position: relative;
    z-index: 1;
}

.partners-section .container {
    background: linear-gradient(135deg, #0088CC 0%, #005A9C 50%, #0088CC 100%);
    border-radius: 40px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 90, 156, 0.25);
}

.partners-section .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.partners-section .section-title-center h2 {
    color: #fff;
}

.partners-section .section-lead {
    color: rgba(255, 255, 255, 0.95);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    margin-top: 60px;
    position: relative;
}

.partner-logo-box {
    height: 140px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid #E3F2FD;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.partner-logo-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 136, 204, 0.1), transparent);
    transition: left 0.6s ease;
}

.partner-logo-box:hover::before {
    left: 100%;
}

.partner-logo-box:hover {
    background: #fff;
    border-color: #005A9C;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 90, 156, 0.15);
}

.partner-logo-box img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(50%) opacity(0.7);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.partner-logo-box:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.08);
}

.partners-cta {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.partners-note {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.partners-note a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.partners-note a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== COUNTER ANIMATION ===== */
.counter {
    display: inline-block;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero-main-title {
        font-size: 3.5rem;
    }

    .section-title-center h2 {
        font-size: 2.5rem;
    }

    .why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .categories-showcase {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .partners-section .container {
        padding: 50px 30px;
        border-radius: 30px;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: 100vh;
        min-height: 500px;
    }

    .hero-video {
        filter: blur(3px);
    }

    .hero-overlay {
        background: linear-gradient(135deg, rgba(0, 61, 107, 0.8) 0%, rgba(0, 90, 156, 0.75) 50%, rgba(0, 136, 204, 0.7) 100%);
    }

    .hero-content-wrapper {
        padding: 30px 20px;
    }

    .hero-badge {
        font-size: 10px;
        padding: 6px 18px;
        margin-bottom: 20px;
    }

    .hero-main-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-action-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 32px;
    }

    .hero-features {
        gap: 20px;
    }

    .hero-feature-item {
        font-size: 0.85rem;
    }

    .hero-feature-item i {
        font-size: 1.2rem;
    }

    .section-title-center h2 {
        font-size: 2rem;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .categories-showcase {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .partners-section .container {
        padding: 40px 25px;
        border-radius: 25px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .partner-logo-box {
        height: 120px;
        padding: 20px;
    }

    .partner-logo-box img {
        max-height: 55px;
    }

    .partners-cta {
        margin-top: 40px;
        padding-top: 30px;
    }

    .partners-note {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        min-height: 450px;
    }

    .hero-video {
        filter: blur(4px);
    }

    .hero-overlay {
        background: linear-gradient(135deg, rgba(0, 61, 107, 0.85) 0%, rgba(0, 90, 156, 0.8) 50%, rgba(0, 136, 204, 0.75) 100%);
    }

    .hero-content-wrapper {
        padding: 20px 15px;
    }

    .hero-badge {
        font-size: 9px;
        padding: 5px 15px;
        letter-spacing: 1.5px;
    }

    .hero-main-title {
        font-size: 2rem;
        letter-spacing: -1px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .hero-action-buttons {
        margin-bottom: 30px;
    }

    .hero-btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .hero-features {
        gap: 15px;
        flex-direction: column;
    }

    .hero-feature-item {
        font-size: 0.8rem;
    }

    .hero-scroll-indicator {
        bottom: 20px;
        font-size: 1.2rem;
    }

    .container {
        padding: 0 16px;
    }

    .why-choose-us,
    .categories-preview,
    .partners-section {
        padding: 60px 0;
    }

    .trust-section {
        padding: 50px 0;
    }

    .partners-section .container {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .partner-logo-box {
        height: 100px;
        padding: 16px;
    }

    .partner-logo-box img {
        max-height: 50px;
    }
}
