/* =========================================================================
   1. GLOBAL VARIABLES (NEW COLOR SCHEME) & MINIMALIST RESET
   ========================================================================= */
:root {
    /* Brand Palette */
    --primary: #008080;
    --accent-green: #00A676;         /* Primary Teal for Actions/Accents */
    --primary-hover: #006666;   
    --secondary: #002B49;       /* Dark Navy for Headers/Footers/Headings */
    --secondary-hover: #001A2E; 
    --tertiary: #455A64;        /* Dark Slate Gray for Body Text */
    --neutral: #607D8B;         /* Blue Gray for secondary text/borders */
    
    /* Backgrounds & Borders */
    --bg-white: #FFFFFF;
    --bg-offwhite: #EBF4F6;     /* Soft icy blue/teal tint from your mockup */
    --border-light: #CFD8DC;    /* Muted border color */
    
    /* Structural Rules */
    --shadow-premium: 0 15px 40px rgba(0, 43, 73, 0.08); /* Tinted with Navy */
    --shadow-hover: 0 20px 50px rgba(0, 43, 73, 0.15);
    --radius-small: 4px;   
    --radius-main: 12px;   
    --gradient: linear-gradient(to right, var(--secondary), var(--primary));
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; }
body { background-color: var(--bg-white); color: var(--tertiary); line-height: 1.6; overflow-x: hidden;}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1380px; margin: 0 auto; padding: 0 24px; position: relative;}

/* --- GLOBAL PREMIUM BOX CLASS --- */
.premium-box {
    border-radius: var(--radius-main);
    background: var(--bg-white);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
}

/* --- ANIMATIONS --- */
.animate-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-up.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================================
   2. BUTTONS, LINKS & HEADINGS
   ========================================================================= */
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header h2 { font-size: 36px; color: var(--secondary); font-weight: 700; margin-bottom: 16px; letter-spacing: -0.5px; }
.section-header p { color: var(--tertiary); font-size: 18px; max-width: 700px; }
.section-header.center p { margin: 0 auto; }
.heading-line { width: 60px; height: 4px; background: var(--primary); margin-top: 24px; border-radius: 2px;}
.section-header.center .heading-line { margin-left: auto; margin-right: auto; }

.btn-primary { 
    display: inline-flex; align-items: center; justify-content: center; 
    background-color: var(--primary); color: var(--bg-white); 
    padding: 14px 32px; font-weight: 600; font-size: 15px; 
    border: none; cursor: pointer; transition: var(--transition-smooth); 
    border-radius: var(--radius-small);
}
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 8px 15px rgba(0, 128, 128, 0.25);}
.link-arrow { color: var(--primary); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px;}
.link-arrow:hover { color: var(--primary-hover); }

/* =========================================================================
   3. TWO-TIERED HEADER
   ========================================================================= */
.site-header { position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 4px 10px rgba(0,43,73,0.05); }

/* Tier 1: Utility Bar */
.top-utility-bar { background: var(--bg-white); height: 80px; border-bottom: 1px solid var(--border-light); }
.utility-container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo { font-size: 26px; font-weight: 800; color: var(--secondary); line-height: 1;}
.logo a { color: var(--secondary); }
.logo span { color: var(--primary); font-size: 12px; display: block; letter-spacing: 4px; font-weight: 600; margin-top: 4px;}

.search-bar { display: flex; width: 500px; border: 1px solid var(--border-light); border-radius: var(--radius-small); overflow: hidden; background: var(--bg-offwhite);}
.search-bar input { width: 100%; padding: 10px 15px; border: none; outline: none; font-size: 14px; background: transparent; color: var(--tertiary);}
.search-bar button { background: transparent; border: none; border-left: 1px solid var(--border-light); padding: 0 15px; cursor: pointer; font-size: 16px; color: var(--tertiary);}

.utility-links { display: flex; align-items: center; gap: 15px; font-size: 14px; color: var(--tertiary); font-weight: 500;}
.utility-links a:hover { color: var(--primary); }
.utility-links .divider { color: var(--border-light); }
.menu-toggle { display: none; font-size: 28px; cursor: pointer; color: var(--secondary); }

/* Tier 2: Main Navigation */
.main-navigation { background: var(--secondary); height: 50px; color: var(--bg-white); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.nav-links { display: flex; height: 100%; }
.nav-item { height: 100%; display: flex; align-items: center; transition: background 0.2s; }
.nav-item > a { padding: 0 20px; height: 100%; display: flex; align-items: center; font-weight: 500; font-size: 14px; letter-spacing: 0.5px;}
.nav-item:hover { background: rgba(255,255,255,0.1); }
.phone-number { font-weight: 600; font-size: 14px; letter-spacing: 0.5px;}

/* Structured Mega Menu */
.mega-menu-wrapper { position: absolute; top: 130px; left: 0; width: 100%; background: var(--bg-white); color: var(--secondary); box-shadow: 0 20px 40px rgba(0,43,73,0.15); opacity: 0; visibility: hidden; transform: translateY(5px); transition: var(--transition-smooth); border-top: 3px solid var(--primary); cursor: default; }
.nav-item.has-dropdown:hover .mega-menu-wrapper { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; padding: 50px 24px; }

.mega-section h4 { font-size: 20px; color: var(--secondary); margin-bottom: 8px; font-weight: 700; }
.mega-section p { font-size: 14px; color: var(--neutral); margin-bottom: 12px; line-height: 1.4; }
.mega-section hr { border: none; border-top: 1px solid var(--border-light); margin-bottom: 16px; }
.mega-section ul li { margin-bottom: 12px; }
.mega-section ul li a { font-size: 14px; color: var(--tertiary); font-weight: 600; transition: color 0.2s; display: flex; align-items: center; }
.mega-section ul li a:hover { color: var(--primary); }

.mega-footer { background: var(--bg-offwhite); padding: 20px 0; border-top: 1px solid var(--border-light); }
.explore-link { font-weight: 700; color: var(--secondary); font-size: 15px; }
.explore-link:hover { color: var(--primary); }

/* =========================================================================
   4. HOMEPAGE SECTIONS
   ========================================================================= */

/* Hero */
.hero { background: var(--bg-offwhite); padding: 220px 0 120px; border-bottom: 1px solid var(--border-light); position: relative; }
.hero-content { max-width: 800px; position: relative; z-index: 2;}
.hero h1 { font-size: 56px; margin-bottom: 24px; font-weight: 700; color: var(--secondary); letter-spacing: -1px; line-height: 1.15;}
.hero p { font-size: 20px; margin-bottom: 40px; color: var(--tertiary); max-width: 650px;}

/* Trust & Numbers */
.trust-numbers { padding: 60px 0; background: var(--bg-white); border-bottom: 1px solid var(--border-light);}
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.number-box { border-left: 1px solid var(--border-light); padding-left: 24px; }
.number-box:first-child { border-left: none; padding-left: 0; }
.number-box h2 { font-size: 48px; color: var(--primary); margin-bottom: 8px; font-weight: 700; line-height: 1;}
.number-box p { color: var(--neutral); font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: 1.5px;}

/* Sectors (Interactive Tabs) */
.sectors-section { padding: 120px 0; background: var(--bg-white); }
.sectors-layout { display: grid; grid-template-columns: 250px 1fr 300px; gap: 40px; align-items: stretch; }
.sector-tabs { display: flex; flex-direction: column; gap: 4px; }
.tab-btn { background: transparent; border: 1px solid transparent; padding: 16px 20px; text-align: left; font-weight: 500; font-size: 16px; color: var(--tertiary); cursor: pointer; transition: var(--transition-smooth); border-radius: var(--radius-small); }
.tab-btn:hover { color: var(--primary); background: var(--bg-offwhite); }
.tab-btn.active { background: var(--bg-white); color: var(--secondary); font-weight: 700; border: 1px solid var(--border-light); border-left: 4px solid var(--primary); box-shadow: var(--shadow-premium);}
.sector-card { background: var(--bg-white); border-radius: var(--radius-main); display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-premium); border: 1px solid var(--border-light);}
.sector-card img { width: 100%; height: 300px; object-fit: cover; }
.sector-content { padding: 40px; flex-grow: 1;}
.sector-content h3 { color: var(--secondary); margin-bottom: 16px; font-size: 24px; font-weight: 700;}
.sector-content p { margin-bottom: 30px;}
.sector-quote { background: var(--secondary); color: var(--bg-white); padding: 40px; display: flex; align-items: center; border-radius: var(--radius-main); box-shadow: var(--shadow-premium);}
.sector-quote blockquote { font-size: 18px; position: relative; line-height: 1.6; font-weight: 300;}
.sector-quote blockquote::before { content: '"'; font-size: 60px; color: var(--primary); line-height: 0; vertical-align: bottom;}

/* Overview Pillars */
.pillars-overview { padding: 120px 0; background: var(--bg-offwhite); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light);}
.pillar-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.pillar-icon-box { background: var(--bg-white); padding: 40px 20px; text-align: center; border-radius: var(--radius-main); transition: var(--transition-smooth); cursor: pointer; border: 1px solid var(--border-light); box-shadow: 0 4px 10px rgba(0,43,73,0.03);}
.pillar-icon-box:hover { border-color: var(--primary); background: var(--primary); transform: translateY(-8px); box-shadow: var(--shadow-hover);}
.pillar-icon-box h4 { color: var(--secondary); font-size: 18px; font-weight: 600; transition: color 0.3s;}
.pillar-icon-box:hover h4 { color: var(--bg-white); }

/* Slider Section & Controls */
.slider-section { padding: 120px 0; background: var(--bg-white); overflow: hidden; }
.slider-container { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 30px; padding-bottom: 20px; scrollbar-width: none; scroll-behavior: smooth; cursor: grab; }
.slider-container:active { cursor: grabbing; }
.slider-container::-webkit-scrollbar { display: none; } 
.slider-controls { display: flex; gap: 10px; }
.slider-btn { width: 45px; height: 45px; background: var(--bg-white); border: 1px solid var(--border-light); color: var(--secondary); font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition-smooth); border-radius: var(--radius-small); }
.slider-btn:hover { background: var(--secondary); color: var(--bg-white); border-color: var(--secondary); }
.slide-card { min-width: 400px; background: var(--bg-white); scroll-snap-align: center; border-radius: var(--radius-main); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border-light); box-shadow: var(--shadow-premium); transition: var(--transition-smooth);}
.slide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.slide-card img { width: 100%; height: 220px; object-fit: cover; border-bottom: 1px solid var(--border-light);}
.slide-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column;}
.slide-content h3 { margin-bottom: 12px; color: var(--secondary); font-size: 22px; font-weight: 700;}
.slide-content p { font-size: 15px; margin-bottom: 24px; flex-grow: 1;}

/* Our Partners Marquee */
.partners-section { background: var(--bg-offwhite); padding: 100px 0; border-top: 1px solid var(--border-light); overflow: hidden; text-align: center; }
.marquee-wrapper { display: flex; width: 200%; animation: marquee 25s linear infinite; }
.marquee-wrapper:hover { animation-play-state: paused; }
.marquee-track { display: flex; width: 50%; justify-content: space-around; }
.partner-box { width: 200px; height: 80px; display: flex; align-items: center; justify-content: center; margin: 0 20px; color: var(--neutral); font-size: 24px; font-weight: 700; opacity: 0.6; transition: var(--transition-smooth); }
.partner-box:hover { opacity: 1; color: var(--primary); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Awards Placeholder */
.awards-section { padding: 60px 0 100px; text-align: center; }
.awards-box { border: 1px dashed var(--neutral); padding: 60px; background: var(--bg-offwhite); color: var(--tertiary); border-radius: var(--radius-main); }
.awards-box h3 { color: var(--secondary); margin-bottom: 10px; }

/* =========================================================================
   5. PARTNERS DIRECTORY PAGE
   ========================================================================= */
.page-hero { background: var(--bg-offwhite); padding: 200px 0 80px; border-bottom: 1px solid var(--border-light); text-align: center; }
.page-hero h1 { font-size: 48px; color: var(--secondary); margin-bottom: 20px; font-weight: 700; letter-spacing: -1px;}
.page-hero p { font-size: 18px; color: var(--tertiary); max-width: 800px; margin: 0 auto; line-height: 1.6;}

.partner-directory { padding: 80px 0 120px; background: var(--bg-white); }
.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 60px; }
.filter-btn { background: var(--bg-white); border: 1px solid var(--border-light); padding: 12px 24px; border-radius: 30px; color: var(--tertiary); font-size: 15px; font-weight: 600; cursor: pointer; transition: var(--transition-smooth); }
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); color: var(--bg-white); border-color: var(--primary); box-shadow: 0 4px 10px rgba(0, 128, 128, 0.2); }

.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 40px; }
.partner-card { display: flex; flex-direction: column; overflow: hidden; }
.partner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--border-light); }
.partner-logo { height: 140px; display: flex; align-items: center; justify-content: center; background: var(--bg-white); border-bottom: 1px solid var(--border-light); padding: 20px; }
.partner-logo img { max-height: 60px; max-width: 80%; object-fit: contain; }
.partner-content { padding: 30px; background: var(--bg-white); flex-grow: 1; display: flex; flex-direction: column; }
.partner-content h3 { font-size: 22px; color: var(--secondary); margin-bottom: 5px; font-weight: 700;}
.partner-tier { font-size: 13px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.partner-desc { color: var(--tertiary); font-size: 15px; margin-bottom: 24px; flex-grow: 1; }

.cta-banner { background: var(--secondary); padding: 80px 0; }
.cta-banner h2 { font-size: 32px; color: var(--bg-white); margin-bottom: 15px; }
.cta-banner p { font-size: 18px; color: var(--border-light); max-width: 600px; margin: 0 auto; }

/* =========================================================================
   6. FOOTER
   ========================================================================= */
footer { background: var(--secondary); color: var(--bg-offwhite); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer-col h4 { margin-bottom: 24px; color: var(--bg-white); font-size: 16px; font-weight: 700;}
.footer-col ul li { margin-bottom: 12px; font-size: 15px; color: var(--neutral);}
.footer-col ul li a { transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom { text-align: left; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; font-size: 14px; color: var(--neutral); display: flex; justify-content: space-between;}

/* =========================================================================
   7. RESPONSIVE MEDIA QUERIES
   ========================================================================= */
@media(max-width: 1024px) {
    .search-bar { width: 300px; }
    .hero h1 { font-size: 48px; }
    .sectors-layout { grid-template-columns: 200px 1fr; }
    .sector-quote { grid-column: span 2; }
    .pillar-grid { grid-template-columns: repeat(3, 1fr); }
    .slide-card { min-width: 350px; }
}

@media(max-width: 768px) {
    .menu-toggle { display: block; }
    .search-bar, .utility-links, .phone-number { display: none; }
    
    .nav-links { position: absolute; top: 80px; left: -100%; flex-direction: column; background: var(--secondary); width: 100%; height: calc(100vh - 80px); transition: 0.4s; overflow-y: auto;}
    .nav-links.active { left: 0; }
    .nav-item { display: block; height: auto;}
    .nav-item > a { padding: 20px; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.05); }
    
    .mega-menu-wrapper { position: static; box-shadow: none; opacity: 1; visibility: visible; display: none; border-top: none; background: rgba(0,0,0,0.2);}
    .mega-section h4 { color: var(--bg-white); }
    .mega-section p { color: var(--neutral); }
    .mega-section ul li a { color: var(--bg-white); }
    .nav-item.has-dropdown:hover .mega-menu-wrapper { display: block; }
    .mega-menu-grid { grid-template-columns: 1fr; gap: 30px; padding: 20px; }
    
    .hero { padding: 160px 0 80px; }
    .hero h1 { font-size: 40px; }
    
    .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 40px;}
    .number-box { border-left: none; padding-left: 0; border-bottom: 1px solid var(--border-light); padding-bottom: 20px;}
    .number-box:nth-child(3), .number-box:nth-child(4) { border-bottom: none; padding-bottom: 0;}

    .sectors-layout { grid-template-columns: 1fr; }
    .sector-tabs { flex-direction: row; overflow-x: auto; white-space: nowrap; padding-bottom: 16px; border-bottom: 1px solid var(--border-light);}
    .tab-btn { border: none; padding: 10px 20px; }
    .tab-btn.active { border: none; border-bottom: 3px solid var(--primary); }
    .sector-quote { grid-column: span 1; }

    .pillar-grid { grid-template-columns: repeat(2, 1fr); }
    .slider-controls { display: none; } 
    .slide-card { min-width: 300px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center;}
    
    .page-hero { padding: 150px 0 60px; }
    .page-hero h1 { font-size: 36px; }
    .partner-grid { grid-template-columns: 1fr; }
}

@media(max-width: 480px) {
    .numbers-grid { grid-template-columns: 1fr; }
    .number-box { border-bottom: 1px solid var(--border-light); padding-bottom: 20px;}
    .pillar-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   CASE STUDIES PAGE STYLES
   ========================================================================= */

/* Industry Tag Pill */
.industry-tag {
    display: inline-block;
    background: var(--bg-offwhite);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
}

/* Featured Case Study Block */
.featured-case-section {
    padding: 0 0 80px; /* Pulls up slightly into the hero */
    background: var(--bg-white);
    margin-top: -40px; 
    position: relative;
    z-index: 10;
}
.featured-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}
.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}
.featured-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.featured-content h2 {
    font-size: 32px;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 20px;
}
.featured-content p {
    font-size: 16px;
    margin-bottom: 30px;
}

/* Featured Metrics Flexbox */
.featured-metrics {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}
.metric h4 {
    font-size: 36px;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}
.metric span {
    font-size: 13px;
    color: var(--neutral);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Case Directory Grid */
.case-directory {
    padding: 40px 0 120px;
    background: var(--bg-white);
}
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}
.case-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-light);
}
.case-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-light);
}
.case-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.case-content h3 {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 12px;
    line-height: 1.3;
}
.case-content p {
    font-size: 15px;
    margin-bottom: 20px;
}
.case-metrics-small {
    background: var(--bg-offwhite);
    padding: 12px 16px;
    border-radius: var(--radius-small);
    border-left: 3px solid var(--primary);
    font-size: 14px;
    color: var(--tertiary);
    width: 100%;
    margin-bottom: 24px;
}
.case-metrics-small strong {
    color: var(--secondary);
    font-size: 18px;
    margin-right: 5px;
}

/* Responsive Adjustments for Case Studies */
@media(max-width: 992px) {
    .featured-box { grid-template-columns: 1fr; }
    .featured-image img { height: 300px; min-height: 300px; }
    .featured-content { padding: 40px; }
}
@media(max-width: 768px) {
    .featured-metrics { flex-direction: column; gap: 20px; }
    .case-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   CASE STUDY DETAIL VIEW (SPA) STYLES
   ========================================================================= */

/* Hero Section */
.cs-hero { background: var(--secondary); padding: 180px 0 100px; color: var(--bg-white); border-bottom: 5px solid var(--primary); }
.back-link { color: var(--neutral); font-size: 14px; font-weight: 600; margin-bottom: 30px; display: inline-block; transition: var(--transition-smooth); }
.back-link:hover { color: var(--primary); }
.cs-hero-content { max-width: 900px; }
.cs-hero-content .industry-tag { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: var(--bg-white); }
.cs-hero h1 { font-size: 48px; font-weight: 700; line-height: 1.2; margin-bottom: 24px; letter-spacing: -1px; }
.cs-hero p { font-size: 20px; color: var(--border-light); line-height: 1.6; }

/* Metrics Banner */
.cs-metrics { margin-top: -50px; position: relative; z-index: 10; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 40px 20px; border-top: 4px solid var(--primary); }
.metric-item { border-right: 1px solid var(--border-light); }
.metric-item:last-child { border-right: none; }
.metric-item h3 { font-size: 36px; color: var(--primary); font-weight: 700; margin-bottom: 5px; }
.metric-item p { font-size: 13px; font-weight: 600; color: var(--tertiary); text-transform: uppercase; letter-spacing: 1px; }

/* Main Split Layout */
.cs-body { padding: 80px 0 120px; background: var(--bg-white); }
.cs-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }

/* Narrative Styling */
.cs-main-content h2 { font-size: 28px; color: var(--secondary); margin: 40px 0 20px; padding-bottom: 10px; border-bottom: 2px solid var(--bg-offwhite); }
.cs-main-content h2:first-child { margin-top: 0; }
.cs-main-content p { font-size: 16px; color: var(--tertiary); margin-bottom: 20px; line-height: 1.8; }
.cs-main-content ul { margin-bottom: 30px; padding-left: 20px; }
.cs-main-content ul li { margin-bottom: 15px; font-size: 16px; color: var(--tertiary); position: relative; padding-left: 15px; }
.cs-main-content ul li::before { content: '•'; color: var(--primary); font-weight: bold; font-size: 24px; position: absolute; left: -10px; top: -5px; }

/* Sidebar Styling */
.cs-sidebar { display: flex; flex-direction: column; gap: 30px; }
.sidebar-box { padding: 30px; }
.sidebar-box h4 { font-size: 18px; color: var(--secondary); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border-light); }
.sidebar-box p { font-size: 14px; margin-bottom: 10px; color: var(--tertiary); }
.tech-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-tags span { background: var(--bg-offwhite); color: var(--secondary); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 4px; border: 1px solid var(--border-light); }

@media(max-width: 992px) {
    .cs-layout { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: 1fr; gap: 20px; }
    .metric-item { border-right: none; border-bottom: 1px solid var(--border-light); padding-bottom: 20px; }
    .metric-item:last-child { border-bottom: none; padding-bottom: 0; }
}

/* =========================================================================
   INTERACTIVE ANIMATIONS & VISUAL ELEMENTS
   ========================================================================= */

/* Image Hover Zoom Effect for Grid Cards */
.image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}
.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.case-card:hover .image-wrapper img {
    transform: scale(1.08); /* Smooth zoom in */
}

/* Detail View Hero Image Banner */
.detail-hero-img-box {
    width: 100%;
    height: 400px;
    overflow: hidden;
    padding: 0; /* Remove padding from premium box */
}
.detail-hero-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Staggered Fade-In Animation for SPA routing */
.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Metrics Gradient Typography */
.metric-item h3 {
    font-size: 42px; /* Made slightly larger */
    font-weight: 800;
    margin-bottom: 5px;
    /* Beautiful Teal Gradient Text */
    background: linear-gradient(135deg, var(--primary), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Make link arrows interactive */
.link-arrow {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-smooth);
    margin-top: 15px;
}
.case-card:hover .link-arrow {
    transform: translateX(8px); /* Arrow slides right on card hover */
    color: var(--primary-hover);
}

/* Detail Page Adjustments */
.cs-metrics { margin-top: -30px; position: relative; z-index: 10; }
.cs-hero { background: var(--secondary); padding: 180px 0 120px; color: var(--bg-white); border-bottom: none; }


/* =========================================================================
   CONTACT US PAGE STYLES
   ========================================================================= */

.contact-section {
    padding: 60px 0 120px;
    background: var(--bg-white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info-col h2 {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 700;
}

/* Contact Cards */
.contact-card {
    display: flex;
    padding: 30px;
    margin-bottom: 24px;
    gap: 20px;
    border-radius: var(--radius-main);
}
.card-icon {
    font-size: 32px;
    background: var(--bg-offwhite);
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
    flex-shrink: 0;
}
.card-details h4 {
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 5px;
}
.card-details p {
    font-size: 15px;
    color: var(--tertiary);
    margin-bottom: 3px;
}
.card-details .title-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--neutral);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.contact-link {
    display: block;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    margin-top: 5px;
    transition: var(--transition-smooth);
}
.contact-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Enterprise Form Styling */
.enterprise-form {
    padding: 50px;
    border-top: 5px solid var(--primary);
}
.enterprise-form h3 {
    font-size: 28px;
    color: var(--secondary);
    margin-bottom: 5px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}
.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-small);
    font-size: 15px;
    color: var(--tertiary);
    background: var(--bg-white);
    transition: var(--transition-smooth);
    outline: none;
}
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1); /* Subtle teal glow */
}
.form-group textarea {
    resize: vertical;
}
.form-success-msg {
    margin-top: 20px;
    padding: 15px;
    background: #E6F4EA;
    color: var(--primary-hover);
    border: 1px solid #B2DFDB;
    border-radius: var(--radius-small);
    font-weight: 500;
    text-align: center;
}

/* Responsive Adjustments */
@media(max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}
@media(max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .enterprise-form {
        padding: 30px 20px;
    }
    .contact-card {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
 
    }
}
/* =========================================================================
   OUR PILLARS (SERVICES) PAGE STYLES
   ========================================================================= */

.pillars-deep-dive {
    padding: 80px 0 120px;
    background: var(--bg-white);
}

.pillar-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}
.pillar-row:last-child {
    margin-bottom: 0;
}
.pillar-row.reverse {
    direction: rtl;
}
.pillar-row.reverse > * {
    direction: ltr; /* Resets text direction inside the reversed grid */
}

.pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--bg-offwhite);
    color: var(--primary);
    border-radius: var(--radius-small);
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
}

.pillar-content h2 {
    font-size: 36px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.pillar-content p {
    font-size: 18px;
    color: var(--tertiary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.pillar-features {
    list-style: none;
    margin-bottom: 40px;
}
.pillar-features li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary);
}
.pillar-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 800;
    font-size: 18px;
}

.pillar-visual {
    width: 100%;
    height: 450px;
    overflow: hidden;
    padding: 0; /* Override premium-box padding if any */
}
.pillar-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.pillar-row:hover .pillar-visual img {
    transform: scale(1.05);
}

/* Responsive Adjustments for Pillars */
@media (max-width: 992px) {
    .pillar-row {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }
    .pillar-row.reverse {
        direction: ltr; /* Disable zigzag on mobile for better reading flow */
    }
    .pillar-visual {
        height: 350px;
    }
}
@media (max-width: 768px) {
    .pillar-content h2 {
        font-size: 28px;
    }
    .pillar-visual {
        height: 250px;
    }
}
/* =========================================================================
   PARTNERS PAGE (SHI-INSPIRED UI)
   ========================================================================= */

/* Dark Hero Banner */
.partner-hub-hero { background: var(--secondary); padding: 180px 0 80px; color: var(--bg-white); }
.partner-hub-hero h1 { font-size: 42px; font-weight: 700; margin-bottom: 15px; letter-spacing: -0.5px; }
.partner-hub-hero p { font-size: 18px; color: var(--border-light); max-width: 800px; line-height: 1.6; }

/* Directory Controls */
.partner-hub-directory { padding: 60px 0 120px; background: #F8F9FA; }
.directory-header { text-align: center; margin-bottom: 40px; }
.directory-header h2 { font-size: 32px; color: #b20059; /* Keeping a pop of color for the header as requested by UI style */ font-weight: 400; margin-bottom: 10px;}
.directory-header p { font-size: 16px; color: var(--tertiary); }
.directory-header a { color: var(--primary); text-decoration: underline; }

.partner-filter-controls { display: flex; justify-content: center; gap: 20px; margin-bottom: 50px; flex-wrap: wrap; }
.search-box input, .select-box select { padding: 12px 20px; border: 1px solid var(--border-light); border-radius: var(--radius-small); font-size: 15px; width: 300px; outline: none; transition: var(--transition-smooth); }
.search-box input:focus, .select-box select:focus { border-color: var(--primary); }

.featured-title { font-size: 24px; color: #b20059; font-weight: 500; margin-bottom: 30px; }

/* The Grid & Cards */
.shi-partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.shi-card { background: var(--bg-white); border-radius: var(--radius-small); box-shadow: 0 4px 15px rgba(0,0,0,0.05); padding: 30px; display: flex; flex-direction: column; transition: var(--transition-smooth); border-bottom: 4px solid var(--primary); cursor: pointer; position: relative; }
.shi-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

.shi-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 25px; }
.shi-card-logo { max-width: 120px; max-height: 40px; object-fit: contain; }
.shi-card-logo-text { font-size: 24px; font-weight: 800; color: var(--secondary); line-height: 1; }

.shi-arrow-circle { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: var(--bg-white); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: var(--transition-smooth); }
.shi-card:hover .shi-arrow-circle { background: var(--secondary); transform: translateX(3px); }

.shi-card-desc { font-size: 14px; color: var(--tertiary); line-height: 1.6; }

/* =========================================================================
   DETAIL VIEW (SPA)
   ========================================================================= */

/* Split Dark Hero */
.shi-detail-hero { background: var(--secondary); padding: 150px 0 80px; position: relative; overflow: hidden; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-text .back-link { color: var(--border-light); margin-bottom: 30px; }
.hero-text h1 { font-size: 56px; font-weight: 300; margin-bottom: 15px; }
.hero-text p { font-size: 24px; color: var(--border-light); font-weight: 300; max-width: 500px; }
.hero-image img { width: 100%; max-height: 400px; object-fit: contain; }

/* Content Split */
.shi-detail-content { padding: 80px 0; background: var(--bg-white); }
.content-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.text-block h2 { font-size: 32px; font-weight: 400; color: var(--secondary); margin-bottom: 24px; line-height: 1.3; }
.text-block p { font-size: 16px; color: var(--tertiary); line-height: 1.8; margin-bottom: 15px; }
.image-block img { width: 100%; border-radius: var(--radius-small); object-fit: cover; }

/* Benefits Grid */
.shi-detail-benefits { padding: 0 0 100px; background: var(--bg-white); }
.shi-detail-benefits h2 { font-size: 28px; font-weight: 400; color: var(--secondary); margin-bottom: 40px; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.benefit-card { background: var(--secondary); border-radius: var(--radius-small); overflow: hidden; color: var(--bg-white); display: flex; flex-direction: column; height: 350px;}
.benefit-top { padding: 30px; flex-grow: 1; }
.benefit-icon { color: var(--primary); margin-bottom: 20px; }
.benefit-top h3 { font-size: 22px; font-weight: 500; }
.benefit-img { height: 180px; width: 100%; position: relative; }
.benefit-img img { width: 100%; height: 100%; object-fit: cover; }
.benefit-img::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,128,128,0.4), transparent); }

/* Responsive */
@media(max-width: 992px) {
    .hero-split, .content-split, .benefits-grid { grid-template-columns: 1fr; }
    .hero-image img { max-height: 300px; margin-top: 40px; }
}

/* =========================================================================
   NAVBAR CONSISTENCY UPDATE + FLOATING CHAT FORM
   ========================================================================= */
.logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.site-logo-img {
    display: block;
    width: 190px;
    max-width: 52vw;
    height: auto;
}
.menu-toggle {
    background: transparent;
    border: 0;
    line-height: 1;
}
.nav-link-button {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    background: transparent;
    border: 0;
    color: var(--bg-white);
    font: inherit;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.nav-link-button:hover,
.nav-link-button:focus-visible {
    color: var(--bg-white);
    outline: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(0, 128, 128, 0.35);
    outline-offset: 3px;
}
.contact-info-only-layout {
    align-items: stretch;
}
.contact-chat-cta {
    padding: 36px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.chat-cta-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-left: 3px solid var(--primary);
    background: var(--bg-offwhite);
    color: var(--tertiary);
    font-size: 14px;
    line-height: 1.5;
}

.floating-chat-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    font-family: 'Inter', sans-serif;
}
.chat-bubble-toggle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 0;
    background: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 16px 40px rgba(0, 43, 73, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.chat-bubble-toggle:hover {
    transform: translateY(-3px);
    background: var(--primary-hover);
}
.chat-bubble-toggle svg {
    width: 30px;
    height: 30px;
}
.chat-panel {
    width: min(390px, calc(100vw - 32px));
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 43, 73, 0.22);
    overflow: hidden;
    transform: translateY(16px) scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    position: absolute;
    right: 0;
    bottom: 78px;
}
.floating-chat-widget.is-open .chat-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.chat-panel-header {
    background: var(--secondary);
    color: var(--bg-white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}
.chat-panel-header h3 {
    margin: 0 0 6px;
    font-size: 18px;
    color: var(--bg-white);
}
.chat-panel-header p {
    margin: 0;
    color: var(--border-light);
    font-size: 13px;
    line-height: 1.5;
}
.chat-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 0;
    color: var(--bg-white);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}
.chat-form {
    padding: 20px;
    display: grid;
    gap: 12px;
}
.chat-form label {
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.chat-form input,
.chat-form textarea,
.chat-form select {
    width: 100%;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-small);
    padding: 11px 12px;
    font: inherit;
    color: var(--tertiary);
    background: var(--bg-white);
}
.chat-form textarea {
    resize: vertical;
    min-height: 92px;
}
.chat-form .form-success-msg {
    margin-top: 0;
    font-size: 13px;
}
.chat-mini-note {
    font-size: 12px;
    line-height: 1.5;
    color: var(--neutral);
    margin-top: -2px;
}

@media(max-width: 768px) {
    .site-logo-img { width: 160px; }
    .nav-link-button { width: 100%; padding: 20px; justify-content: flex-start; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .floating-chat-widget { right: 16px; bottom: 16px; }
    .chat-bubble-toggle { width: 58px; height: 58px; }
    .chat-panel { right: -8px; bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}


/* =========================================================================
   BATCH 2: AWARDS, PILLAR DETAIL PAGES, TEAM & SPA POLISH
   ========================================================================= */
.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    margin-bottom: 12px;
}
.center { text-align: center; }
.section-cta { margin-top: 36px; }
.footer-logo-link { display: inline-flex; line-height: 0; }
.footer-logo-img { width: 170px; max-width: 100%; height: auto; filter: brightness(0) invert(1); }
.pillar-grid-linked .pillar-icon-box {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: inherit;
}
.pillar-grid-linked .pillar-icon-box p {
    max-width: 210px;
    color: var(--neutral);
    font-size: 14px;
    line-height: 1.5;
}
.pillar-grid-linked .pillar-icon-box:hover p { color: var(--bg-white); }
.team-page-section, .awards-page-section, .pillar-hub-section, .pillar-detail-section, .pillar-outcomes-section, .related-pillars-section {
    padding: 100px 0;
    background: var(--bg-white);
}
.team-grid, .awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.team-card, .award-card {
    padding: 30px;
    height: 100%;
}
.placeholder-avatar, .team-avatar {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: var(--bg-white);
    font-size: 28px;
    font-weight: 800;
    box-shadow: var(--shadow-premium);
}
.team-card .team-avatar { margin-bottom: 22px; }
.team-card h3, .award-card h3, .pillar-hub-card h2, .pillar-detail-card h3 {
    color: var(--secondary);
}
.awards-teaser-section { padding: 80px 0; background: var(--bg-white); }
.awards-teaser {
    padding: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, var(--bg-white), var(--bg-offwhite));
}
.awards-teaser h2 { color: var(--secondary); font-size: 30px; margin-bottom: 10px; }
.award-card { border-top: 4px solid var(--primary); }
.award-year { font-size: 13px; font-weight: 800; color: var(--primary); letter-spacing: 1px; }
.pillar-hub-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}
.pillar-hub-card { padding: 30px; display: flex; flex-direction: column; min-height: 310px; }
.pillar-hub-card p { flex-grow: 1; margin: 18px 0 24px; }
.pillar-number { color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: 1px; }
.pillar-detail-hero {
    padding: 190px 0 90px;
    background: var(--secondary);
    color: var(--bg-white);
}
.pillar-detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    gap: 60px;
    align-items: center;
}
.pillar-detail-hero h1 { font-size: 54px; line-height: 1.1; margin-bottom: 20px; color: var(--bg-white); }
.pillar-detail-hero p { font-size: 19px; color: var(--border-light); margin-bottom: 32px; max-width: 720px; }
.pillar-detail-hero-image { overflow: hidden; border: 0; }
.pillar-detail-hero-image img { width: 100%; min-height: 360px; max-height: 420px; object-fit: cover; display: block; }
.pillar-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.pillar-detail-card { padding: 32px; scroll-margin-top: 160px; }
.pillar-detail-card h3 { font-size: 24px; margin-bottom: 14px; }
.pillar-outcomes-section { background: var(--bg-offwhite); }
.pillar-outcomes-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.outcomes-box, .pillar-partners-box { padding: 34px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 18px; color: var(--tertiary); }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 800; }
.pillar-partners-strip { padding: 90px 0; background: var(--bg-white); }
.pillar-partners-box { text-align: center; max-width: 900px; margin: 0 auto; }
.related-pillars-section { padding-top: 0; }
.related-pillars-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.related-pillars-links a { border: 1px solid var(--border-light); padding: 12px 16px; border-radius: var(--radius-small); color: var(--secondary); font-weight: 700; }
.related-pillars-links a:hover { border-color: var(--primary); color: var(--primary); }

/* Partner and case-study SPA UI fixes */
.directory-helper { color: var(--neutral); margin: -18px 0 28px; text-align: center; }
.back-link-btn {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font: inherit;
}
.shi-card, .case-card { min-height: 100%; border-radius: var(--radius-main); }
.shi-card { border: 1px solid var(--border-light); border-top: 4px solid var(--primary); border-bottom: 0; }
.shi-card:focus-visible, .case-card:focus-visible { outline: 3px solid rgba(0,128,128,0.35); outline-offset: 4px; }
.shi-card-desc { flex-grow: 1; }
.partner-empty-state, .case-empty-state {
    grid-column: 1 / -1;
    padding: 32px;
    text-align: center;
    color: var(--tertiary);
    background: var(--bg-white);
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-main);
}
.shi-detail-hero { padding: 170px 0 90px; }
.hero-text h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; color: var(--bg-white); }
.hero-image img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius-main); box-shadow: var(--shadow-hover); }
.shi-detail-content .image-block img { max-height: 380px; min-height: 280px; }
.benefit-card { background: var(--bg-white); color: var(--tertiary); border: 1px solid var(--border-light); height: auto; min-height: 320px; }
.benefit-top h3 { color: var(--secondary); }
.detail-hero-img-box { overflow: hidden; }
.detail-hero-img-box img { width: 100%; height: 420px; object-fit: cover; display: block; }
.cs-main-content { min-width: 0; }
.cs-sidebar { position: sticky; top: 150px; align-self: start; }
.case-card .image-wrapper { overflow: hidden; }
.case-card img { transition: transform 0.4s ease; }
.case-card:hover img { transform: scale(1.04); }

@media(max-width: 1200px) {
    .pillar-hub-grid { grid-template-columns: repeat(3, 1fr); }
}
@media(max-width: 992px) {
    .team-grid, .awards-grid, .pillar-detail-grid, .pillar-outcomes-grid, .pillar-detail-hero-grid { grid-template-columns: 1fr; }
    .pillar-hub-grid { grid-template-columns: repeat(2, 1fr); }
    .cs-sidebar { position: static; }
}
@media(max-width: 768px) {
   
    .awards-teaser { flex-direction: column; align-items: flex-start; }
    .pillar-detail-hero { padding: 160px 0 70px; }
    .pillar-detail-hero h1 { font-size: 38px; }
    .pillar-detail-hero-image img, .detail-hero-img-box img, .hero-image img { height: 260px; min-height: 240px; }
    .partner-filter-controls .search-box, .partner-filter-controls .select-box, .partner-filter-controls input, .partner-filter-controls select { width: 100%; }
}

.leadership-section {
  position: relative;
  overflow: hidden;
  padding: 72px 24px;
  background: linear-gradient(180deg, #fbfdff 0%, #f6fafc 100%);
  color: #071f3f;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.leadership-container {
  position: relative;
  z-index: 2;
  width: min(100%, 1440px);
  margin: 0 auto;
}

.leadership-header {
  max-width: 740px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #078394;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-line,
.card-line {
  display: block;
  width: 42px;
  height: 3px;
  background: #078394;
  border-radius: 999px;
}

.eyebrow-line {
  margin: 0 auto 24px;
}

.leadership-header h2 {
  margin: 0 0 14px;
  color: #061d3d;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.leadership-header p {
  margin: 0 auto;
  color: #5f6877;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  font-weight: 500;
}

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

.leader-card {
  overflow: hidden;
  padding: 22px 22px 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 37, 64, 0.06);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(8, 31, 58, 0.1);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(8, 31, 58, 0.14);
}

.leader-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.image-zoom-in {
  transform: scale(1.3);
  object-position: center center;
}

.leader-content h3 {
  margin: 0 0 4px;
  color: #061d3d;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.role {
  margin: 0 0 16px;
  color: #078394;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
}

.card-line {
  margin-bottom: 18px;
}

.bio {
  margin: 0;
  color: #5d6675;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
}

.leadership-bg {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.leadership-bg-left {
  left: -120px;
  top: 210px;
  width: 420px;
  height: 420px;
  opacity: 0.32;
  background-image: radial-gradient(circle, #13a9b8 1.3px, transparent 1.3px);
  background-size: 13px 13px;
  border-radius: 50%;
}

.leadership-bg-right {
  right: -220px;
  top: 90px;
  width: 680px;
  height: 680px;
  opacity: 0.32;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle,
    transparent 0,
    transparent 18px,
    rgba(19, 169, 184, 0.22) 19px,
    transparent 20px
  );
}

@media (max-width: 1200px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .leadership-section {
    padding: 56px 18px;
  }

  .leadership-header {
    margin-bottom: 36px;
  }

  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .leader-card {
    padding: 18px 18px 24px;
  }

  .leader-content h3 {
    font-size: 22px;
  }

  .role,
  .bio {
    font-size: 15px;
  }
}