/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-serif: 'Playfair Display', serif;
    --font-serif-alt: 'Cormorant Garamond', serif;
    --font-serif-body: 'EB Garamond', serif;
    --font-sans: 'Inter', sans-serif;
    --color-white: #ffffff;
    --color-slate-50: #f8fafc;
    --color-slate-200: #e2e8f0;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-slate-900: #0f172a;
    --color-orange-500: #f97316;
    --color-orange-600: #ea580c;
    --color-amber-400: #fbbf24;
    --color-amber-500: #f59e0b;
    --color-amber-600: #d97706;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    font-style: var(--font-serif) !important;
}

body {
    font-family: var(--font-sans);
    color: var(--color-slate-900);
    background-color: var(--color-white);
    line-height: 1.5;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

h1 {
    font-family: var(--font-serif) !important;
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-family: var(--font-serif) !important;
    font-size: 2.5rem;
    line-height: 1.2;
}

h3 {
    font-family: var(--font-serif) !important;
    font-size: 1.5rem;
    line-height: 1.4;
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
}

/* ===== LAYOUT ===== */
.home-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.home-container-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.home-container-small {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.home-section {
    padding: 8rem 1.5rem;
}

.home-section-white {
    background-color: var(--color-white);
}

.home-section-gray {
    background-color: var(--color-slate-50);
}

.home-section-gradient {
    background: linear-gradient(to bottom, var(--color-slate-50), rgba(254, 243, 199, 0.3));
}

.home-section-dark {
    background: linear-gradient(135deg, var(--color-slate-900), var(--color-slate-800), var(--color-slate-900));
    position: relative;
    overflow: hidden;
}

.home-section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1562118774-731cd8f2391f?w=1080');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
}

.home-section-dark>* {
    position: relative;
    z-index: 1;
}

/* ===== BUTTONS ===== */
.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.home-btn-primary {
    background: linear-gradient(135deg, var(--color-orange-500), var(--color-amber-600));
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.home-btn-primary:hover {
    background: linear-gradient(135deg, var(--color-orange-600), var(--color-amber-600));
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.home-btn-outline {
    background: transparent;
    color: var(--color-slate-900);
    border: 2px solid var(--color-slate-200);
    transition: all 0.3s ease;
}

.home-btn-outline:hover {
    background-color: var(--color-slate-50);
    color: #e85d04;
    border-color: #e85d04;
}

.home-btn-ghost {
    background: transparent;
    color: var(--color-slate-600);
}

.home-btn-ghost:hover {
    background-color: var(--color-slate-100);
}

.home-btn-lg {
    padding: 0.875rem 3rem;
    font-size: 1.725rem;
    margin-top: 3rem;
    font-weight: 500;
}

.home-btn-full {
    width: 100%;
}

/* ===== HEADER ===== */
.home-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-slate-200);
    animation: home-slideDown 0.6s ease;
}

@keyframes home-slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.home-header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.home-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.home-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-orange-500), var(--color-amber-600));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.home-logo-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.home-logo-text {
    font-family: var(--font-serif) !important;
    font-size: 1.25rem;
    color: var(--color-slate-900);
}

.home-desktop-nav {
    display: none;
    gap: 2rem;
}

.home-nav-link {
    color: var(--color-slate-600);
    transition: color 0.3s ease;
}

.home-nav-link:hover {
    color: var(--color-orange-600);
}

.home-desktop-actions {
    display: none;
    gap: 1rem;
}

.home-mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
}

.home-mobile-menu {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-slate-200);
}

.home-mobile-menu.home-active {
    display: block;
}

.home-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* ===== HERO ===== */
.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-slate-900), var(--color-slate-800), var(--color-slate-900));
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1562118774-731cd8f2391f?w=1080');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.home-hero-content {
    position: relative;
    z-index: 10;
    max-width: 72rem;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    text-align: center;
}

.home-hero-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 0.7rem 1.3rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
}

.home-hero-title {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 6.5rem;
}

.home-gradient-text {
    background: linear-gradient(135deg, var(--color-amber-400), var(--color-orange-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-serif) !important;
}

.home-hero-description {
    color: rgba(255, 255, 255, 0.8);
    max-width: 60rem;
    margin: 0 auto 2.5rem;
    font-size: 1.8rem;
}

.home-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* ===== SECTION HEADERS ===== */
.home-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.home-section-label {
    font-family: var(--font-sans);
    font-size: 1.275rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-orange-600);
    margin-bottom: 1rem;
}

.home-section-title {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.home-section-title-xl {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.home-section-subtitle-xl {
    font-family: var(--font-serif-body) !important;
    font-size: 2.3rem;
    color: var(--color-slate-700);
    max-width: 86rem;
    margin: 0 auto;
    line-height: 1.6;
}

.home-section-description {
    color: var(--color-slate-600);
    max-width: 62rem;
    margin: 0 auto;
}

.home-divider-gradient {
    width: 6rem;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-orange-500), transparent);
    margin: 2rem auto;
}

.home-divider-gray {
    width: 6rem;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-slate-400), transparent);
    margin: 1rem auto;
}

/* ===== TWO COLUMN LAYOUT ===== */
.home-two-column-grid {
    display: grid;
    gap: 5rem;
    align-items: center;
    margin-bottom: 8rem;
}

.home-content-title {
    font-family: var(--font-serif-alt);
    font-size: 3.15rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.home-content-title-center {
    font-family: var(--font-serif-alt);
    font-size: 3.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-align: center;
}

.home-dropcap-text {
    font-family: var(--font-serif-body) !important;
    font-size: 2.0125rem;
    color: var(--color-slate-700);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.home-dropcap {
    font-family: var(--font-serif) !important;
    font-size: 3.5rem;
    line-height: 1;
    float: left;
    margin-right: 0.75rem;
    color: var(--color-orange-600);
}

.home-prose-text {
    font-family: var(--font-serif-body) !important;
    font-size: 2rem;
    color: var(--color-slate-700);
    line-height: 1.6;
}

.home-quote-text {
    font-family: var(--font-serif-body) !important;
    font-size: 1.625rem;
    color: var(--color-slate-600);
    font-style: italic;
    border-left: 2px solid var(--color-orange-500);
    padding-left: 2.5rem;
    margin-top: 1.5rem;
}

.home-aspect-box {
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.home-aspect-4-3 {
    aspect-ratio: 4 / 3;
}

.home-aspect-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== SERVICES ===== */
.home-services-section {
    margin-top: 8rem;
}

.home-services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.home-services-subtitle {
    font-family: var(--font-serif-body) !important;
    font-size: 1.925rem;
    color: var(--color-slate-600);
    max-width: 62rem;
    margin: 0 auto;
}

.home-services-grid {
    display: grid;
    gap: 3rem;
}

.home-service-card {
    text-align: center;
}

.home-service-divider {
    width: 4rem;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-orange-500), transparent);
    margin: 0 auto 1rem;
}

.home-service-title {
    font-family: var(--font-serif) !important;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.home-service-description {
    font-family: var(--font-serif-body) !important;
    color: var(--color-slate-600);
    line-height: 1.6;
}

/* ===== IMPACT ===== */
.home-impact-section {
    margin-bottom: 6rem;
}

.home-impact-grid {
    display: grid;
    gap: 2rem;
}

.home-impact-card {
    text-align: center;
}

.home-impact-icon {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-orange-500), var(--color-amber-600));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.home-impact-icon svg {
    color: white;
}

.home-impact-number {
    font-family: var(--font-serif) !important;
    font-size: 4.5rem;
    color: var(--color-slate-900);
    margin-bottom: 0.5rem;
}

.home-impact-label {
    font-family: var(--font-sans) !important;
    font-size: 1.375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-slate-600);
}

/* ===== ARCHIVES ===== */
.home-archives-section {
    margin-top: 6rem;
}

.home-archives-subtitle {
    font-family: var(--font-serif-body) !important;
    font-size: 1.725rem;
    color: var(--color-slate-600);
}

.home-archives-grid {
    display: grid;
    gap: 1rem;
}

.home-archive-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.home-archive-card:hover {
    transform: translateY(-8px) rotate(-3deg);
}

.home-archive-image {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.home-archive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.home-archive-card:hover .home-archive-image img {
    filter: grayscale(0%);
}

/* ===== ECOSYSTEM ===== */
.home-ecosystem-items {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.home-ecosystem-item {
    display: grid;
    gap: 4rem;
    align-items: center;
}

.home-ecosystem-img {
    transition: transform 0.7s ease;
}

.home-ecosystem-item:hover .home-ecosystem-img {
    transform: scale(1.05);
}

.home-ecosystem-header {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    margin-bottom: 1rem;
}

.home-ecosystem-icon {
    color: var(--color-orange-600);
}

.home-ecosystem-tagline {
    font-family: var(--font-sans) !important;
    font-size: 1.575rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-orange-600);
    margin-bottom: -.2rem;
}

.home-ecosystem-title {
    font-family: var(--font-serif) !important;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.home-ecosystem-description {
    font-family: var(--font-serif-body) !important;
    font-size: 2rem;
    color: var(--color-slate-700);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* ===== ARTICLES ===== */
.home-articles-grid {
    display: grid;
    gap: 5rem;
    margin-bottom: 3rem;
}

.home-article-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.home-article-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.home-article-image {
    position: relative;
    height: 20rem;
    overflow: hidden;
}

.home-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.home-article-card:hover .home-article-image img {
    transform: scale(1.05);
}

.home-article-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: white;
    color: var(--color-slate-900);
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.home-article-content {
    padding: 2rem;
    flex-grow: 1;
}

.home-article-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.home-article-excerpt {
    color: var(--color-slate-600);
    margin-bottom: 1rem;
    font-size: 1.7rem !important;
}

.home-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 1.4rem;
    color: var(--color-slate-500);
    margin-bottom: 1rem;
}

.home-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.home-author-link {
    color: var(--color-slate-500);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.home-author-link:hover {
    color: #e85d04;
}

.home-article-link {
    color: var(--color-slate-900);
    font-weight: 500;
    transition: color 0.3s;
}

.home-article-link:hover {
    color: var(--color-orange-600);
}

/* ===== TEAM ===== */
.home-team-scroll-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.home-team-row {
    overflow: hidden;
}

.home-team-track {
    display: flex;
    gap: 1.5rem;
    width: fit-content;
}

.home-team-row-left .home-team-track {
    animation: home-scrollLeft 40s linear infinite;
}

.home-team-row-right .home-team-track {
    animation: home-scrollRight 40s linear infinite;
}

@keyframes home-scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.333%);
    }
}

@keyframes home-scrollRight {
    0% {
        transform: translateX(-33.333%);
    }

    100% {
        transform: translateX(0);
    }
}

.home-team-member {
    flex-shrink: 0;
    width: 26rem;
}

.home-team-image {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.home-team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.home-team-member:hover .home-team-image img {
    filter: grayscale(0%);
}

.home-team-name {
    margin-top: 1rem;
    text-align: center;
    font-size: 2rem;
}

/* ===== TESTIMONIALS ===== */
.home-testimonials-grid {
    display: grid;
    gap: 5rem;
}

.home-testimonial-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 3rem;
}

.home-testimonial-quote-icon {
    color: var(--color-amber-500);
    margin-bottom: 1rem;
}

.home-testimonial-text {
    color: var(--color-slate-700);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.home-testimonial-author {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.home-author-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    overflow: hidden;
}

.home-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-author-name {
    color: var(--color-slate-900);
    font-weight: 500;
    font-size: 1.7rem;
}

.home-author-role {
    font-size: 1.375rem;
    color: var(--color-slate-500);
}

/* ===== BENEFITS ===== */
.home-benefits-grid {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.home-benefit-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
}

.home-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-amber-500), var(--color-orange-500));
    margin-bottom: 1rem;
}

.home-benefit-icon svg {
    color: white;
}

.home-benefit-title {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.home-benefit-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.595rem;
    padding-top: 1rem;
}

.home-text-white {
    color: white;
}

.home-text-white-80 {
    color: rgba(255, 255, 255, 0.8);
}

.home-join-notice {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    margin-top: 1rem;
}

/* ===== NEWSLETTER ===== */
.home-newsletter-content {
    text-align: center;
    margin-bottom: 2rem;
}

.home-newsletter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-amber-500), var(--color-orange-500));
    color: white;
    margin-bottom: 1.5rem;
}

.home-newsletter-description {
    color: var(--color-slate-600);
    max-width: 75rem;
    margin: 0 auto;
}

.home-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 50rem;
    margin: 0 auto 1rem;
}

.home-newsletter-form .home-btn-lg {
    margin-top: 0;
    padding: 0.875rem 3rem !important;
    font-size: 1.725rem !important;
    line-height: 1.5 !important;
    min-height: calc(0.875rem * 2 + 1.725rem * 1.5) !important;
    box-sizing: border-box !important;
}

.home-newsletter-input {
    flex: 1 !important;
    padding: 0.875rem 1.25rem !important;
    padding-left: 2.3rem !important;
    border: 1px solid var(--color-slate-200) !important;
    border-radius: 9999px !important;
    font-size: 1.725rem !important;
    line-height: 1.5 !important;
    font-family: var(--font-sans) !important;
    font-weight: 500 !important;
    margin-top: 2.5rem !important;
    min-height: calc(0.875rem * 2 + 1.725rem * 1.5) !important;
    box-sizing: border-box !important;
}

.home-newsletter-input:focus {
    outline: none;
    border-color: var(--color-orange-500);
}

.home-newsletter-privacy {
    text-align: center;
    font-size: 1.375rem;
    color: var(--color-slate-500);
}

/* ===== FOOTER ===== */
.home-footer {
    background-color: var(--color-slate-900);
    color: white;
}

.home-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.home-footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.home-footer-brand {
    grid-column: span 2;
}

.home-footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.home-footer-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--color-amber-500), var(--color-orange-500));
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-footer-logo-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.home-footer-description {
    color: var(--color-slate-400);
    margin-bottom: 1.5rem;
    max-width: 24rem;
}

.home-footer-social {
    display: flex;
    gap: 1rem;
}

.home-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--color-slate-800);
    transition: background-color 0.3s;
}

.home-social-link:hover {
    background-color: var(--color-slate-700);
}

.home-footer-column-title {
    color: white;
    margin-bottom: 1rem;
}

.home-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.home-footer-links a {
    color: var(--color-slate-400);
    transition: color 0.3s;
}

.home-footer-links a:hover {
    color: white;
}

.home-footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--color-slate-800);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.home-footer-copyright,
.home-footer-tagline {
    color: var(--color-slate-400);
    font-size: 0.875rem;
}

/* ===== TOAST ===== */
#home-toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
}

.home-toast {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    animation: home-toastIn 0.3s ease;
}

@keyframes home-toastIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== ANIMATIONS ===== */
.home-animate-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.home-animate-fade-in.home-visible {
    opacity: 1;
    transform: translateY(0);
    border-radius: 10px;
}

.home-text-center {
    text-align: center;
}

.home-flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: -2rem;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {

    .home-hero-actions,
    .home-newsletter-form {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .home-newsletter-input {
        margin-top: 0 !important;
    }

    .home-newsletter-form .home-btn-lg {
        margin-top: 0 !important;
        white-space: nowrap;
    }
}

@media (min-width: 768px) {

    .home-desktop-nav,
    .home-desktop-actions {
        display: flex;
    }

    .home-mobile-menu-btn {
        display: none;
    }

    .home-services-grid,
    .home-articles-grid,
    .home-testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-impact-grid,
    .home-benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .home-archives-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {

    h1,
    .home-section-title-xl {
        font-size: 7.3rem;
    }

    .home-two-column-grid,
    .home-ecosystem-item {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-ecosystem-item-reverse .home-ecosystem-content {
        order: -1;
    }

    .home-archives-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .home-footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    }

    .home-footer-brand {
        grid-column: span 1;
    }
}


.home-blur-bg {
    /* background: rgba(255, 255, 255, 0.1); */
    background: rgb(255, 255, 255);
    backdrop-filter: blur(8px);
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    border: 1px solid rgb(255, 255, 255);
}

.home-margin-top {
    /* margin-top: -1rem; */
}

/* ===== TOAST ===== */
#toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
}

.toast-notification {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    animation: toast-slideIn 0.3s ease;
    min-width: 400px;
}

.toast-notification.toast-fade-out {
    animation: toast-fadeOut 0.4s ease forwards;
}

.toast-icon-wrapper {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-success .toast-icon-wrapper {
    background-color: #10b981;
}

.toast-error .toast-icon-wrapper {
    background-color: #ef4444;
}

.toast-warning .toast-icon-wrapper {
    background-color: #f59e0b;
}

.toast-info .toast-icon-wrapper {
    background-color: #3b82f6;
}

.toast-icon-wrapper svg {
    width: 24px;
    height: 24px;
    color: white;
}

.toast-content {
    flex: 1;
    color: #1e293b;
    font-size: 1.35rem;
    line-height: 1.7;
}

.toast-close {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #475569;
}

.toast-close svg {
    width: 20px;
    height: 20px;
}

.toast-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    transform-origin: left;
    animation: toast-progress 5s linear forwards;
}

.toast-success .toast-progress-bar {
    background-color: #10b981;
}

.toast-error .toast-progress-bar {
    background-color: #ef4444;
}

.toast-warning .toast-progress-bar {
    background-color: #f59e0b;
}

.toast-info .toast-progress-bar {
    background-color: #3b82f6;
}

@keyframes toast-slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toast-fadeOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

@keyframes toast-progress {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

@media (max-width: 640px) {
    #toast-container {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }

    .toast-notification {
        min-width: auto;
        width: 100%;
    }
}

/* ===== MOBILE HORIZONTAL SCROLL FOR ARCHIVES ===== */
@media (max-width: 1080px) {
    .home-archives-section {
        position: relative;
    }

    .home-archives-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: scroll !important;
        overflow-y: hidden !important;
        gap: 1.5rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 1rem 1.5rem 1.5rem 1.5rem;
        margin-bottom: 1rem;
        scroll-behavior: smooth;
        touch-action: pan-x;
        /* Force scrollbar to always be visible */
        scrollbar-gutter: stable;
        /* Firefox scrollbar - always visible */
        scrollbar-width: thin;
        scrollbar-color: #e85d04 rgba(232, 93, 4, 0.2);
    }

    .home-archive-card {
        flex: 0 0 auto;
        scroll-snap-align: start;
        width: 70%;
        max-width: 18rem;
        min-width: 14rem;
    }

    /* Modern scrollbar styling - Webkit browsers (Chrome, Safari, Edge) */
    /* Force scrollbar to always be visible */
    .home-archives-grid::-webkit-scrollbar {
        height: 14px;
        -webkit-appearance: none;
        display: block;
    }

    .home-archives-grid::-webkit-scrollbar-track {
        background: rgba(232, 93, 4, 0.15);
        border-radius: 12px;
        margin: 0 1.5rem;
        border: 2px solid rgba(232, 93, 4, 0.25);
        box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1);
    }

    .home-archives-grid::-webkit-scrollbar-thumb {
        background: #e85d04;
        border-radius: 12px;
        box-shadow:
            0 2px 6px rgba(232, 93, 4, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.4);
        transition: all 0.2s ease;
        min-width: 80px;
    }

    .home-archives-grid::-webkit-scrollbar-thumb:hover {
        background: #d97706;
        box-shadow:
            0 4px 10px rgba(232, 93, 4, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.15);
        transform: scaleY(1.05);
    }

    .home-archives-grid::-webkit-scrollbar-thumb:active {
        background: #b45309;
        box-shadow:
            0 2px 4px rgba(232, 93, 4, 0.7),
            inset 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    /* Ensure scrollbar is visible on all devices */
    .home-archives-grid {
        -ms-overflow-style: scrollbar;
        /* IE and Edge */
    }
}

/* ===== RESPONSIVE BENEFITS GRID ===== */
.home-benefits-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    justify-content: center;
    align-items: stretch;
}

/* Ensure a minimum of 2 boxes visible even on very small screens */
@media (max-width: 1080px) {
    .home-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* For medium screens (tablets) - 3 boxes visible */
@media (min-width: 768px) and (max-width: 1023px) {
    .home-benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* For large screens - 4 boxes visible */
@media (min-width: 1024px) {
    .home-benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}