/* =========================================
    1. VARIABLES & RESET
    ========================================= */
:root {
    --primary: #7c3aed;       /* Violet 600 */
    --primary-bg: #f5f3ff;    /* Violet 700*/
    --primary-light: #ddd6fe; /* Violet 200 */
    --primary-dark: #6d28d9;  /* Violet 50 */
    
    --success-bg: #dcfce7;
    --success-text: #166534;
    --warning-bg: #fef9c3;
    --warning-text: #ca8a04;
    --orange-bg: #ffedd5;
    --orange-text: #9a3412;
    --purple-bg: #f3e8ff;
    --purple-text: #6b21a8;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --secondary: #2563eb; /* Blue 600 */ 
    --slate-900: #0f172a; 
    --slate-800: #1e293b; 
    --slate-600: #475569; 
    --slate-500: #64748b; 
    --slate-200: #e2e8f0; 
    --slate-50: #f8fafc;
    
    --white: #ffffff;
    --radius: 12px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); 
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--slate-50);
    color: var(--slate-900);
    line-height: 1.5;
    overflow-x: hidden; /* Prevent horizontal scroll from decorative blobs */
    padding-top: 24px;
}

/* =========================================
    2. LAYOUT & UTILITIES
    ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 8px;
}

.main-content {
    padding-top: 48px;
    padding-bottom: 48px;
}

.space-y-12 > * + * {
    margin-top: 48px;
}

.hidden {
    display: none !important;
}

/* Grid Systems */
.grid-2, .grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .col-span-2 { grid-column: span 2; }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- BACKGROUND DECORATION --- */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: 0;
}
.blob-1 {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background-color: var(--primary-light);
}
.blob-2 {
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: #dbeafe; /* Light Blue */
}


/* --- NAVIGATION --- */
nav {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--slate-800);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background-color: var(--primary);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: none; /* Hidden on mobile by default */
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--slate-600);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    background-color: var(--slate-900);
    color: white !important;
    padding: 10px 20px;
    border-radius: 99px;
    transition: background-color 0.2s;
}
.btn-nav:hover {
    background-color: var(--slate-800);
}

/* =========================================
    3. TYPOGRAPHY & BADGES
    ========================================= */
h1 { font-size: 2.25rem; font-weight: 800; margin-bottom: 16px; }
h3 { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); }
h4 { font-weight: 700; font-size: 1.125rem; margin-bottom: 8px; }
p { color: var(--gray-600); font-size: 0.875rem; }

.text-center { text-align: center; }
.text-subtle { color: var(--gray-500); }
.text-sm { font-size: 0.875rem; }
.mb-4 { margin-bottom: 16px; }

/* Badges */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}
.badge-blue { background-color: var(--primary-light); color: var(--primary-dark); }
.badge-green { background-color: var(--success-bg); color: var(--success-text); }
.badge-orange { background-color: var(--orange-bg); color: var(--orange-text); }
.badge-purple { background-color: var(--purple-bg); color: var(--purple-text); }

/* =========================================
    4. COMPONENTS
    ========================================= */

/* Cards */
.card {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.3s;
    height: 100%;
}
.card:hover { box-shadow: var(--shadow-md); }

.card-body {
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.card-header-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 16px;
}
.header-icon-wrapper {
    padding: 8px;
    background-color: var(--primary-bg);
    border-radius: 8px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn-link {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
    margin-top: auto;
}
.btn-link:hover { gap: 8px; }

/* =========================================
    5. HERO & TOGGLE
    ========================================= */
.hero-sticky {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
    padding: 32px 0;
}

/*
.hero-desc {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}
*/

.toggle-container {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}
.toggle-bg {
    background-color: var(--gray-100);
    padding: 4px;
    border-radius: 12px;
    display: inline-flex;
    position: relative;
}
.toggle-slider {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}
.toggle-bg[data-active="domain"] .toggle-slider {
    transform: translateX(100%);
}
.toggle-btn {
    position: relative;
    z-index: 2;
    border: none;
    background: none;
    padding: 12px 32px;
    width: 190px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: color 0.3s;
    color: var(--gray-500);
}
.toggle-btn.active { color: var(--primary); }


/* --- HERO SECTION --- */
.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
}

/* Left Column (Text) */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-bg);
    border: 1px solid var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    width: fit-content;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    position: relative;
}
.status-dot::after {
    content: '';
    position: absolute;
    top: -4px; left: -4px;
    width: 16px; height: 16px;
    background-color: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: ping 1.5s infinite;
}

@keyframes ping {
    0% { transform: scale(0.5); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--slate-900);
}

.highlight {
    background: -webkit-linear-gradient(0deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.6;
    max-width: 550px;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(124, 58, 237, 0.3);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: white;
    color: var(--slate-800);
    border: 1px solid var(--slate-200);
}
.btn-outline:hover {
    background-color: var(--slate-50);
    border-color: var(--slate-300);
}

.social-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--slate-200);
}

.social-link {
    color: var(--slate-500);
    transition: color 0.2s;
}
.social-link:hover { color: var(--primary); }
.social-link svg { width: 24px; height: 24px; }

.location {
    font-size: 0.875rem;
    color: var(--slate-500);
    font-weight: 500;
    padding-left: 20px;
    border-left: 1px solid var(--slate-300);
}

/* Right Column (Visual Cards) */
.hero-visual {
    position: relative;
    display: none; /* Hidden on mobile, shown on desktop */
}

.card-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 450px;
    margin: 0 auto;
}

.skill-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--slate-50);
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

/* The offset effect for the middle card */
.card-offset {
    transform: translateX(40px);
    z-index: 2;
}
.card-offset:hover {
    transform: translateX(40px) translateY(-4px);
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.icon-box svg { width: 24px; height: 24px; }

.icon-edu { background-color: #fff7ed; color: #ea580c; } /* Orange */
.icon-mkt { background-color: #f5f3ff; color: #7c3aed; } /* Violet */
.icon-data { background-color: #eff6ff; color: #2563eb; } /* Blue */

.card-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--slate-900);
}
.card-content p {
    font-size: 0.875rem;
    color: var(--slate-500);
    line-height: 1.4;
}

/* --- RESPONSIVE QUERIES --- */
@media (min-width: 768px) {
    .nav-links { display: flex; }
    
    h1 { font-size: 3.5rem; }
}

@media (min-width: 1024px) {
    .hero {
        grid-template-columns: 1fr 1fr;
    }
    .hero-visual {
        display: block;
    }
}

.icon-edu {
  background: #f8f9fa; /* optional */
}

.edu-logo {
  width: 36px;
  height: auto;
  display: block;
}

/* =========================================
    6. SPECIFIC SECTION STYLES
    ========================================= */

/* --- CONTENT PORTFOLIO STYLES --- */
.wechat-stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 16px;
}

/* Card */
.wechat-card {
  background: linear-gradient(180deg, #ffffff, #f8f9fa);
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all 0.25s ease;
}

.wechat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-color: #7c3aed; /* violet accent */
}

/* Icon */
.wechat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e6f7f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wechat-icon img {
  width: 28px;
  height: 28px;
}

/* Text */
.wechat-info h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
}

.wechat-handle {
  margin: 0 0 6px;
  font-size: 0.75rem;
  color: #475569;
}

/* Bullet points */
.wechat-meta {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}

.wechat-meta li {
  margin-bottom: 4px;
}

.wechat-meta strong {
  color: #0f172a;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.portfolio-item:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.file-preview {
    height: 200px;
    background-color: #f1f3f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; 
}

.pdf-preview .file-icon {
    font-size: 4em;
    opacity: 0.5;
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crops the image to fill the box without stretching */
    object-position: top center; /* Focuses on the top of the document */
    position: absolute; /* Takes the image out of the flex flow so it covers the background */
    top: 0;
    left: 0;
}

.file-type {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #333;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: bold;
    z-index: 10;
}

.video-wrapper video {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    position: relative;
}

.video-wrapper {
  display: flex;
  background-color: #000;
  justify-content: center; /* horizontal */
  align-items: center;     /* vertical */
  position: relative;
}

.file-details {
    padding: 20px;
}

.file-details h4 {
    margin: 0 0 8px 0;
    color: var(--secondary-color);
}

.file-details p {
    margin: 0 0 15px 0;
    font-size: 0.9em;
    color: #666;
}

.file-actions {
    display: flex;
    gap: 10px;
}

.btn-preview, .btn-download {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    text-align: center;
    flex: 1;
}

.btn-preview {
    background-color: var(--primary);
    color: #fff;
}

.btn-preview:hover {
    background-color: var(--primary-bg);
}

.btn-download {
    background-color: #e9ecef;
    color: #333;
}

.btn-download:hover {
    background-color: #dee2e6;
}

/* Event Deliverables */
.dashed-card {
    background-color: var(--gray-50);
    border: 2px dashed var(--gray-200);
}
.event-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media (min-width: 768px) {
    .event-layout { flex-direction: row; }
}
.event-visuals { width: 100%; }
@media (min-width: 768px) { .event-visuals { width: 60%; } }

.placeholder-lg {
    height: 128px;
    background-color: var(--gray-300);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    margin-bottom: 8px;
}
.thumbnail-row { display: flex; gap: 8px; }
.thumbnail {
    height: 64px;
    width: 50%;
    background-color: var(--gray-300);
    border-radius: 8px;
}
.tag-row {
    display: flex;
    flex-wrap: wrap; /* This allows items to drop to the next line */
    gap: 8px;        /* Adds space between items both horizontally and vertically */
    margin-top: 16px;
}

/* PDF Preview Box */
.pdf-preview {
    height: 160px;
    background-color: var(--primary-bg);
    border: 1px solid var(--primary-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 500;
}

/* Lists */
.bullet-list {
    list-style-type: disc;
    padding-left: 20px;
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    height: 128px;
}

.gallery-grid2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    height: 128px;
}

.gallery-item {
    background-color: var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
}

/* Primary Card (Facilitation) */
.card-primary {
    background-color: var(--primary);
    color: white;
    border: none;
}
.card-primary p { color: var(--primary-light); }
.big-stat { font-size: 1.5rem; font-weight: 700; }
.stat-label-sm { color: var(--primary-light); font-size: 0.75rem; }

/* Circular Icons for Recognition */
.icon-circle {
    margin: 0 auto 16px auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-circle-yellow { background-color: var(--warning-bg); color: var(--warning-text); }
.icon-circle-blue { background-color: var(--primary-bg); color: var(--primary); }
.icon-circle-green { background-color: var(--success-bg); color: var(--success-text); }

.card-highlight {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 2px var(--primary-bg);
}

/* Gradient Card */
.gradient-card {
    background: linear-gradient(to right, #111827, #1f2937);
    color: white;
    padding: 32px;
}
.gradient-card h3 { color: white; margin-bottom: 16px; font-size: 1.5rem; }
.gradient-card p { color: var(--gray-300); margin-bottom: 24px; }

.stat-row { display: flex; gap: 16px; }
.stat-box { border-left: 2px solid var(--primary); padding-left: 16px; }
.stat-num { font-size: 1.5rem; font-weight: 700; }
.stat-label { font-size: 0.875rem; color: var(--gray-300); }

.visual-placeholder {
    background-color: rgba(255,255,255,0.1);
    border-radius: 8px;
    height: 192px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
}

/* Comparison List */
.comparison-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 8px;
}
.comparison-val { font-weight: 600; color: var(--success-text); }
.comparison-list { display: flex; flex-direction: column; gap: 12px; }

/* Ecosystem Avatars */
.avatar-group { display: flex; gap: 12px; margin-bottom: 24px; }
.avatar-circle { width: 40px; height: 40px; background-color: var(--gray-100); border-radius: 50%; }
.avatar-square { width: 40px; height: 40px; background-color: var(--primary-bg); border-radius: 6px; }

/* Growth List */
.growth-list { display: flex; flex-direction: column; gap: 16px; }
.growth-item { padding: 16px; display: flex; align-items: center; gap: 16px; }
.growth-icon { padding: 8px; border-radius: 4px; }
.bg-green-light { background-color: var(--success-bg); color: var(--success-text); }
.bg-blue-light { background-color: var(--primary-light); color: var(--primary-dark); }
.bg-orange-light { background-color: var(--orange-bg); color: var(--orange-text); }

/* Footer */
footer {
    border-top: 1px solid var(--gray-200);
    background-color: var(--white);
    padding: 32px 0;
    margin-top: 48px;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* --- RECOGNITION & IMPACT SECTION --- */
.highlights-wrapper {
  display: flex;
  justify-content: center;
  padding: 20px;
  background-color: #f8fafc;
}

.impact-card {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 40px;
  /*max-width: 1200px;*/
  width: 100%;
  margin: 0 auto;
}

.impact-card h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 15px;
}

.card-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: center;
}

.image-container img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.text-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.recognition-section h4 {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.recognition-section p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.stats-grid-title {
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--gray-600);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.stat-item {
  background: linear-gradient(180deg, #ffffff, #f8f9fa);
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.stat-label {
  color:var(--gray-600);
}

.region-text {
  font-weight: 500;
  font-size: 0.8rem;
  color: #6c757d;
  display: block;
  margin-top: 4px;
}

/* Responsive */
@media (max-width: 860px) {
  .card-content-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .impact-card h2 {
    font-size: 1.8rem;
  }
  .image-container {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* --- 3. AGENDA SECTION (NEW) --- */

.agenda-section {
    background-color: #fff;
    padding: 24px;
    text-align: center;
}
.agenda-section h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 40px;
}
.agenda-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0 auto;
}
.agenda-card {
    flex: 1;
    padding: 30px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--primary);
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
    border-color: var(--primary-light);
    border-top: 5px solid var(--primary);
}
.agenda-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

/* Spider Chart Showcase */
.chart-showcase-layout { display: flex; gap: 40px; }
.program-selector { flex-basis: 35%; min-width: 250px; }
.program-selector button { display: block; width: 100%; padding: 15px 20px; margin-bottom: 10px; font-size: 1.1em; font-weight: 500; text-align: left; background-color: #f0f4f8; border: 2px solid transparent; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; }
.program-selector button:hover { background-color: #e6eef5; border-color: var(--primary); }
.program-selector button.active { background-color: var(--primary); color: white; border-color: var(--primary-dark); }
.chart-container { flex-basis: 65%; position: relative; }

.metric-explanations {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9fafc;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.metric-explanations h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.metric-explanations ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.metric-explanations li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.metric-explanations li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.content-block {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    box-sizing: border-box;
    margin-bottom: 40px;
}

/* --- upper Side: Photo Gallery --- */
.photo-gallery {
    flex: 0 0 100%;               /* fixed ~45% width */
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 40px;
}
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.photo-grid figure {
    margin: 0;
    text-align: center;
}
.photo-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}
.photo-grid img:hover {
    transform: scale(1.05);
}
.photo-grid figcaption {
    margin-top: 8px;
    color: var(--gray-900);
}

/* --- bottom Side: Value Propositions --- */
.value-propositions {
    flex: 0 0 55%;
    max-width: 55%;
    box-sizing: border-box;
}

.text-sections {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    flex-wrap: wrap;   /* allows stacking on mobile */
}

.text-sections .partner-section {
    flex: 1;
    min-width: 280px;
}
.partner-section {
    margin-bottom: 25px;
}
.partner-section h3 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.partner-section .icon {
    margin-right: 10px;
}
.partner-section ul {
    list-style: none;
    padding-left: 0;
}
.partner-section li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
}
.partner-section li::before {
    content: '✓';
    color: var(--primary-dark);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* --- Key Abilities Section --- */
.abilities-summary {
    padding: 25px;
    background-color: var(--gray-100);
    border-left: 5px solid var(--primary);
    border-radius: 0 8px 8px 0;
}
/* 
.abilities-summary h4 {
    font-weight: 700; 
    font-size: 1.125rem; 
    margin-bottom: 8px;
    margin-top: 0;
    color: var(--primary);
}
*/
.abilities-summary ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.abilities-summary li {
    background-color: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.95em;
    font-weight: 500;
}

/* Growth Engine */
.funnel-layout {
    display: flex;
    gap: 40px;
    align-items: center;
}

/* --- Funnel Visual --- */
.funnel-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 320px; /* overall funnel width */
}
/* Common funnel stage style */
.funnel-stage {color: #fff;font-weight: bold;font-size: 1.1em;text-align: center;display: flex;justify-content: center;align-items: center;height: 80px;
                }

.stage-awareness {background: #a87fe8;width: 100%;clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);}
.stage-engagement {background: #6d28d9;width: 85%;clip-path: polygon(5% 0, 95% 0, 85% 100%, 15% 100%);}
.stage-conversion {background:#421784;width: 70%;clip-path: polygon(10% 0, 90% 0, 80% 100%, 20% 100%);}

/* --- Funnel Description --- */
.funnel-description {
    flex-basis: 60%;
}
.description-item {
    margin-bottom: 16px;
}
.description-item h4 {
    margin: 0 0 8px 0;
    color: var(--purple-text);
}
.description-item ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.description-item li {
    background-color: #f9f9f9;
}

.foundation1 {padding-top: 0px; border-top: 1px; }
.foundation1 h3 { text-align: center; color: var(--gray-900); margin-bottom: 20px; }
.foundation { margin-top: 30px; padding-top: 16px; border-top: 1px solid #eee; }
.foundation h3 { text-align: center; color: var(--gray-900); margin-bottom: 20px; }
.foundation-pillars { display: flex; gap: 30px; }
.pillar { flex: 1; text-align: center; background-color: var(--light-gray-bg); padding: 25px; border-radius: 8px; }
.pillar .icon { font-size: 2.5em; margin-bottom: 10px; }
.pillar h4 { color: var(--secondary-color); margin-top: 0; }
.training-curriculum { margin-top: 30px; padding: 25px; background-color: var(--light-gray-bg); border-radius: 8px; }
.training-curriculum h2 { margin-top: 0; text-align: center; color: var(--gray-900); }
.training-curriculum h3 { text-align: center;}
.training-curriculum p { text-align: center; color: var(--gray-500); font-weight: 500; margin-bottom: 20px; }
.three-column { display: flex; gap: 30px; }
.column { flex: 1; }
.column h4 { color: var(--secondary-color); }

.work-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.work-item {
    position: relative;
    width: 50%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.work-item img {
    width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Overlay styles */
.work-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.95rem;
    text-align: center;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 0 0 12px 12px;    
}

/* Hover effect */
.work-item:hover img {
    transform: scale(1.05); /* subtle zoom */
}

.work-item:hover .overlay {
    opacity: 1; /* fade in */
}

/* FOR THE BUTTON */
#back-to-top {
    position: fixed; /* Keeps it in the same spot while scrolling */
    bottom: 30px;    /* Distance from bottom */
    right: 30px;     /* Distance from right */
    z-index: 9999;   /* Ensures it stays on top of everything */
    
    /* Visual Styling */
    background-color: var(--primary); /* Blue background */
    color: white;              /* White arrow */
    border: none;
    border-radius: 50%;        /* Makes it a circle */
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3); /* Adds a shadow */
    transition: opacity 0.3s, transform 0.3s; /* Smooth animation */
    
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
}

/* Hover effect */
#back-to-top:hover {
    background-color: var(--orange-text); /* Darker blue on hover */
    transform: translateY(-3px); /* Slight lift effect */
}

/* Class to show the button */
#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* --- Language Switch Button --- */
.lang-btn {
    background: var(--primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    margin: 0 2px;
}
  .lang-btn:hover {
    background: var(--orange-text);
}
