/* ==========================================================================
   VMEDO ABOUT US & CAREERS STYLESHEET (css/about.css)
   ========================================================================== */

/* --- 1. CSS Variables / Design Tokens --- */
:root {
    --color-red-primary: #E30613;
    --color-red-hover: #B60310;
    --color-red-light: #FDECEC;
    --color-red-subtle: #FEF5F5;
    --color-dark: #111827;
    --color-body: #4B5563;
    --color-muted: #6B7280;
    --color-border: #ECEFF2;
    --color-white: #FFFFFF;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px rgba(227, 30, 36, 0.08);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --font-base: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* --- 2. Global Utilities & Base Typography --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-base);
    color: var(--color-body);
    background-color: #FAFAFB;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.about-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-red {
    color: var(--color-red-primary) !important;
}

.font-bold {
    font-weight: 700 !important;
}

.font-medium {
    font-weight: 500 !important;
}

.text-dark {
    color: var(--color-dark) !important;
}

.text-center {
    text-align: center !important;
}

.justify-center {
    justify-content: center !important;
}

/* Eyebrows */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-red-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.eyebrow-line {
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--color-red-primary);
    border-radius: var(--radius-full);
}

.section-header {
    max-width: 780px;
    margin: 0 auto 50px auto;
}

.section-title {
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.25;
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 15.5px;
    color: var(--color-body);
    line-height: 1.6;
}

.responsive-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ==========================================================================
   SECTION 1: HERO
   ========================================================================== */
.about-hero {
    position: relative;
    background: #FFFFFF !important;
    padding: clamp(10px, 1.8vw, 20px) 0 clamp(30px, 3.5vw, 44px) 0 !important;
    overflow: hidden;
}

/* 3. Curved Crimson Radial Glow (.about-hero::before) */
.about-hero::before {
    content: "";
    position: absolute;
    inset: -12% -18% auto 42%;
    height: 130%;
    border-radius: 46% 54% 40% 60% / 52% 40% 60% 48%;
    background: radial-gradient(circle at 40% 35%, rgba(227, 6, 19, 0.10), rgba(227, 6, 19, 0.03) 60%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

/* 4. Hero 2-Column Grid Layout (.about-hero__grid) */
.about-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
}

.about-hero__title {
    font-size: clamp(32px, 3.8vw, 48px);
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.18;
    margin-bottom: 20px;
}

.about-hero__desc {
    font-size: 16.5px;
    color: var(--color-body);
    line-height: 1.7;
    max-width: 560px;
}

.about-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-img-placeholder {
    max-width: 460px !important;
    width: 100%;
    position: relative;
    margin: 0 auto;
}

.about-hero__visual img,
.hero-img-placeholder img {
    width: 100%;
    max-width: 460px !important;
    max-height: 420px !important;
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto;

    /* Soft Organic Radial Mask: Dissolves the white box frame completely */
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 54% 48%, #000 30%, rgba(0, 0, 0, 0.85) 55%, transparent 84%) !important;
    mask-image: radial-gradient(ellipse 80% 80% at 54% 48%, #000 30%, rgba(0, 0, 0, 0.85) 55%, transparent 84%) !important;

    /* Gentle Floating Micro-Animation */
    animation: floaty 7s ease-in-out infinite !important;
    will-change: transform;
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hero-bottom-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    pointer-events: none;
}

.hero-bottom-wave svg {
    width: 100%;
    height: 40px;
}

/* ==========================================================================
   SECTION 2: JOURNEY TIMELINE
   ========================================================================== */
.journey-section {
    padding: 60px 0 clamp(24px, 3vw, 36px) 0;
    background: #FFFFFF;
}

.timeline-container {
    position: relative;
    margin: 40px 0 24px 0;
}

/* Horizontal Track Wave */
.timeline-track-line {
    position: absolute;
    top: 36px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: repeating-linear-gradient(to right, var(--color-red-primary) 0, var(--color-red-primary) 8px, transparent 8px, transparent 14px);
    z-index: 1;
}

.timeline-nodes-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    z-index: 2;
}

.timeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.node-bubble {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: #FFFFFF;
    border: 2px solid var(--color-red-primary);
    box-shadow: 0 0 0 5px var(--color-red-light);
    color: var(--color-red-primary);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-node:hover .node-bubble {
    transform: scale(1.08);
    box-shadow: 0 0 0 8px var(--color-red-light);
}

.node-year-badge {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-red-primary);
    margin-bottom: 8px;
}

.node-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.35;
    margin-bottom: 8px;
}

.node-desc {
    font-size: 12.5px;
    color: var(--color-muted);
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

.node-visual-placeholder {
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.node-thumb {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Callout Banners */
.callout-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    box-shadow: var(--shadow-sm);
    max-width: 960px;
    margin: 0 auto;
}

.journey-banner {
    margin-top: 10px;
}

.callout-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--color-red-light);
    color: var(--color-red-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.callout-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 2px;
}

.callout-card p {
    font-size: 14px;
    color: var(--color-body);
    line-height: 1.5;
}

/* ==========================================================================
   SECTION 3: LEADERSHIP
   ========================================================================== */
.leadership-section {
    padding: clamp(24px, 3vw, 36px) 0;
    background: #FAFAFB;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto 40px auto;
}

.leader-card {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.leader-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-red-primary);
    box-shadow: var(--shadow-lg);
}

.leader-bubble {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--color-red-light);
    color: var(--color-red-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    overflow: hidden;
    border: 2px solid var(--color-red-primary);
}

.leader-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.leader-bubble svg.placeholder-avatar {
    width: 64px;
    height: 64px;
    color: var(--color-red-primary);
}

.leader-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.leader-designation {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--color-red-primary);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 8px;
}

.leader-designation::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--color-red-primary);
    border-radius: var(--radius-full);
}

.leader-bio {
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.55;
}

/* ==========================================================================
   SECTION 4: CAREERS
   ========================================================================== */
.careers-section {
    padding: clamp(24px, 3vw, 36px) 0 clamp(48px, 6vw, 76px) 0;
    background: #FFFFFF;
    scroll-margin-top: 90px;
}

.careers-header-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

.careers-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.pillar-card {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    text-align: left;
    border-bottom: 3px solid transparent;
    transition: all 0.25s ease;
}

.pillar-card:hover {
    transform: translateY(-3px);
    border-bottom-color: var(--color-red-primary);
    box-shadow: var(--shadow-md);
}

.pillar-bubble {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    background: var(--color-red-light);
    color: var(--color-red-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.pillar-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.pillar-desc {
    font-size: 13.5px;
    color: var(--color-muted);
    line-height: 1.6;
}

/* Resume Drop Interactive Box */
.resume-drop-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 36px;
    box-shadow: var(--shadow-md);
    gap: 30px;
}

.resume-drop-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.resume-icon-badge {
    font-size: 42px;
    color: var(--color-red-primary);
}

.resume-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.resume-desc {
    font-size: 14px;
    color: var(--color-body);
}

.resume-drop-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.btn-drop-resume {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-red-primary);
    color: var(--color-white);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(227, 30, 36, 0.25);
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-drop-resume:hover {
    background: var(--color-red-hover);
    transform: translateY(-2px);
}

.resume-mail-label {
    font-size: 12.5px;
    color: var(--color-muted);
}

.resume-mail-label a {
    color: var(--color-red-primary);
    text-decoration: none;
    font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablet (<= 1024px) */
@media (max-width: 1024px) {

    .about-hero__grid,
    .careers-header-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-hero__desc {
        margin: 0 auto;
    }

    .timeline-nodes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px 16px;
    }

    .timeline-track-line {
        display: none;
    }

    .resume-drop-box {
        flex-direction: column;
        text-align: center;
    }

    .resume-drop-left {
        flex-direction: column;
    }

    .resume-drop-right {
        align-items: center;
    }
}

/* Tablet Small / Medium (<= 860px) */
@media (max-width: 860px) {
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (<= 640px) */
@media (max-width: 640px) {

    .timeline-nodes-grid,
    .leadership-grid,
    .careers-pillars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .callout-card {
        flex-direction: column;
        text-align: center;
    }

    .btn {
        width: 100%;
        max-width: 340px;
        padding: 14px 20px;
    }
}

/* --- Global Button Styles for About Page --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-red {
    background-color: var(--color-red-primary, #E30613) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(227, 6, 19, 0.4) !important;
}

.btn-red:hover {
    background-color: var(--color-red-hover, #B60310) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 6, 19, 0.5) !important;
}

.btn-white {
    background-color: #FFFFFF !important;
    color: var(--color-red-primary, #E30613) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

.btn-white:hover {
    background-color: #F8FAFC !important;
    color: var(--color-red-hover, #B60310) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}