/* 
   THE EXECUTIVE BLUEPRINT 
   ULTRA-PROFESSIONAL CORPORATE DESIGN SYSTEM 
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --blueprint-font-display: 'Outfit', sans-serif;
    --blueprint-font-body: 'Inter', sans-serif;
    
    /* Global Corporate Palette */
    --blueprint-navy: #0F172A;
    --blueprint-blue: #2563EB;
    --blueprint-blue-light: #EFF6FF;
    --blueprint-white: #FFFFFF;
    --blueprint-grey-100: #F8FAFC;
    --blueprint-grey-200: #E2E8F0;
    --blueprint-grey-600: #475569;
    --blueprint-grey-900: #0F172A;
    
    /* Layout */
    --blueprint-container: 1400px;
    --blueprint-radius: 12px;
    --gradient-brand: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
}

* { box-sizing: border-box; }
body { 
    margin: 0; 
    padding: 0; 
    background: var(--blueprint-white); 
    color: var(--blueprint-grey-900); 
    font-family: var(--blueprint-font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.corporate-blueprint-wrapper {
    overflow-x: hidden;
    padding-top: 140px; /* Offset for fixed header */
}

/* 1. Modern Glass Hero */
.blueprint-hero {
    padding: 60px 10%;
    min-height: 25vh;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.blueprint-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.4) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.4) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(16, 185, 129, 0.3) 0px, transparent 50%);
    filter: blur(60px);
    opacity: 0.8;
}

.hero-content-mini {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 60px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 900px;
}

.hero-content-mini {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.hero-main-title {
    font-family: var(--blueprint-font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.01em;
    color: white;
}

/* 2. Structured Sectioning */
.blueprint-section {
    padding: 60px 5% 120px;
    width: 100%;
    position: relative;
}

.section-header-pro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
    border-bottom: 1px solid var(--blueprint-grey-200);
    padding-bottom: 32px;
}

.section-title-pro {
    font-family: var(--blueprint-font-display);
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-count {
    font-family: var(--blueprint-font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--blueprint-blue);
}

/* 3. Leadership Identity Grid (2, 3, 2) */
.leadership-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 60px 40px;
}

.leader-card {
    grid-column: span 2; /* Default for 3 per row */
    position: relative;
    background: white;
    border-radius: 32px;
    padding: 32px;
    border: 1px solid var(--blueprint-grey-200);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
}

.leader-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.1);
    border-color: var(--blueprint-blue);
}

/* Row 1 & 3: 2 items per row */
/* Horizontal cards (Span 3 & Span 6) */
.leader-card.card-span-3, .leader-card.card-span-6 {
    display: flex;
    flex-direction: row;
    align-items: stretch; /* Allows text container to stretch for vertical centering */
    gap: 40px;
    min-height: 400px;
}

.leader-card.card-span-3 { grid-column: span 3; }
.leader-card.card-span-6 { grid-column: span 6; }

.leader-img-wrapper {
    grid-area: img;
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--blueprint-grey-100);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px; /* Space between image and text for stacked cards */
}

.leader-card.card-span-3 .leader-img-wrapper,
.leader-card.card-span-6 .leader-img-wrapper {
    flex: 0 0 280px; /* Fixed width to prevent excessive stretching */
    height: auto;
    aspect-ratio: 3/4; /* Nice portrait ratio instead of stretching to text height */
    align-self: flex-start; /* Keep image at the top */
    margin-bottom: 0;
}

.leader-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.leader-card:hover .leader-img-wrapper img {
    transform: scale(1.1);
}

.leader-info-pro {
    flex: 1;
    padding: 8px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content for stacked cards */
}

/* Override for horizontal cards */
.leader-card.card-span-3 .leader-info-pro,
.leader-card.card-span-6 .leader-info-pro {
    text-align: left;
    align-items: flex-start; /* Left align content */
    justify-content: center; /* Vertically center the text if shorter than image */
}

.leader-role-pro {
    display: inline-flex;
    background: #EEF2FF;
    color: #4F46E5;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.leader-name-pro {
    font-family: var(--blueprint-font-display);
    font-size: 16px;
    font-weight: 900;
    margin: 0 0 16px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.leader-bio-pro {
    color: var(--blueprint-grey-600);
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 12px 0; /* Add bottom margin for paragraphs */
    font-weight: 400;
    text-align: center; /* Center align for stacked cards */
}

.leader-bio-pro:last-child {
    margin-bottom: 0;
}

.leader-card.card-span-3 .leader-bio-pro,
.leader-card.card-span-6 .leader-bio-pro {
    text-align: left; /* Left align for horizontal cards */
}

/* Responsive Overrides */
@media (max-width: 1200px) {
    .leader-card.card-span-3 { grid-template-columns: 1fr; }
    .leader-card { grid-column: span 3 !important; }
}

@media (max-width: 768px) {
    .leadership-gallery { grid-template-columns: 1fr; }
    .leader-card { grid-column: span 1 !important; padding: 24px; }
    .leader-name-pro { font-size: 1.5rem; }
    .section-title-pro { font-size: 2.2rem; }
}

/* 4. Global Stats (Minimalist Editorial) */
.blueprint-stats {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 25%, #4F46E5 50%, #EC4899 75%, #0F172A 100%);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    padding: 120px 10%;
    border: none;
    position: relative;
    overflow: hidden;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.blueprint-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.stats-container-pro {
    max-width: var(--blueprint-container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
}

.stat-item-pro {
    flex: 1;
    padding: 40px;
    text-align: center;
    position: relative;
}

.stat-item-pro:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-val-pro {
    font-family: var(--blueprint-font-display);
    font-size: 5rem;
    font-weight: 800;
    color: white;
    display: block;
    margin-bottom: 12px;
    line-height: 1;
    text-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.stat-label-pro {
    font-weight: 700;
    color: #818cf8; /* Light Indigo */
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}


/* Responsiveness */
@media (max-width: 1200px) {
    .leadership-gallery { grid-template-columns: repeat(6, 1fr); } /* Keep the 2-per-row grid base */
}

@media (max-width: 991px) {
    .leader-card.card-span-3, .leader-card.card-span-6 { flex-direction: column; min-height: auto; }
    .leader-card.card-span-3 .leader-img-wrapper, .leader-card.card-span-6 .leader-img-wrapper { flex: none; width: 100%; height: auto; order: -1; }
    .leader-card.card-span-3 .leader-info-pro, .leader-card.card-span-6 .leader-info-pro { align-items: center; text-align: center; }
    .leader-card.card-span-3 .leader-bio-pro, .leader-card.card-span-6 .leader-bio-pro { text-align: center; }
    .leadership-gallery { grid-template-columns: repeat(2, 1fr); }
    .leader-card { grid-column: span 1 !important; }
}

@media (max-width: 768px) {
    .blueprint-stats { padding: 60px 5%; }
    .leadership-gallery { grid-template-columns: 1fr; }
    .stats-container-pro { 
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px; 
    }
    .stat-item-pro { padding: 0; width: 100%; }
    .stat-item-pro:not(:last-child)::after { display: none; }
    .stat-val-pro { font-size: 3rem; margin-bottom: 8px; }
    .stat-label-pro { font-size: 0.75rem; }
    .leader-card { grid-column: span 1 !important; padding: 24px; }
    .leader-name-pro { font-size: 1.5rem; }
    .section-title-pro { font-size: 2.2rem; }
}
