/* ==========================================================================
   EASTSEAS TRADING EST. — ABOUT PAGE STYLES (PREMIUM REDESIGN)
   ========================================================================== */

:root {
    --h-navy:       #0b122b;
    --h-navy2:      #111B3D;
    --h-blue:       #283890;
    --h-cyan:       #00AEEF;
    --h-orange:     #F15A24;
    --h-green:      #25D366;
    --h-white:      #ffffff;
    --h-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shared Styles */
.about-section-header { margin-bottom: 48px; text-align: center; }
.section-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2.5px;
    color: var(--h-cyan); margin-bottom: 16px;
}
.section-eyebrow.light {
    color: #fff;
}
.section-title {
    font-family: var(--font-headings); font-size: 2.4rem; font-weight: 900;
    color: var(--h-navy2); line-height: 1.2; margin-bottom: 16px; letter-spacing: -1px;
}
.section-title span { color: var(--h-cyan); }
.section-title.light { color: #fff; }
.section-subtitle {
    font-size: 1.05rem; color: #64748b; max-width: 600px; margin: 0 auto; line-height: 1.7;
}
.section-subtitle.light { color: rgba(255,255,255,0.7); }


/* ─────────────────────────────────────────────────────────────
   1. HERO BANNER
   ───────────────────────────────────────────────────────────── */
.about-hero {
    position: relative;
    padding: 220px 0 100px;
    background-size: cover;
    background-position: center;
    color: #fff;
}
.about-hero-bg {
    background-image: url('../images/banner/about_banner.jpg');
}
.ah-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(11,18,43,0.95) 0%, rgba(28,40,102,0.85) 60%, rgba(0,174,239,0.2) 100%);
    z-index: 1;
}
.ah-container { position: relative; z-index: 2; display: flex; justify-content: center; }
.ah-content {
    max-width: 800px;
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
}
.ah-badge {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--h-cyan);
    font-size: 0.72rem; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase;
    margin-bottom: 24px;
}
.ah-content h1 {
    font-size: 3.8rem; font-family: var(--font-headings); font-weight: 900;
    line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 24px;
}
.ah-content h1 span { color: var(--h-cyan); }
.ah-content p {
    font-size: 1.1rem; color: rgba(255,255,255,0.8); line-height: 1.7;
    max-width: 640px; margin-bottom: 48px;
}

.ah-stats-bar {
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(12px); border-radius: 16px; padding: 20px 40px;
}
.ahs-item { padding: 0 30px; text-align: center; border-right: 1px solid rgba(255,255,255,0.1); }
.ahs-item:last-child { border: none; }
.ahs-num { display: block; font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 4px; line-height: 1; }
.ahs-lbl { font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }

/* ─────────────────────────────────────────────────────────────
   2. COMPANY STORY
   ───────────────────────────────────────────────────────────── */
.story-section { padding: 120px 0; background: #fff; }
.story-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
/* wrapper clips both image AND badge to the same 24px radius */
.story-img-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;          /* natural corner clip — no manual matching needed */
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.story-img {
    width: 100%;
    display: block;            /* no border-radius — wrapper handles it */
}
.story-img-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 5;
    background: rgba(11, 18, 43, 0.50);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    padding: 20px 28px;
    border-radius: 16px 0 0 0; /* only top-left rounded — wrapper clips rest */
    border-top: 1px solid rgba(255,255,255,0.18);
    border-left: 1px solid rgba(255,255,255,0.18);
    text-align: center;
    min-width: 150px;
}
.sib-year { display: block; font-size: 2rem; font-weight: 900; color: var(--h-cyan); line-height: 1; margin-bottom: 4px; }
.sib-text { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.8); }

.story-text-inner { max-width: 580px; }
.story-content .story-lead {
    font-size: 1.15rem; font-weight: 700; color: var(--h-navy); margin-bottom: 20px; line-height: 1.6;
}
.story-content p {
    font-size: 1rem; color: #64748b; line-height: 1.8; margin-bottom: 20px;
}
.story-quote-card {
    background: #f8fafc; border-left: 4px solid var(--h-cyan);
    padding: 24px 30px; border-radius: 0 12px 12px 0; margin-top: 30px;
    position: relative;
}
.story-quote-card i {
    position: absolute; top: 20px; right: 20px; font-size: 2rem; color: rgba(0,174,239,0.1);
}
.story-quote-card p { margin: 0; font-style: italic; color: var(--h-navy2); font-weight: 600; font-size: 1rem; }

/* ─────────────────────────────────────────────────────────────
   3. PREMIUM VISION, MISSION, VALUES
   ───────────────────────────────────────────────────────────── */
.vmv-section {
    position: relative;
    padding: 100px 0 120px;
    background: #fdfdfd;
    overflow: hidden;
}

/* Background animated gradient blurs for the section */
.vmv-section::before,
.vmv-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.08;
}
.vmv-section::before {
    top: -100px;
    left: -200px;
    background: var(--h-cyan);
}
.vmv-section::after {
    bottom: -100px;
    right: -200px;
    background: var(--h-blue);
}

.vmv-section .container {
    position: relative;
    z-index: 2;
}

.vmv-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Card Styles */
.vmv-box {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 40px;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 15px 35px rgba(11, 18, 43, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    opacity: 0; transform: translateY(40px);
}

.vmv-box.active { opacity: 1; transform: translateY(0); }

.vmv-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(11, 18, 43, 0.08);
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.9);
}

/* Beautiful animated top border on cards */
.vmv-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: all 0.4s ease;
}
.vmv-vision:hover::before { background: var(--h-cyan); }
.vmv-mission:hover::before { background: var(--h-orange); }
.vmv-values:hover::before { background: var(--h-blue); }

/* Large Watermark Icon */
.vmv-watermark {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 150px;
    color: rgba(0, 174, 239, 0.03);
    z-index: -1;
    transform: rotate(-15deg);
    transition: all 0.5s ease;
}
.vmv-box:hover .vmv-watermark {
    transform: rotate(0deg) scale(1.1);
    color: rgba(0, 174, 239, 0.06);
}

/* Header within card */
.vmv-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.vmv-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1.5px solid transparent;
}

/* Specific icon background tint & borders */
.vmv-vision .vmv-icon-wrap {
    background: rgba(0, 174, 239, 0.08);
    border-color: rgba(0, 174, 239, 0.2);
    color: var(--h-cyan);
}
.vmv-mission .vmv-icon-wrap {
    background: rgba(241, 90, 36, 0.08);
    border-color: rgba(241, 90, 36, 0.2);
    color: var(--h-orange);
}
.vmv-values .vmv-icon-wrap {
    background: rgba(40, 56, 144, 0.08);
    border-color: rgba(40, 56, 144, 0.2);
    color: var(--h-blue);
}

/* Hover effects when card is hovered */
.vmv-vision:hover .vmv-icon-wrap {
    background: var(--h-cyan);
    color: #fff;
    border-color: var(--h-cyan);
    box-shadow: 0 8px 24px rgba(0, 174, 239, 0.3);
}
.vmv-mission:hover .vmv-icon-wrap {
    background: var(--h-orange);
    color: #fff;
    border-color: var(--h-orange);
    box-shadow: 0 8px 24px rgba(241, 90, 36, 0.3);
}
.vmv-values:hover .vmv-icon-wrap {
    background: var(--h-blue);
    color: #fff;
    border-color: var(--h-blue);
    box-shadow: 0 8px 24px rgba(40, 56, 144, 0.3);
}

.vmv-box h3 {
    font-size: 1.6rem;
    font-family: var(--font-headings);
    font-weight: 800;
    color: var(--h-navy2);
    margin: 0;
}

.vmv-box p {
    font-size: 1.05rem;
    color: #526071;
    line-height: 1.8;
    margin: 0;
    position: relative;
    z-index: 2;
}

.vmv-values {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 50px 60px;
}
.vmv-values .vmv-head { margin-bottom: 0; width: 30%; flex-shrink: 0; flex-direction: column; align-items: flex-start; gap: 15px; }
.vmv-values h3 { font-size: 2rem; }
.vmv-values-content { width: 70%; position: relative; z-index: 2; }
.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.values-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
    color: #526071;
    line-height: 1.6;
}
.values-list li i {
    color: var(--h-cyan);
    font-size: 1.2rem;
    margin-top: 4px;
}
.values-list li strong { color: var(--h-navy2); }

@media (max-width: 992px) {
    .vmv-values {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px;
        gap: 24px;
    }
    .vmv-values .vmv-head { width: 100%; flex-direction: row; align-items: center; }
    .vmv-values-content { width: 100%; }
    .values-list { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   4. SECTORS — Premium 2×2 Card Grid
   ───────────────────────────────────────────────────────────── */
.sectors-section {
    position: relative;
    padding: 100px 0 80px;
    background: var(--h-navy2);
    overflow: hidden;
}
.sectors-container { position: relative; z-index: 2; }
.sectors-bg-layer {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 80% -20%, rgba(0,174,239,0.12) 0%, transparent 60%);
    pointer-events: none;
}

/* Full-width single column — each image takes complete width */
.sectors-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    margin-top: 60px;
}

/* Each sector card */
.sector-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.sector-card.active {
    opacity: 1;
    transform: translateY(0);
}
.sector-card:nth-child(2) { transition-delay: 0.1s; }
.sector-card:nth-child(3) { transition-delay: 0.2s; }
.sector-card:nth-child(4) { transition-delay: 0.3s; }

/* ── IMAGE AREA — full image visible, no cropping ── */
.sector-card-img {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--h-navy);
}
.sector-card-img img {
    width: 100%;
    height: auto;                      /* natural height — no cropping */
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.sector-card:hover .sector-card-img img {
    transform: scale(1.04);
}

/* Subtle gradient at bottom of image to blend into content */
.sector-card-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(11,18,43,0.95) 0%, transparent 100%);
    pointer-events: none;
}

/* Floating icon badge — top-right corner */
.sector-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0,174,239,0.2);
    border: 1px solid rgba(0,174,239,0.4);
    backdrop-filter: blur(8px);
    color: var(--h-cyan);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.sector-card:hover .sector-card-badge {
    background: var(--h-cyan);
    color: #fff;
    border-color: var(--h-cyan);
}

/* ── CONTENT AREA ── */
.sector-card-body {
    background: rgba(11, 18, 43, 0.98);
    padding: 28px 32px 32px;
    border-top: 1px solid rgba(0,174,239,0.15);
    transition: background 0.3s ease;
    flex: 1;
}
.sector-card:hover .sector-card-body {
    background: rgba(17, 27, 61, 0.99);
}
.sector-card-body h3 {
    font-size: 1.4rem;
    font-family: var(--font-headings);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.sector-card-body p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 20px;
}
.sector-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--h-cyan);
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: gap 0.3s ease;
}
.sector-card:hover .sector-card-link { gap: 12px; }
.sector-card-link i { font-size: 0.8rem; }

/* Responsive */
@media (max-width: 768px) {
    .sectors-grid-container {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

.sector-icon {
    width: 60px; height: 60px; border-radius: 16px; background: rgba(0,174,239,0.15); border: 1px solid rgba(0,174,239,0.3);
    color: var(--h-cyan); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 24px;
}
.zigzag-content h3 { font-size: 2rem; font-family: var(--font-headings); font-weight: 800; color: #fff; margin-bottom: 16px; }
.zigzag-content p { font-size: 1.1rem; color: rgba(255,255,255,0.7); line-height: 1.7; margin: 0; }

/* Reveal Animation */
.reveal-left { opacity: 0; transform: translateX(-60px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.active .reveal-left, .is-revealed .reveal-left,
.active .reveal-right, .is-revealed .reveal-right { 
    opacity: 1; transform: translateX(0); 
}

/* ─────────────────────────────────────────────────────────────
   5. FAMOUS CATEGORIES
   ───────────────────────────────────────────────────────────── */
.fc-section { padding: 120px 0; background: #fff; }
.fc-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px;
}
.fc-card {
    position: relative; overflow: hidden; border-radius: 16px;
    height: 180px; text-decoration: none; display: flex; align-items: center; padding: 30px;
    background: var(--h-navy2);
    box-shadow: 0 10px 30px rgba(11,18,43,0.08);
}
.fc-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0.15; transition: transform 0.5s ease, opacity 0.5s ease; z-index: 0;
    filter: grayscale(80%); /* reduce color distraction */
}
.fc-card:hover .fc-bg { transform: scale(1.05); opacity: 0.25; filter: grayscale(0%); }
.fc-content {
    position: relative; z-index: 2; display: flex; align-items: center; gap: 20px; width: 100%;
}
.fc-icon {
    width: 50px; height: 50px; border-radius: 12px; background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; flex-shrink: 0;
    transition: all 0.3s ease;
}
.fc-card:hover .fc-icon {
    background: var(--h-cyan); border-color: var(--h-cyan); color: #fff; box-shadow: 0 5px 15px rgba(0,174,239,0.3);
}
.fc-text h3 { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 6px; letter-spacing: -0.3px; transition: color 0.3s ease; }
.fc-text p { font-size: 0.85rem; color: rgba(255,255,255,0.5); font-weight: 600; margin: 0; transition: color 0.3s ease; }
.fc-card:hover .fc-text p { color: #fff; }
.fc-action { text-align: center; }
.btn-primary-outline {
    display: inline-flex; align-items: center; padding: 14px 30px;
    border: 2px solid var(--h-navy2); color: var(--h-navy2); border-radius: 50px;
    font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: all 0.3s ease;
    position: relative; overflow: hidden; z-index: 1;
}
.btn-primary-outline::after {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; background: var(--primary-light);
    transform: scale(0); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50px; z-index: -1;
}
.btn-primary-outline:hover { color: #fff; border-color: var(--primary-light); }
.btn-primary-outline:hover::after { transform: scale(1); }

/* ─────────────────────────────────────────────────────────────
   6. CTA STRIP
   ───────────────────────────────────────────────────────────── */
.cta-strip { background: linear-gradient(135deg, var(--h-navy) 0%, var(--h-navy2) 100%); padding: 0; }
.cta-strip-inner {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255,255,255,0.02); border: none; border-top: 1px solid rgba(255,255,255,0.05);
    padding: 100px 10%; border-radius: 0; backdrop-filter: blur(10px);
}
.cta-text h2 { font-size: 2rem; font-weight: 900; color: #fff; margin-bottom: 8px; }
.cta-text p { font-size: 1.05rem; color: rgba(255,255,255,0.7); margin: 0; }
.btn-solid {
    display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px;
    background: var(--h-cyan); color: #fff; border-radius: 50px; font-weight: 700; text-decoration: none;
    transition: transform 0.3s ease; box-shadow: 0 10px 20px rgba(0,174,239,0.3);
}
.btn-solid:hover { transform: translateY(-3px); }

/* ─────────────────────────────────────────────────────────────
   7. RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .about-hero { padding: 160px 0 80px; }
    .story-section, .sectors-section, .fc-section { padding: 80px 0; }
    .vmv-section { padding: 80px 0 100px; }
    .cta-strip { padding: 0; }
    
    .ah-content h1 { font-size: 3rem; }
    .story-grid { grid-template-columns: 1fr; gap: 50px; }
    .story-img-badge { bottom: 0; right: 0; }

    .fc-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-strip-inner { flex-direction: column; text-align: center; gap: 30px; padding: 80px 6%; }
}

@media (max-width: 768px) {
    .about-hero { padding: 130px 0 60px; }
    .story-section, .sectors-section, .fc-section { padding: 60px 0; }
    .vmv-section { padding: 60px 0 80px; }
    .cta-strip { padding: 0; }
    
    .about-section-header { margin-bottom: 32px; }
    .section-title { font-size: 2rem; }
    
    .ah-content h1 { font-size: 2.2rem; }
    .ah-content p { font-size: 0.95rem; margin-bottom: 30px; }
    
    .ah-stats-bar { 
        flex-direction: row; 
        flex-wrap: wrap; 
        gap: 10px; 
        padding: 15px 10px; 
        justify-content: space-between; 
        width: 100%; 
    }
    .ahs-item { 
        border: none; 
        padding: 0; 
        flex: 1 1 30%; 
        text-align: center; 
    }
    .ahs-num { font-size: 1.4rem; }
    .ahs-lbl { font-size: 0.65rem; letter-spacing: 0.5px; display: block; margin-top: 5px; }
    .vmv-container { grid-template-columns: 1fr; }
    .vmv-values { grid-column: 1 / -1; }
    .sector-zigzag-row, .sector-zigzag-row.reverse { flex-direction: column; min-height: 500px; }
    .zigzag-img { min-height: 250px; flex: 1 1 100%; max-width: 100%; }
    .zigzag-content { padding: 40px 30px; flex: 1 1 100%; max-width: 100%; }
    .zigzag-content h3 { font-size: 1.6rem; }
    .fc-grid { grid-template-columns: 1fr; }
    .cta-strip-inner { padding: 60px 20px; }

    /* Story badge — compact & flush on mobile */
    .story-img-badge {
        bottom: 0;
        right: 0;
        padding: 12px 16px;
        min-width: unset;
        border-radius: 14px 0 0 0; /* wrapper clips the rest */
    }
    .sib-year { font-size: 1.5rem; }
    .sib-text { font-size: 0.7rem; letter-spacing: 0.5px; }
}

