/* ==========================================================================
   EASTSEAS TRADING EST. — SERVICES PAGE STYLES
   ========================================================================== */

.hero-split-image-bg { background-image: url('../images/banner/service.png'); }
.services-subtitle { text-align: center; max-width: 560px; margin: 0 auto; color: var(--text-muted); }
.services-subtitle-light { text-align: center; max-width: 520px; margin: 0 auto; color: rgba(255,255,255,0.6); }
.he-bg-1 { background-image: url('../images/products/bento_industrial.png'); }
.he-bg-2 { background-image: url('../images/products/cat_fasteners.png'); }
.he-bg-3 { background-image: url('../images/products/cat_pipes_fittings.png'); }
.he-bg-4 { background-image: url('../images/products/cat_eot_crane.png'); }
/* EASTSEAS TRADING EST. — SERVICES PAGE STYLES (PREMIUM REDESIGN)
   ========================================================================== */

/* Define variables explicitly to ensure CSS safety */
:root {
    --h-navy: #0b122b;
    --h-navy-light: #1c2866;
    --h-cyan: #00aeef;
    --h-orange: #f15a24;
    --h-green: #00c96b;
    --text-light: rgba(255, 255, 255, 0.7);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========== SHARED ========== */
.srv-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.srv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--h-cyan);
    margin-bottom: 12px;
}

.srv-eyebrow.light {
    color: rgba(255,255,255,0.85);
}

.section-title.light { color: #fff !important; }

/* ========== 1. FULL-WIDTH HERO BANNER ========== */
.services-hero-split {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--h-navy);
    overflow: hidden;
}

/* Image fills full width as absolute background */
.hero-split-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Dark overlay — strong on left for text, fades right */
.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(11, 18, 43, 0.97) 0%,
        rgba(11, 18, 43, 0.80) 45%,
        rgba(11, 18, 43, 0.20) 100%
    );
    z-index: 1;
}

/* Text overlays on top */
.hero-split-text {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 680px;
    padding: 160px 5% 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-split-content {
    position: relative;
    top: 55px;
    max-width: 100%;
    color: #fff;
    animation: fadeInUp 1s cubic-bezier(0.16,1,0.3,1);
}

.hero-split-content .tag-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--h-cyan);
    margin-bottom: 24px;
}

.hero-split-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-split-content h1 span {
    color: var(--h-cyan);
}


.hero-split-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 32px;
}

/* ── Hero CTA Buttons ── */
.hero-cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 26px;
    background: var(--h-cyan);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 24px rgba(0,174,239,0.35);
    transition: all 0.3s ease;
}
.hero-btn-primary:hover {
    background: #00c3ff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,174,239,0.45);
    color: #fff;
}

.hero-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 26px;
    background: transparent;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,0.4);
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}
.hero-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Hero Stats Row ── */
.hero-stats-row {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 18px 22px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: fit-content;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    text-align: center;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

.hs-num {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--h-cyan);
    line-height: 1;
    margin-bottom: 3px;
}

.hs-lbl {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Mobile adjustments for buttons and stats */
@media (max-width: 576px) {
    .hero-cta-row {
        flex-direction: column;
        gap: 10px;
    }
    .hero-btn-primary,
    .hero-btn-outline {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
    .hero-stats-row {
        width: 100%;
        justify-content: space-around;
        padding: 14px 12px;
    }
    .hero-stat { padding: 0 10px; }
    .hs-num { font-size: 1.2rem; }
    .hs-lbl { font-size: 0.65rem; }
}



.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.breadcrumb-nav a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-nav a:hover { color: var(--h-cyan); }


/* ========== 2. WHAT WE SUPPLY (HOVER EXPANSION) ========== */
.supply-expansion-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.services-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 20px;
    width: 100%;
}

.bento-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.bento-large {
    grid-column: span 2;
}

.bento-overlay {
    position: absolute;
    inset: 0;
    /* Much darker at bottom where text lives */
    background: linear-gradient(
        to top,
        rgba(6, 12, 34, 1.0)   0%,
        rgba(6, 12, 34, 0.85)  40%,
        rgba(6, 12, 34, 0.30)  70%,
        transparent            100%
    );
    transition: background 0.4s ease;
    z-index: 1;
}

.bento-card:hover .bento-overlay {
    background: linear-gradient(
        to top,
        rgba(6, 12, 34, 1.0)   0%,
        rgba(6, 12, 34, 0.90)  50%,
        rgba(6, 12, 34, 0.35)  75%,
        transparent            100%
    );
}

.bento-bg-1 { background-image: url('../images/products/bento_industrial.png'); }
.bento-bg-2 { background-image: url('../images/products/cat_fasteners.png'); }
.bento-bg-3 { background-image: url('../images/products/cat_pipes_fittings.png'); }
.bento-bg-4 { background-image: url('../images/products/cat_eot_crane.png'); }

.bento-content {
    position: relative;
    z-index: 2;
    padding: 28px 28px 28px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    /* Frosted glass panel behind text for crisp readability */
    background: linear-gradient(to top, rgba(6,12,34,0.65) 0%, transparent 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.bento-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
}

.bento-card:hover .bento-icon {
    transform: scale(1.1) rotate(5deg);
}

.bento-text h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);  /* crisp shadow for depth */
}

.bento-text p {
    color: rgba(255,255,255,0.88);             /* brighter than before */
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0 0 14px 0;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.bento-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--h-cyan);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.bento-card:hover .bento-link {
    opacity: 1;
    transform: translateY(0);
}

.bento-link i {
    transition: transform 0.3s ease;
}

.bento-card:hover .bento-link i {
    transform: translateX(4px);
}

/* ========== 3. TIMELINE ========== */
.process-timeline-section {
    background: var(--h-navy);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.vertical-timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(0, 174, 239, 0.2);
    transform: translateX(-50%);
}

.timeline-line::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, var(--h-cyan) 0%, transparent 100%);
    box-shadow: 0 0 15px var(--h-cyan);
    animation: timelineGlow 3s infinite alternate;
}

@keyframes timelineGlow {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 60px;
    width: 100%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item.left {
    flex-direction: row-reverse;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--h-cyan);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 6px rgba(0, 174, 239, 0.2);
    z-index: 2;
}

.timeline-number {
    position: absolute;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    user-select: none;
}

.timeline-item.left .timeline-number {
    right: 50%;
    margin-right: 40px;
}

.timeline-item.right .timeline-number {
    left: 50%;
    margin-left: 40px;
}

.timeline-content {
    width: 45%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 24px 30px; /* Reduced vertical padding for compact look */
    position: relative;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.timeline-item.left .timeline-content {
    text-align: right;
}

.timeline-content:hover {
    background: rgba(0, 174, 239, 0.08);
    border-color: rgba(0, 174, 239, 0.3);
    transform: translateY(-5px);
}

.timeline-header-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.timeline-item.left .timeline-header-row {
    flex-direction: row-reverse;
}

.timeline-content .step-icon {
    font-size: 1.8rem;
    color: var(--h-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: #fff;
    margin: 0; /* Remove bottom margin since the row handles gap */
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem; /* Slightly smaller text for compact look */
    margin: 0;
}


/* ========== 4. PREMIUM FEATURE CARDS ========== */
.trust-features-section {
    background: #f8f9fa;
    padding: 120px 0 100px; /* Extra top padding for floating icons */
}

.trust-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px; /* Space for the floating icons to break out */
}

.trust-feature-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 20px;
    padding: 50px 30px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.trust-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(0,174,239,0.15);
}

/* Floating Icon Badge */
.tf-icon-wrapper {
    width: 72px;
    height: 72px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--h-cyan);
    position: absolute;
    top: -36px; /* Break out of the top edge */
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: var(--transition-smooth);
    z-index: 2;
}

/* Inner glow for the icon on hover */
.tf-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: rgba(0,174,239,0.05);
    transition: var(--transition-smooth);
    z-index: -1;
}

.trust-feature-card:hover .tf-icon-wrapper {
    color: #fff;
    background: var(--h-cyan);
    border-color: var(--h-cyan);
    box-shadow: 0 12px 24px rgba(0,174,239,0.3);
}

.trust-feature-card:hover .tf-icon-wrapper::after {
    background: rgba(255,255,255,0.1);
}

.trust-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--h-navy);
    margin-bottom: 14px;
    margin-top: 10px; /* Push down to clear the floating icon */
}

.trust-feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}


/* ========== 5. CTA ========== */
.services-cta-wrap {
    padding: 100px 0;
    background: radial-gradient(circle at center, var(--h-navy-light) 0%, var(--h-navy) 100%);
    position: relative;
    overflow: hidden;
}

.services-cta-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cta-eyebrow-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--h-orange);
}

.services-cta-content h2 {
    font-size: 2.8rem; /* Increased size since it's full-width now */
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.services-cta-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 0 16px;
}

.btn-cta-pulse {
    background: var(--h-orange);
    color: #fff;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 18px rgba(241,90,36,0.38);
    transition: var(--transition-smooth);
}

.btn-cta-pulse:hover {
    background: #d83e0a;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(216,62,10,0.45);
}


/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    /* Hero already full-width — just adjust overlay and text position */
    .hero-image-overlay {
        background: linear-gradient(
            to top,
            rgba(11, 18, 43, 0.97) 0%,
            rgba(11, 18, 43, 0.75) 50%,
            rgba(11, 18, 43, 0.25) 100%
        );
    }

    .hero-split-text {
        max-width: 100%;
        padding: 140px 6% 80px;
        justify-content: flex-end;
    }

    .hero-split-content h1 {
        font-size: 2.6rem;
    }

    /* Bento grid — single column */
    .services-bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(260px, auto);
    }

    .bento-large { grid-column: span 1; }

    .bento-content {
        flex-direction: column;
        padding: 24px;
        gap: 12px;
    }

    /* Timeline — shift to left-side line */
    .timeline-line { left: 20px; }

    .timeline-item,
    .timeline-item.left {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
        text-align: left;
    }

    .timeline-item.left .timeline-content { text-align: left; }

    .timeline-item.left .timeline-header-row {
        flex-direction: row;
    }

    .timeline-dot {
        left: 20px;
        top: 30px;
        transform: translate(-50%, 0);
    }

    .timeline-number { display: none; }

    .trust-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-split-content h1 {
        font-size: 2rem;
    }

    .hero-split-text {
        padding: 100px 5% 50px;
    }

    .services-cta-content h2 {
        font-size: 2rem;
    }

    .trust-features-grid {
        grid-template-columns: 1fr;
    }

    .trust-strip-grid { flex-direction: column; }
    .trust-divider { display: none; }

    .timeline-content { padding: 20px; }
    .timeline-content h3 { font-size: 1.1rem; }
}
