/* Unified Color Palette */
:root {
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --cyan: #00aeef;
    --magenta: #ec008c;
    --yellow: #facc15;
    --border: rgba(255, 255, 255, 0.1);
}

.about-unified-page {
    background: var(--bg-light);
    color: var(--bg-dark);
}

/* Hero Section */
.unified-hero {
    background: var(--bg-dark);
    padding: 30px 0 160px 0;
    color: white;
    text-align: center;
    position: relative;
    clip-path: ellipse(150% 100% at 50% 0%); /* Modern curved bottom */
}

.eyebrow {
    color: var(--cyan);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.main-title {
    font-size: 4rem;
    font-weight: 900;
    margin: 15px 0;
    letter-spacing: -2px;
}

.hero-lead {
    max-width: 600px;
    margin: 0 auto;
    color: #94a3b8;
    font-size: 1.2rem;
}

/* Stats (The Floating Element) */
.stats-matrix-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-val {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.stat-txt {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #64748b;
    margin-top: 10px;
    font-weight: 700;
}

.color-cyan {
    color: var(--cyan);
}

.color-magenta {
    color: var(--magenta);
}

.color-yellow {
    color: var(--yellow);
}

/* Integrated Content Grid */
.unified-content-section {
    padding: 50px 0;
    background: white;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
}

.item-head {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

    .item-head i {
        font-size: 1.5rem;
    }

    .item-head h3 {
        font-weight: 800;
        margin: 0;
        font-size: 1.4rem;
    }

/* CMYK Accent Lines */
.cyan-line {
    color: var(--cyan);
    border-bottom: 2px solid var(--cyan);
    padding-bottom: 10px;
}

.magenta-line {
    color: var(--magenta);
    border-bottom: 2px solid var(--magenta);
    padding-bottom: 10px;
}

.yellow-line {
    color: #857b00;
    border-bottom: 2px solid var(--yellow);
    padding-bottom: 10px;
}

/* Leadership Unified Section */
.unified-leadership {
    padding: 30px 0;
    background: var(--bg-light);
}

.leadership-wrap {
    text-align: center;
}

.section-tag {
    font-weight: 800;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 30px;
}

.leadership-pills {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.person-pill {
    background: white;
    padding: 12px 30px 12px 12px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.initial {
    width: 45px;
    height: 45px;
    background: var(--bg-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.person-meta {
    text-align: left;
}

    .person-meta strong {
        display: block;
        font-size: 0.95rem;
    }

    .person-meta a {
        color: var(--cyan);
        text-decoration: none;
        font-weight: 700;
        font-size: 0.9rem;
    }

.address-footer {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 30px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .stats-matrix-row {
        flex-direction: column;
        gap: 30px;
    }

    .content-grid {
        gap: 40px;
    }
}


/* Container for the title to handle alignment */
.main-title {
    font-size: 4.5rem; /* Large, bold impact */
    font-weight: 900;
    margin: 20px 0;
    letter-spacing: -2px;
    display: flex;
    justify-content: center;
}

.typing-effect {
    /* CMYK Gradient Text */
    background: linear-gradient( 90deg, #00aeef, /* Cyan */
    #ec008c, /* Magenta */
    #facc15, /* Yellow */
    #00aeef /* Back to Cyan for smooth loop */
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Typewriter Animation Logic */
    display: inline-block;
    overflow: hidden; /* Ensures text is hidden until typed */
    white-space: nowrap; /* Keeps text on one line */
    border-right: 4px solid #00aeef; /* The cursor */
    /* Adjust '20' to the number of characters in your company name 
       '4s' is the duration of the typing
    */
    animation: typing 4s steps(20, end) infinite alternate, blink-cursor 0.75s step-end infinite, gradient-move 6s linear infinite;
}

/* 1. Typing Effect: Width goes from 0 to 100% */
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* 2. Cursor Blinking */
@keyframes blink-cursor {
    from, to {
        border-color: transparent;
    }

    50% {
        border-color: #ec008c;
    }
    /* Blinks between Cyan and Magenta */
}

/* 3. Color Movement: Shifts the gradient across the text */
@keyframes gradient-move {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 100% center;
    }
}

/* Responsive Scaling for Mobile */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .typing-effect {
        border-right-width: 2px;
    }
}
