/* Import Segment A Key Trial font */
@font-face {
    font-family: 'Segment A Key Trial';
    src: url('SegmentAKeyTrial-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Segment A Key Trial';
    src: url('SegmentAKeyTrial-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

/* Import Bricolage Grotesque font */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
    background: #101010;
}

body {
    width: 100%;
    min-height: 100%;
    font-family: 'Segment A Key Trial', sans-serif;
    background: transparent;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

body.loading {
    overflow: hidden;
}

/* Page Background (Always Visible) */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a0a, #1a0a0a);
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.page-background::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: url('logo.svg') no-repeat center center;
    background-size: 150%;
    opacity: 0.08;
    pointer-events: none;
}

.page-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(10, 10, 10, 0.8) 100%);
    pointer-events: none;
}

/* Intro Animation Styles */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: transparent;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    opacity: 1;
    transition: opacity 2s ease-in-out;
}

.intro-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.intro-logo-container {
    position: fixed;
    top: 0;
    left: 60px;
    padding-top: 20px;
    z-index: 9999999;
    transition: all 0.5s ease;
}

.intro-logo {
    max-width: 60px;
    height: auto;
    display: block;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
    transition: all 0.3s ease;
}

.intro-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    transition: opacity 2s ease-out;
}

.intro-content.fade-out {
    opacity: 0;
}

.count-up {
    font-family: 'Segment A Key Trial', sans-serif;
    font-weight: 900;
    font-size: 150px;
    color: #ffffff;
    text-align: left;
    letter-spacing: 0;
    line-height: 0.8;
    opacity: 0;
    animation: fadeIn 0.5s ease-out 1.5s forwards;
    position: absolute;
    bottom: 60px;
    left: 60px;
}

.count-up .percent {
    font-weight: 400;
    font-size: 70px;
}

.loader-text-container {
    height: 60px;
    overflow: hidden;
    position: fixed;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    animation: fadeIn 0.5s ease-out 1.5s forwards;
}

.loader-text-list {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
    animation: slideText 9s infinite;
}

.loader-text-item {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 500;
    font-size: 48px;
    color: #ffffff;
    white-space: nowrap;
    line-height: 60px;
    margin: 0;
}

@keyframes slideText {
    0%, 30% {
        transform: translate3d(0, 0, 0);
    }
    33.33%, 63.33% {
        transform: translate3d(0, -33.33%, 0);
    }
    66.66%, 96.66% {
        transform: translate3d(0, -66.66%, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

.typewriter-text.show {
    opacity: 1;
}

.typewriter-text span {
    font-family: 'Segment A Key Trial', sans-serif;
    font-weight: 900;
    font-size: 120px;
    color: #ffffff;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    line-height: 0.9;
}

/* Container styles moved below */

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInContent {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 60px;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    visibility: hidden;
}

.navbar.show,
.navbar.navbar-visible {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

.navbar.scrolled {
    background-color: rgba(16, 16, 16, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-link.active {
    color: #FF3F3F;
}

.navbar-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.navbar-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.navbar-item {
    margin: 0;
}

.navbar-link {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-link:hover {
    color: #FF3F3F;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF3F3F;
    transition: width 0.3s ease;
}

.navbar-link:hover::after {
    width: 100%;
}

.donate-button {
    background-color: #FF3F3F;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.donate-button:hover {
    background-color: #cc3232;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 63, 63, 0.4);
}

.donate-button:active {
    transform: translateY(0);
}

/* Donate Modal */
.donate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.donate-modal.show {
    display: flex;
    opacity: 1;
}

.donate-modal-content {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 50px;
    max-width: 600px;
    width: 90%;
    position: relative;
    z-index: 1000000;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.donate-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    z-index: 1000001;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.donate-modal-close:hover {
    color: #FF3F3F;
}

.donate-modal-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #ffffff;
    margin: 0 0 20px 0;
}

.donate-modal-text {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0 0 40px 0;
}

.donate-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.donate-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #ffffff;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
}

.donate-option:hover {
    background: rgba(255, 63, 63, 0.1);
    border-color: #FF3F3F;
    transform: translateX(5px);
}

.donate-option svg {
    color: #FF3F3F;
    flex-shrink: 0;
}

.donate-crypto {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    margin-top: 10px;
}

.donate-crypto h3 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 15px 0;
}

.donate-crypto p {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 8px 0;
    word-break: break-all;
}

.donate-crypto code {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    color: #FF3F3F;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 9999999;
    position: relative;
    gap: 6px;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    flex-shrink: 0;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Removed body::before and body::after - using intro-overlay background instead */

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: calc(100vh + 200px);
    padding: 220px 60px 100px 60px;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
    visibility: hidden;
}

.hero-section.show {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 56px;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 60px 0;
    letter-spacing: -0.5px;
}

.hero-title-main {
    font-weight: 400;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    width: 100%;
}

.hero-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero-card:hover {
    border-color: rgba(255, 63, 63, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(255, 63, 63, 0.2);
}

.hero-card-large {
    min-height: 500px;
}

.hero-card-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px;
    background: linear-gradient(to top, rgba(16, 16, 16, 0.95) 0%, rgba(16, 16, 16, 0.7) 70%, transparent 100%);
}

.hero-card-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 42px;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.hero-card-subtitle {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 25px 0;
}

.hero-card-group {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-card-small {
    padding: 50px;
    background: #FF3F3F;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 235px;
}

.hero-card-small:hover {
background: #cc3232;
transform: translateY(-5px);
box-shadow: 0 10px 40px rgba(255, 63, 63, 0.4);
}

.hero-card-heading {
font-family: 'Bricolage Grotesque', sans-serif;
font-weight: 700;
font-size: 32px;
color: #ffffff;
margin: 0 0 15px 0;
line-height: 1.2;
}

.hero-card-description {
font-family: 'Bricolage Grotesque', sans-serif;
font-weight: 300;
font-size: 16px;
color: rgba(255, 255, 255, 0.9);
margin: 0 0 25px 0;
flex-grow: 1;
}

.hero-link {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.hero-link:hover {
    gap: 12px;
}

.hero-link .arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.hero-link:hover .arrow {
    transform: translateX(4px);
}

/* Section Styles */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.section-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #ffffff;
    text-align: center;
    margin: 0 0 20px 0;
}

.section-subtitle {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 300;
    font-size: 22px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin: 0 0 60px 0;
}

/* How We Help Section */
.how-we-help-section {
    position: relative;
    padding: 100px 0;
    z-index: 10000;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.help-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.help-card:hover {
    border-color: rgba(255, 63, 63, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(255, 63, 63, 0.2);
}

.help-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: #FF3F3F;
}

.help-icon svg {
    width: 100%;
    height: 100%;
}

.help-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.help-description {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 300;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* Why Vinvar Exists Section */
.why-section {
    position: relative;
    padding: 100px 0;
    z-index: 10000;
    background: rgba(255, 63, 63, 0.05);
}

.why-content {
    max-width: 900px;
}

.why-section-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #ffffff;
    margin: 0 0 40px 0;
}

.why-text-main {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 300;
    font-size: 24px;
    color: #ffffff;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.why-text-main:last-child {
    margin-bottom: 0;
}

/* Our Impact Section */
.impact-section {
    position: relative;
    padding: 100px 0;
    z-index: 10000;
}

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

.impact-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.impact-card:hover {
    border-color: rgba(255, 63, 63, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(255, 63, 63, 0.2);
}

.impact-number {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    font-size: 56px;
    color: #FF3F3F;
    margin: 0 0 15px 0;
    line-height: 1;
}

.impact-label {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* Start Your Search Section */
.cta-section {
    position: relative;
    padding: 100px 0 120px;
    z-index: 10000;
}

.cta-description {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 300;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.cta-button-primary {
    background-color: #FF3F3F;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 63, 63, 0.4);
}

.cta-button-primary:hover {
    background-color: #cc3232;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 63, 63, 0.6);
}

.cta-button-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button-secondary:hover {
    border-color: #FF3F3F;
    background-color: rgba(255, 63, 63, 0.1);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 0 30px;
    z-index: 10000;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 60px;
    margin-bottom: 60px;
    justify-content: space-between;
}

.footer-column:nth-child(2),
.footer-column:nth-child(4) {
    justify-self: end;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.footer-description {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 300;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
    max-width: 250px;
}

.footer-heading {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 20px 0;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #FF3F3F;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal-link {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: #FF3F3F;
}

/* Blog Page Styles */
.page-content {
    position: relative;
    z-index: 10000;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
    gap: 40px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: rgba(255, 63, 63, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(255, 63, 63, 0.2);
}

.blog-link:hover span {
    transform: translateX(4px);
}

@media screen and (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.container {
    width: 100%;
    height: 100vh;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    opacity: 0;
}

.container.show {
    display: flex;
    animation: fadeInContent 2s ease-in forwards;
}

.logo-container {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: none;
}

.logo {
    max-width: 150px;
    height: auto;
    display: block;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 30px;
}

.coming-soon {
    font-family: 'Segment A Key Trial', sans-serif;
    font-weight: 900;
    font-size: 120px;
    color: #ffffff;
    text-align: center;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
}

.coming-soon.show {
    opacity: 1;
}

.facebook-button {
    display: inline-block;
    padding: 16px 48px;
    background-color: #FF3F3F;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2;
    border-radius: 8px;
    border: 2px solid transparent;
    box-sizing: border-box;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 63, 63, 0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    width: 240px;
    text-align: center;
}

.facebook-button.show {
    opacity: 1;
    transform: translateY(0);
}

.facebook-button:hover {
    background-color: #cc3232;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 63, 63, 0.6);
}

.facebook-button:active {
    transform: translateY(0);
}

.share-button {
    display: inline-block;
    padding: 16px 48px;
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2;
    border-radius: 8px;
    box-sizing: border-box;
    cursor: pointer;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out, background-color 0.3s ease, color 0.3s ease;
    margin: 0;
    width: 240px;
    text-align: center;
}

.share-button.show {
    opacity: 1;
    transform: translateY(0);
}

.share-button:hover {
    background-color: #ffffff;
    color: #101010;
}

.share-button:active {
    transform: translateY(0) scale(0.98);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 20000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease-out;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-modal-content {
    background: linear-gradient(145deg, #1a1a1a, #252525);
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 80px rgba(255, 63, 63, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.close-modal {
    position: absolute;
    right: -60px;
    top: 0;
    width: 44px;
    height: 44px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border: 1px solid #444;
    padding: 0;
}

.close-modal:hover {
    color: #FF3F3F;
    background: #252525;
    border-color: #FF3F3F;
}

.share-modal-content h2 {
    font-family: 'Segment A Key Trial', sans-serif;
    font-weight: 900;
    font-size: 36px;
    color: #ffffff;
    margin: 0 0 30px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Language Toggle Switch */
.language-toggle {
    display: flex;
    position: relative;
    background-color: #2a2a2a;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 30px;
    width: 100%;
}

.toggle-btn {
    flex: 1;
    padding: 14px 20px;
    background: transparent;
    border: none;
    color: #999;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.toggle-btn.active {
    color: #ffffff;
}

.toggle-btn .flag {
    font-size: 20px;
}

.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: linear-gradient(135deg, #FF3F3F, #cc3232);
    border-radius: 10px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
    box-shadow: 0 4px 15px rgba(255, 63, 63, 0.4);
}

.toggle-slider.slide-right {
    transform: translateX(calc(100% + 4px));
}

/* Share Image Preview */
.share-image-container {
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-image {
    width: 70%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: opacity 0.3s ease;
}

.share-image.fade-transition {
    opacity: 0;
}

/* Share Text Container */
.share-text-container {
    margin-bottom: 25px;
}

.share-text-container label {
    display: block;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.share-text-container textarea {
    width: 100%;
    padding: 16px;
    background: #2a2a2a;
    color: #ffffff;
    border: 1px solid #444;
    border-radius: 10px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    resize: none;
    min-height: 120px;
    transition: border-color 0.3s ease;
}

.share-text-container textarea:focus {
    outline: none;
    border-color: #FF3F3F;
}

/* Share Action Buttons */
.share-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.action-btn {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 10px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.copy-btn {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: none;
}

.copy-btn:hover {
    background: #ffffff;
    color: #101010;
    transform: translateY(-2px);
}

.download-btn {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: none;
}

.download-btn:hover {
    background: #ffffff;
    color: #101010;
    transform: translateY(-2px);
}

.action-btn:active {
    transform: translateY(0);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF3F3F, #cc3232);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 8px 30px rgba(255, 63, 63, 0.5);
    z-index: 20001;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.show {
    bottom: 40px;
}

.toast span {
    font-size: 20px;
    font-weight: bold;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .section-container {
        padding: 0 40px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
    
    .how-we-help-section {
        padding: 80px 0 60px;
    }
    
    .help-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .help-card {
        padding: 30px 25px;
    }
    
    .help-icon {
        width: 48px;
        height: 48px;
    }
    
    .help-title {
        font-size: 18px;
    }
    
    .help-description {
        font-size: 14px;
    }
    
    .why-section-title {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .why-text-main {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
        justify-content: center;
        text-align: center;
    }
    
    .footer-column {
        justify-self: center;
        align-items: center;
    }
    
    .footer-column:nth-child(2),
    .footer-column:nth-child(4) {
        justify-self: center;
    }
    
    .footer-description {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-legal {
        gap: 20px;
    }
    
    .impact-card {
        padding: 40px 25px;
    }
    
    .impact-number {
        font-size: 42px;
    }
    
    .impact-label {
        font-size: 14px;
    }
    
    .cta-description {
        font-size: 18px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-button {
        text-align: center;
    }
    
    .hero-section {
        padding: 180px 40px 60px 40px;
    }
    
    .hero-title {
        font-size: 38px;
        margin-bottom: 40px;
        line-height: 1.25;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-card-large {
        min-height: 400px;
    }
    
    .hero-card-image {
        min-height: 400px;
    }
    
    .hero-card-overlay {
        padding: 35px;
    }
    
    .hero-card-title {
        font-size: 32px;
    }
    
    .hero-card-subtitle {
        font-size: 16px;
    }
    
    .hero-card-small {
        padding: 35px;
        min-height: 200px;
    }
    
    .hero-card-heading {
        font-size: 28px;
    }
    
    .navbar {
        padding: 0 40px;
        height: 70px;
        pointer-events: none;
        background-color: rgba(16, 16, 16, 0.95);
        backdrop-filter: blur(10px);
    }
    
    .navbar-content,
    .burger-menu {
        pointer-events: all;
    }
    
    .intro-logo-container {
        top: 35px;
        left: 40px;
        padding-top: 0;
        transform: translateY(-50%);
    }
    
    .intro-logo {
        max-width: 55px;
    }
    
    .burger-menu {
        display: flex !important;
        position: fixed;
        top: 35px;
        right: 40px;
        z-index: 9999999;
        width: 30px;
        height: 21px;
        gap: 6px;
        transform: translateY(-50%);
    }
    
    .burger-line {
        display: block !important;
        width: 100% !important;
        height: 3px !important;
        background-color: #ffffff !important;
    }
    
    .burger-menu.active {
        position: fixed;
        transform: translateY(-50%);
    }
    
    .burger-menu.active .burger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.active .burger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .navbar-content {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(16, 16, 16, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        gap: 30px;
        padding: 120px 40px 60px 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999998;
    }
    
    .navbar-content.active {
        right: 0;
    }
    
    /* Logo already visible - no need for duplicate */
    
    .navbar-menu {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        align-items: flex-start;
    }
    
    .navbar-item {
        width: 100%;
        text-align: left;
    }
    
    .navbar-link {
        font-size: 32px;
        font-weight: 600;
        display: block;
        width: 100%;
        text-align: left;
    }
    
    .navbar-link::after {
        display: none;
    }
    
    .donate-button {
        font-size: 20px;
        padding: 18px 40px;
        width: 100%;
        text-align: center;
        margin-top: auto;
    }
    

    body::before {
        background-size: 300%;
    }
    
    .intro-overlay::before {
        background-size: 300%;
    }
    
    .intro-logo {
        max-width: 50px;
        height: 50px;
        object-fit: contain;
    }
    
    .intro-logo-container {
        position: fixed;
        top: 35px;
        left: 40px;
        width: 50px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999999;
        transform: translateY(-50%);
    }
    
    .count-up {
        font-size: 20vw;
        bottom: 40px;
        left: 40px;
    }
    
    .count-up .percent {
        font-size: 10vw;
    }
    
    .loader-text-container {
        right: 40px;
        top: 50%;
        transform: translateY(-50%);
        height: 40px;
    }
    
    .loader-text-item {
        font-size: 28px;
        line-height: 40px;
    }
    
    .typewriter-text span {
        font-size: 10vw;
        padding: 0 15px;
        line-height: 0.9;
    }
    
    .share-modal-content {
        padding: 30px 20px;
        margin-top: 50px;
    }
    
    .close-modal {
        right: 10px;
        top: -50px;
    }
    
    .share-modal-content h2 {
        font-size: 28px;
    }
    
    .share-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .toggle-btn {
        font-size: 14px;
        padding: 12px 16px;
    }
    
    .logo {
        max-width: 120px;
    }
    
    .logo-container {
        top: 20px;
    }
    
    .coming-soon {
        font-size: 18vw;
        padding: 0 20px;
        line-height: 1.1;
    }
    
    .facebook-button {
        padding: 14px 40px;
        font-size: 16px;
        font-weight: 700;
    }
    
    .share-button {
        padding: 14px 40px;
        font-size: 16px;
        font-weight: 700;
    }
    
    .content {
        gap: 30px;
    }
}

@media screen and (max-width: 480px) {
    .section-container {
        padding: 0 30px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .how-we-help-section {
        padding: 60px 0 50px;
    }
    
    .help-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .help-card {
        padding: 30px 20px;
    }
    
    .help-icon {
        width: 42px;
        height: 42px;
    }
    
    .help-title {
        font-size: 16px;
    }
    
    .help-description {
        font-size: 13px;
    }
    
    .how-we-help-section,
    .impact-section {
        padding: 60px 0;
    }
    
    .why-section {
        padding: 60px 0;
    }
    
    .cta-section {
        padding: 60px 0 80px;
    }
    
    .why-section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .why-text-main {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-container {
        padding: 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
        justify-content: center;
        text-align: center;
    }
    
    .footer-column {
        justify-self: center;
        align-items: center;
    }
    
    .footer-column:nth-child(2),
    .footer-column:nth-child(4) {
        justify-self: center;
    }
    
    .footer-logo {
        max-width: 100px;
    }
    
    .footer-description {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-heading {
        font-size: 16px;
    }
    
    .footer-link {
        font-size: 14px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
    
    .impact-card {
        padding: 35px 20px;
    }
    
    .impact-number {
        font-size: 38px;
    }
    
    .impact-label {
        font-size: 13px;
    }
    
    .cta-description {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .hero-section {
        padding: 150px 30px 50px 30px;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 30px;
        line-height: 1.3;
    }
    
    .hero-grid {
        gap: 15px;
    }
    
    .hero-card-large {
        min-height: 350px;
    }
    
    .hero-card-image {
        min-height: 350px;
    }
    
    .hero-card-overlay {
        padding: 25px;
    }
    
    .hero-card-title {
        font-size: 28px;
    }
    
    .hero-card-subtitle {
        font-size: 14px;
    }
    
    .hero-card-small {
        padding: 30px;
        min-height: 180px;
    }
    
    .hero-card-heading {
        font-size: 24px;
    }
    
    .hero-card-description {
        font-size: 14px;
    }
    
    .hero-link {
        font-size: 14px;
    }
    
    .intro-logo {
        max-width: 55px;
    }
    
    .intro-logo-container {
        top: 35px;
        left: 40px;
        padding-top: 0;
        transform: translateY(-50%);
    }
    
    .count-up {
        font-size: 18vw;
        bottom: 30px;
        left: 30px;
    }
    
    .count-up .percent {
        font-size: 9vw;
    }
    
    .loader-text-container {
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        height: 35px;
    }
    
    .loader-text-item {
        font-size: 20px;
        line-height: 35px;
    }
    
    .logo {
        max-width: 100px;
    }
    
    .logo-container {
        top: 15px;
    }
    
    .coming-soon {
        font-size: 18vw;
        padding: 0 15px;
        line-height: 1.1;
    }
    
    .facebook-button {
        padding: 12px 32px;
        font-size: 14px;
        font-weight: 700;
    }
    
    .share-button {
        padding: 12px 32px;
        font-size: 14px;
        font-weight: 700;
    }
    
    .content {
        gap: 25px;
    }
}

@media screen and (max-width: 360px) {
    .coming-soon {
        font-size: 18vw;
        line-height: 1.1;
    }
    
    .facebook-button {
        padding: 10px 28px;
        font-size: 13px;
    }
    
    .share-button {
        padding: 10px 28px;
        font-size: 13px;
    }
}

/* Landscape orientation handling */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .logo {
        max-width: 80px;
    }
    
    .logo-container {
        top: 10px;
    }
    
    .coming-soon {
        font-size: 32px;
    }
    
    .facebook-button {
        padding: 10px 30px;
        font-size: 14px;
    }
    
    .content {
        gap: 20px;
    }
}

/* Hide Resources footer column (3rd column in footer grid) */
.footer-grid .footer-column:nth-child(3) {
    display: none !important;
}

/* Also hide Resources link in footer sections and other footer structures */
.footer-links li a[href="resources.html"],
.footer-links li a[href="dna-testing.html"],
.footer-links li a[href="glossary.html"],
.footer-links li a[href="guides.html"],
.footer-links li a[href="contact.html"],
.footer-links li a[href="#dna"],
.footer-links li a[href="#glossary"],
.footer-links li a[href="#guides"],
.footer-links li a[href="#contact"] {
    display: none !important;
}

/* Hide empty list items after links are hidden */
.footer-links li:has(a[href="resources.html"]),
.footer-links li:has(a[href="dna-testing.html"]),
.footer-links li:has(a[href="glossary.html"]),
.footer-links li:has(a[href="guides.html"]),
.footer-links li:has(a[href="contact.html"]) {
    display: none !important;
}
