/* IBCWE-Inspired Corporate Web Design System — Purple Theme */

:root {
    --primary: #2C5EAD;             /* Darker Blue */
    --primary-light: #1591DC;       /* Bright Blue */
    --primary-dark: #1D3D70;        /* Deep Blue for contrast */
    --accent: #2FA084;              /* Teal / Greenish Blue */
    --accent-hover: #217A64;        /* Darker Teal for hover */
    --accent-light: #E4F3EF;        /* Very light Teal tint */
    --bg-light: #ffffff;            /* Pure white base */
    --bg-purple-tint: #f4f6fa;      /* Very light blue-gray for slight contrast */
    --bg-warm: #fafafa;             /* Warm off-white */
    --text-dark: #1a202c;           /* Near Black */
    --text-light: #ffffff;          /* White Text */
    --text-muted: #4a5568;          /* Muted Gray */
    --border-color: #e2e8f0;        /* Border gray */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --font-heading: BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Core Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   HEADER / NAVBAR
   ========================================= */
header {
    background-color: var(--bg-light);
    position: sticky;
    top: 0;
    z-index: 100;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge {
    background: var(--accent);
    color: white;
    font-weight: 800;
    font-family: var(--font-heading);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 18px;
    letter-spacing: 1px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    font-family: var(--font-heading);
}

.logo-sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    font-weight: 400;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-link a {
    font-weight: 500;
    font-size: 14px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
    color: var(--text-dark);
}

.nav-link a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link a:hover {
    color: var(--accent);
}

.nav-link a:hover::after,
.nav-link.active a::after {
    width: 100%;
}

.nav-link.active a {
    color: var(--accent);
    font-weight: 600;
}

/* Nav Dropdown */
.nav-link.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-dark);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 4px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-link.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    text-transform: none;
    transition: all 0.2s ease;
}

.dropdown-menu li a::after {
    display: none; /* Remove underline animation for dropdown items */
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(232, 116, 44, 0.35);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-2px);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-dark:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Language switch */
.lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2px;
}

.lang-btn {
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 18px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn.active {
    background-color: var(--accent);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--text-light);
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(45, 27, 78, 0.92) 0%,
        rgba(74, 45, 122, 0.85) 50%,
        rgba(107, 63, 160, 0.78) 100%
    );
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    padding: 80px 0 100px 0;
    max-width: 680px;
}

.hero-content-wrapper h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.12;
    color: var(--text-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.hero-content-wrapper h1 span {
    color: var(--accent);
}

.hero-content-wrapper p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* =========================================
   SECTION UTILITIES
   ========================================= */
.section-padding {
    padding: 80px 0;
}

.section-padding-lg {
    padding: 100px 0;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 56px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    color: var(--primary-light);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: inline-block;
    background: rgba(74, 45, 122, 0.08);
    padding: 4px 14px;
    border-radius: 20px;
}

.section-title {
    font-size: 34px;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title-underline {
    position: relative;
    display: inline-block;
}

.section-title-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* =========================================
   ABOUT PREVIEW (Sekilas IBCWE)
   ========================================= */
.about-preview {
    background-color: white;
}

.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-preview-content .section-subtitle {
    text-align: left;
}

.about-preview-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: left;
}

.about-preview-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-preview-content .btn {
    margin-top: 8px;
}

.about-preview-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-preview-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-preview-image:hover img {
    transform: scale(1.03);
}

.about-preview-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(45, 27, 78, 0.3), transparent);
    pointer-events: none;
}

/* =========================================
   GOALS / TUJUAN KAMI
   ========================================= */
.goals-section {
    background-color: var(--bg-light);
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.goal-card {
    background-color: white;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 0 0 4px 4px;
    transition: width 0.3s ease;
}

.goal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(74, 45, 122, 0.15);
}

.goal-card:hover::before {
    width: 100%;
}

.goal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-purple-tint) 0%, rgba(74, 45, 122, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    font-size: 30px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.goal-card:hover .goal-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    transform: scale(1.1);
}

.goal-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.goal-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* =========================================
   STATISTICS / IMPACT NUMBERS
   ========================================= */
.stats-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(232, 116, 44, 0.06);
    pointer-events: none;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.stats-header {
    text-align: center;
    margin-bottom: 56px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.stats-header h2 {
    color: var(--text-light);
    font-size: 32px;
    margin-bottom: 16px;
}

.stats-header p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 1.7;
}

.stats-grid-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 36px;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    line-height: 1.4;
}

.stats-grid-secondary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 36px;
    position: relative;
    z-index: 2;
}

.stat-card-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.stat-card-secondary .stat-number {
    font-size: 32px;
    color: var(--accent-light);
}

.stats-grid-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card-bottom {
    text-align: center;
    padding: 16px;
}

.stat-card-bottom .stat-number {
    font-size: 44px;
    font-weight: 800;
    color: white;
    margin-bottom: 6px;
}

.stat-card-bottom .stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-banner h2 {
    color: white;
    font-size: 30px;
    margin-bottom: 16px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* =========================================
   PILLARS / BRAND VALUES
   ========================================= */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pillar-card {
    background-color: white;
    border-radius: 16px;
    padding: 36px 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: var(--primary);
    transition: background-color 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(74, 45, 122, 0.15);
}

.pillar-card:hover::before {
    background-color: var(--accent);
}

.pillar-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: var(--bg-purple-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    font-size: 24px;
    font-weight: 800;
}

.pillar-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.pillar-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* =========================================
   ABOUT / VISION-MISSION (About Page)
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-vision-mission {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.v-m-block {
    background-color: var(--bg-purple-tint);
    padding: 30px;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
}

.v-m-block h3 {
    margin-bottom: 12px;
    font-size: 18px;
    color: var(--primary-dark);
}

.v-m-list {
    list-style: none;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.v-m-list li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
}

.v-m-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: 700;
}

.leadership-showcase {
    margin-top: 80px;
}

.expert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.expert-card {
    background-color: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.expert-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.expert-photo {
    height: 240px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 60px;
    font-weight: 800;
}

.expert-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.expert-initials {
    color: var(--accent);
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.expert-info {
    padding: 24px;
}

.expert-role {
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.expert-name {
    font-size: 18px;
    margin-bottom: 8px;
}

.expert-bio {
    font-size: 13px;
    color: var(--text-muted);
}

.expert-founders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

/* =========================================
   SERVICES
   ========================================= */
.services-section-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-detail-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px 32px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(30, 58, 138, 0.15);
}

.service-card-decor {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent) 0%, rgba(57, 181, 155, 0) 70%);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
    transition: all 0.4s ease;
}

.service-detail-card:hover .service-card-decor {
    transform: scale(1.5);
    opacity: 0.2;
}

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(30,58,138,0.05) 0%, rgba(30,58,138,0.1) 100%);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-detail-card:hover .service-icon-wrapper {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.service-detail-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.service-detail-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 32px;
    flex-grow: 1;
}

.service-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 24px;
    background: rgba(30,58,138,0.03);
    color: var(--primary);
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(30,58,138,0.05);
}

.service-detail-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.service-detail-btn svg {
    transition: transform 0.3s ease;
}

.service-detail-btn:hover svg {
    transform: translateX(5px);
}

.service-outputs-list {
    margin-top: 24px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-outputs-list li {
    font-size: 14px;
    padding-left: 24px;
    position: relative;
}

.service-outputs-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
}

/* =========================================
   SECTORS
   ========================================= */
.sectors-slider-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.sectors-bottom-row {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.sectors-bottom-row .sector-card {
    flex: 1 1 300px;
    max-width: calc(33.333% - 16px);
}

.sector-card {
    height: 280px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.sector-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    z-index: 1;
    transition: transform 0.4s ease;
}

.sector-card:hover .sector-card-bg {
    transform: scale(1.05);
}

.sector-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(45, 27, 78, 0.95) 0%, rgba(45, 27, 78, 0.4) 60%, transparent 100%);
    z-index: 2;
}

.sector-content {
    position: relative;
    z-index: 3;
}

.sector-icon {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 12px;
}

.sector-title {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.sector-desc {
    font-size: 13px;
    color: rgba(248, 250, 252, 0.85);
    opacity: 0;
    max-height: 0;
    transition: all 0.3s ease;
}

.sector-card:hover .sector-desc {
    opacity: 1;
    max-height: 80px;
    margin-top: 8px;
}

/* =========================================
   RESOURCES
   ========================================= */
.resources-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    gap: 20px;
}

.resources-search {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.resources-search input {
    width: 100%;
    padding: 10px 16px;
    padding-right: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.resources-search input:focus {
    border-color: var(--primary-light);
}

.resources-tabs {
    display: flex;
    gap: 8px;
}

.resource-tab-btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: var(--text-muted);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.resource-tab-btn.active {
    background-color: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.resource-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.resource-tag {
    background-color: var(--bg-purple-tint);
    color: var(--primary);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 16px;
}

.resource-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.resource-title {
    font-size: 18px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.resource-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.resource-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

/* =========================================
   LSP WIZARD
   ========================================= */
.lsp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.lsp-steps-timeline {
    border-left: 2px solid var(--border-color);
    padding-left: 32px;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.lsp-timeline-item {
    position: relative;
}

.lsp-timeline-num {
    position: absolute;
    left: -48px;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-light);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.lsp-timeline-item.active .lsp-timeline-num {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
}

.lsp-timeline-title {
    font-size: 16px;
    margin-bottom: 6px;
}

.lsp-timeline-desc {
    font-size: 13px;
    color: var(--text-muted);
}

.lsp-wizard-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.wizard-steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.wizard-step-indicator-item {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 700;
}

.wizard-step-indicator-item.active {
    color: var(--primary-light);
}

.wizard-step-content {
    display: none;
}

.wizard-step-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(74, 45, 122, 0.1);
}

.wizard-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
}

/* =========================================
   CONTACT
   ========================================= */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 60px;
}

.contact-info-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: var(--bg-purple-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-details h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.contact-info-details p {
    font-size: 13px;
    color: var(--text-muted);
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.alert-success {
    background-color: var(--bg-purple-tint);
    border: 1px solid rgba(74, 45, 122, 0.2);
    color: var(--primary-dark);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 0;
}

.footer-main {
    padding: 64px 0 48px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
    gap: 48px;
    margin-bottom: 0;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11.5px;
    margin-top: 16px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.footer-column h4 {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background-color: var(--accent);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: var(--accent);
}

/* Newsletter form in footer */
.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-family: var(--font-body);
    font-size: 14px;
    border-radius: 8px 0 0 8px;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.12);
}

.newsletter-form button {
    padding: 12px 20px;
    background-color: var(--accent);
    color: white;
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background-color: var(--accent-hover);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .hero-content-wrapper h1 {
        font-size: 36px;
    }

    .hero-content-wrapper {
        padding: 60px 0 80px 0;
    }

    .about-preview-grid,
    .about-grid,
    .lsp-grid,
    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pillars-grid,
    .expert-grid,
    .services-section-grid,
    .sectors-grid,
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid-main,
    .stats-grid-secondary,
    .stats-grid-bottom {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .stats-header h2 {
        font-size: 26px;
    }

    .sectors-bottom-row .sector-card {
        max-width: calc(50% - 16px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        padding: 24px;
        border-bottom: 2px solid var(--accent);
        box-shadow: var(--shadow-lg);
        gap: 0;
    }

    .nav-links .nav-link {
        width: 100%;
    }

    .nav-links .nav-link a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links.show {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-actions .btn {
        display: none;
    }

    .hero-content-wrapper h1 {
        font-size: 28px;
    }

    .hero-content-wrapper {
        padding: 48px 0 64px 0;
    }

    .hero {
        min-height: 400px;
    }

    .goals-grid,
    .pillars-grid,
    .expert-grid,
    .services-section-grid,
    .sectors-grid,
    .resources-grid,
    #about-goals-layout {
        grid-template-columns: 1fr;
    }
    #stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .sectors-bottom-row .sector-card {
        max-width: 100%;
    }

    .stats-grid-main,
    .stats-grid-secondary {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stats-grid-bottom {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-card-bottom .stat-number {
        font-size: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-padding-lg {
        padding: 80px 0;
    }

    .about-preview-image img {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .hero-content-wrapper h1 {
        font-size: 24px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 8px;
    }

    .newsletter-form input {
        border-radius: 8px;
    }

    .newsletter-form button {
        border-radius: 8px;
    }

    .stats-grid-main,
    .stats-grid-secondary,
    .stats-grid-bottom,
    #stats-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================
   PREMIUM ICLO STYLES (TBI, WRI, CELIOS)
   ========================================= */

/* Hero Premium (WRI Style) */
.hero-premium {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Home Specific Hero overrides */
.hero-home {
    height: 75vh;
    min-height: 480px;
    align-items: flex-end;
    justify-content: center;
}

.hero-premium-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeSlide 18s infinite;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }

@keyframes fadeSlide {
    0%   { opacity: 1; transform: scale(1); }
    22%  { opacity: 1; }
    33%  { opacity: 0; transform: scale(1.05); }
    88%  { opacity: 0; transform: scale(1); }
    100% { opacity: 1; transform: scale(1); }
}

.hero-premium-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 26, 92, 0.85), rgba(15, 26, 92, 0.4));
    z-index: 2;
}

.hero-premium-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    padding-top: 40px;
}

.hero-home .hero-premium-content {
    text-align: left;
    width: 100%;
    max-width: 1200px;
    padding-bottom: 80px;
    padding-top: 0;
}

.hero-title-main {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-light);
    letter-spacing: -1px;
    margin-bottom: 30px;
    animation: fadeUp 1s ease-out;
}

.hero-premium-divider {
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    margin: 0 auto 30px auto;
    animation: fadeUp 1.2s ease-out;
}

.hero-subtitle-main {
    font-family: var(--font-body);
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeUp 1.4s ease-out;
}

/* Typography & Utilities */
.premium-heading {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.premium-paragraph {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.premium-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.premium-list {
    list-style: none;
    margin-bottom: 24px;
}

.premium-list li {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
}

.premium-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.premium-divider-short {
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    margin-top: 20px;
}

/* Buttons */
.btn-premium-outline {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-premium-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-premium-solid {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary);
    border: 1px solid var(--primary);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-premium-solid:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-premium-outline-white {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid white;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-premium-outline-white:hover {
    background-color: white;
    color: var(--primary);
}

.btn-premium-solid-white {
    display: inline-block;
    padding: 12px 28px;
    background-color: white;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-premium-solid-white:hover {
    background-color: #f0f0f0;
}

/* Asymmetrical Pillars */
.pillars-premium {
    background-color: var(--bg-light);
}

.pillar-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 60px;
}

.pillar-image-col {
    position: relative;
}

.premium-img-rounded {
    width: 100%;
    border-radius: 4px;
    box-shadow: var(--shadow-xl);
    transition: transform 0.5s ease;
}

.pillar-row:hover .premium-img-rounded {
    transform: scale(1.02);
}

/* Experts Directory (CELIOS Style) */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-bottom: 20px;
}

.experts-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

/* Swipeable slider */
.swipe-slider {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.swipe-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.swipe-slider > * {
    flex: 0 0 calc(33.333% - 13.33px);
    scroll-snap-align: start;
}

@media (max-width: 991px) {
    .swipe-slider > * {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .swipe-slider > * {
        flex: 0 0 calc(85%);
    }
}

/* 3-column wrapping grid */
.experts-grid-3 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
}

.experts-grid-3 > * {
    flex: 0 0 calc(33.333% - 13.33px);
}

@media (max-width: 991px) {
    .experts-grid-3 > * {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .experts-grid-3 > * {
        flex: 0 0 100%;
    }
}

.expert-card {
    text-align: center;
}

.expert-photo-wrapper {
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 4px;
}

.expert-photo {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: all 0.4s ease;
}

/* Elegant filter for uniform corporate identity */
.elegant-filter {
    filter: grayscale(100%) contrast(110%) brightness(90%);
}

.expert-card:hover .elegant-filter {
    filter: grayscale(0%) contrast(100%) brightness(100%);
    transform: scale(1.05);
}

.expert-name {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 4px;
}

.expert-title {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Publications Grid */
.publications-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.link-premium {
    color: var(--accent);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.link-premium:hover {
    color: var(--primary);
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.publication-card {
    display: block;
    background: white;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.publication-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.pub-image {
    height: 220px;
    overflow: hidden;
}

.pub-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.publication-card:hover .pub-image img {
    transform: scale(1.05);
}

.pub-content {
    padding: 24px;
}

.pub-category {
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}

.pub-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.pub-date {
    font-size: 13px;
    color: var(--text-muted);
}

/* CTA Premium */
.cta-premium {
    background-color: var(--primary);
    padding: 100px 0;
}

.text-white {
    color: white !important;
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .pillar-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pillar-row-left .pillar-content-col {
        order: 2;
    }
    .pillar-row-left .pillar-image-col {
        order: 1;
    }

    .expert-founders-grid, .expert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experts-grid .expert-card {
        flex: 0 0 calc(50% - 15px);
    }
    
    .publications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title-main {
        font-size: 42px;
    }
    
    .hero-home {
        align-items: center;
    }
    
    .hero-home .hero-premium-content {
        padding-bottom: 0;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background-color: var(--bg-light);
        padding: 20px;
        box-shadow: var(--shadow-md);
        z-index: 1000;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
        color: var(--text-dark);
    }
    
    #nav-desktop-cta-btn {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .expert-founders-grid, .expert-grid, .publications-grid {
        grid-template-columns: 1fr;
    }
    
    .experts-grid .expert-card {
        flex: 0 0 100%;
    }
    
    .hero-title-main {
        font-size: 32px;
    }
    
    .publications-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .stats-grid-main, .stats-grid-secondary, .stats-grid-bottom {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .goals-grid {
        grid-template-columns: 1fr;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .about-preview-grid, .about-grid {
        grid-template-columns: 1fr;
    }

    /* Resources Page Mobile Tweaks */
    .resources-filter-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        height: auto;
        gap: 20px;
    }
    
    .resources-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        width: 100%;
        gap: 10px;
        padding-bottom: 8px; /* Room for scrollbar */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .resources-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .resource-tab-btn {
        flex: 0 0 auto;
        text-align: center;
        padding: 8px 16px;
    }
    
    .resources-search {
        max-width: 100%;
        width: 100%;
        flex: none;
    }
}

/* =========================================
   EXPERT PROFILE PAGE
   ========================================= */
.expert-profile-container {
    display: flex;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 24px;
    gap: 60px;
}

.expert-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.expert-profile-container .expert-photo-wrapper {
    width: 100%;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 4px;
}

.expert-profile-container .expert-photo-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.back-link {
    display: inline-block;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.back-link:hover {
    color: var(--accent);
}

.expert-main-content {
    flex-grow: 1;
}

.expert-main-content h1 {
    font-size: 36px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.expert-role {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.expert-section {
    margin-bottom: 32px;
}

.expert-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    position: relative;
    padding-top: 16px;
}

.expert-section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #E63946; /* Red accent line from the image */
}

.expert-section p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .expert-profile-container {
        flex-direction: column;
        gap: 40px;
    }
    .expert-sidebar {
        width: 100%;
    }
}
