/* ==========================================
   GLOBAL STYLES & ROOT VARIABLES
   ========================================== */
:root {
    --color-primary: #0d9488;
    --color-primary-dark: #115e59;
    --color-accent-teal: #0d9488;
    --color-accent-warm: #ea580c;
    --color-text-dark: #0f172a;
    --color-text-muted: #334155;
    --color-bg-light: #f8fafc;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    -webkit-font-smoothing: antialiased;
}

/* ==========================================
   GLOBAL MAIN CONTENT BACKGROUND IMAGE
   ========================================== */
body main, 
.index-main-content {
    width: 100%;
    padding: 4rem 0;
    background-color: #f8fafc;
    background-image: linear-gradient(rgba(248, 250, 252, 0.92), rgba(248, 250, 252, 0.92)), url('../images/main-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

/* ==========================================
   COMPONENT STYLES (Pillars & Cards)
   ========================================== */
.pillar-card {
    border-radius: 8px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* --- Card Theme 1: Mint Teal Theme --- */
.pillar-card.theme-teal {
    background-color: #ccfbf1;
    border: 2px solid #99f6e4;
    color: #134e4a;
}
.pillar-card.theme-teal h3 {
    color: #134e4a !important;
}
.pillar-card.theme-teal .pillar-badge {
    background: #0d9488;
    color: #ffffff;
}
.pillar-card.theme-teal p {
    color: #115e59;
}
.pillar-card.theme-teal:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(13, 148, 136, 0.2);
    background-color: #99f6e4;
}

/* --- Card Theme 2: Deep Corporate Navy Theme --- */
.pillar-card.theme-navy {
    background-color: #003366;
    border: 2px solid #003366;
    color: #ffffff;
}
.pillar-card.theme-navy h3 {
    color: #ffffff !important;
}
.pillar-card.theme-navy .pillar-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #93c5fd;
}
.pillar-card.theme-navy p {
    color: #e2e8f0;
}
.pillar-card.theme-navy:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 51, 102, 0.3);
    background-color: #002244;
}

/* --- Card Theme 3: Warm Amber Theme --- */
.pillar-card.theme-amber {
    background-color: #ffedd5;
    border: 2px solid #fed7aa;
    color: #7c2d12;
}
.pillar-card.theme-amber h3 {
    color: #7c2d12 !important;
}
.pillar-card.theme-amber .pillar-badge {
    background: #ea580c;
    color: #ffffff;
}
.pillar-card.theme-amber p {
    color: #9a3412;
}
.pillar-card.theme-amber:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(234, 88, 12, 0.2);
    background-color: #fed7aa;
}

/* Top Accent Line Per Card */
.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}
.pillar-card.theme-teal::before { background: #0d9488; }
.pillar-card.theme-navy::before { background: #ea580c; }
.pillar-card.theme-amber::before { background: #ea580c; }

/* ==========================================
   RESPONSIVE UTILITIES
   ========================================== */
@media (max-width: 768px) {
    .storytelling-intro-section {
        padding: 1.5rem !important;
        margin: 0 1rem 2.5rem 1rem !important;
    }
}