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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #e74c3c;
    --accent-color-2: #3498db;
    --dark-color: #1a1a2e;
    --dark-color-2: #16213e;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --overlay-dark: rgba(0, 0, 0, 0.6);
    --overlay-medium: rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: var(--transition);
    border-radius: 3px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-1);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8), 0 2px 15px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}


.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

.arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.arrow span {
    width: 2px;
    height: 15px;
    background: var(--white);
    transform: rotate(45deg);
    border-radius: 2px;
}

.arrow span:first-child {
    transform: rotate(-45deg);
    margin-right: 8px;
}

.arrow span:last-child {
    transform: rotate(45deg);
    margin-left: 8px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.delay-5 {
    animation-delay: 1s;
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: 6rem 0;
}

section:first-of-type {
    padding-top: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title-large {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
    animation: expandWidth 1s ease-out 0.5s both;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 80px; }
}

.large-text {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

/* ============================================
   MISSION PREVIEW
   ============================================ */
.mission-preview {
    background: rgba(64, 224, 208, 0.2);
    position: relative;
    padding: 4rem 0;
}

.mission-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    padding: 0 3rem;
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.9;
    margin-bottom: 1.75rem;
    color: var(--text-light);
}

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

/* ============================================
   FILMS PREVIEW
   ============================================ */
.films-preview {
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .films-preview .container {
        padding: 0 1rem;
    }
}

@media (min-width: 769px) {
    .films-preview .container {
        max-width: 1200px;
        padding: 0 2rem;
    }
}

.films-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3.5rem;
    padding: 0;
}

@media (min-width: 769px) {
    .films-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        max-width: 1000px;
        margin: 0 auto 3.5rem;
    }
}

.film-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.film-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.film-card-image {
    width: 100%;
    height: 530px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px 20px 0 0;
    display: block;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    position: relative;
}

.carmine-card-image {
    object-fit: cover;
    object-position: center 30%;
}

@media (max-width: 768px) {
    .film-card-image {
        height: 280px;
    }
}

.film-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 520px;
    background: var(--overlay-dark);
    transition: var(--transition);
    border-radius: 20px 20px 0 0;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 768px) {
    .film-overlay {
        height: 280px;
    }
}

.film-card:hover .film-overlay {
    background: var(--overlay-medium);
}

.film-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: var(--white);
    font-size: 2.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 2px 5px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-align: center;
    width: 100%;
    padding: 0 1rem;
    pointer-events: none;
}

.film-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 10;
    background: var(--white);
    margin-top: 0;
}

/* Mission Text Sections */
.mission-text-section {
    margin-top: 1.5rem;
}

.mission-text-collapsible,
.about-text-collapsible {
    margin-top: 1rem;
}

/* Founder Image */
.founder-image-wrapper {
    margin: 0;
    max-width: 300px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--light-color);
    padding: 0.5rem;
}

.founder-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.film-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.film-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: auto;
}

.film-link:hover {
    transform: translateX(5px);
}

/* ============================================
   IMPACT SECTION
   ============================================ */
.impact-section {
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
    z-index: 1;
}

.impact-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.impact-text {
    position: relative;
    z-index: 2;
}

.impact-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.impact-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.cta-text {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.page-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
}

/* ============================================
   MISSION STATEMENT
   ============================================ */
.mission-statement {
    padding: 6rem 0;
    background: rgba(64, 224, 208, 0.2);
}

.mission-statement-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    padding: 0 3rem;
}

.mission-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    color: var(--primary-color);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

/* ============================================
   VALUES SECTION
   ============================================ */
.values-section {
    
    background: var(--light-color);
    padding: 6rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.value-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.05;
    transition: var(--transition);
}

.value-card:hover::before {
    left: 0;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.value-card::before {
    background: var(--primary-color);
    opacity: 0.05;
}

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

.value-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.value-description {
    color: var(--text-light);
    line-height: 1.8;
    position: relative;
    z-index: 2;
    font-size: 1.05rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 6rem 0;
    background: rgba(64, 224, 208, 0.2);
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3rem;
}

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

/* ============================================
   FOUNDER SECTION
   ============================================ */
.founder-section {
    padding: 6rem 0;
    background: var(--white);
}

.founder-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.founder-text {
    text-align: left;
}

.founder-image-wrapper {
    position: sticky;
    top: 100px;
    align-self: start;
}

@media (max-width: 768px) {
    .founder-content {
        grid-template-columns: 1fr;
    }
    
    .founder-image-wrapper {
        position: static;
        max-width: 280px;
        margin: 0 auto 2rem;
    }
}

.founder-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
    font-style: italic;
}

.founder-bio {
    text-align: left;
}

.founder-bio p {
    margin-bottom: 1.5rem;
}

/* ============================================
   STORIES SECTION
   ============================================ */
.stories-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.stories-content {
    max-width: 1000px;
    margin: 0 auto;
}

.stories-text {
    margin-bottom: 3rem;
}

.story-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tag {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    animation: scaleIn 0.5s ease-out both;
}

.tag:nth-child(1) { animation-delay: 0.1s; }
.tag:nth-child(2) { animation-delay: 0.2s; }
.tag:nth-child(3) { animation-delay: 0.3s; }
.tag:nth-child(4) { animation-delay: 0.4s; }
.tag:nth-child(5) { animation-delay: 0.5s; }
.tag:nth-child(6) { animation-delay: 0.6s; }
.tag:nth-child(7) { animation-delay: 0.7s; }
.tag:nth-child(8) { animation-delay: 0.8s; }

.tag:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-md);
}

/* ============================================
   IMPACT STATEMENT
   ============================================ */
.impact-statement {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.impact-statement-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.impact-statement-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
}

.impact-statement-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
}

.impact-statement-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.impact-statement-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    opacity: 0.95;
    margin-bottom: 2.5rem;
}

/* ============================================
   FILM DETAIL
   ============================================ */
.film-detail {
    padding: 6rem 0;
    background: var(--white);
}

.film-detail-alt {
    background: var(--light-color);
}

.film-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

@media (max-width: 968px) {
    .film-detail-content {
        gap: 3rem;
    }
}

.film-detail-reverse {
    grid-template-columns: 1fr 1fr;
}

.film-detail-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    height: 520px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .film-detail-image {
        height: 280px;
    }
}

.film-detail-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

.film-detail-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--dark-color);
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.carmine-image {
    background-size: cover !important;
    background-position: center 30% !important;
}

.carmine-image-card {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.able-image {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.able-image-card {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.carmine-image-card {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.film-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

@media (min-width: 769px) {
    .film-card {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .film-image {
        flex-shrink: 0;
    }
    
    .film-content {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
}

.film-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
}

.film-detail-title-large {
    position: relative;
    z-index: 2;
    color: var(--white);
    font-size: 4rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

.film-name {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.working-title {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-light);
    font-style: italic;
}

.film-tagline {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
    font-style: italic;
}

.film-description-full {
    margin-bottom: 2rem;
}

.film-description-full p {
    margin-bottom: 1.75rem;
    line-height: 1.9;
    color: var(--text-light);
    font-size: 1.1rem;
}

.film-description-full p:last-child {
    margin-bottom: 0;
}

.film-impact {
    background: var(--light-color);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
    margin-top: 2rem;
}

.film-themes {
    margin-top: 2rem;
}

.themes-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.themes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.theme-tag {
    padding: 0.5rem 1.25rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.theme-tag:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   COMING SOON SECTION
   ============================================ */
.coming-soon-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.coming-soon-content {
    max-width: 900px;
    margin: 0 auto;
}

.coming-soon-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.coming-soon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.coming-soon-image {
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
}

.coming-soon-badge {
    position: relative;
    z-index: 2;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.coming-soon-text {
    padding: 3rem;
}

.coming-soon-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    line-height: 1.3;
}

.coming-soon-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.coming-soon-description:last-child {
    margin-bottom: 0;
}

/* ============================================
   FILMS IMPACT
   ============================================ */
.films-impact {
    padding: 6rem 0;
    background: var(--white);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.impact-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--light-color);
    border-radius: 20px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.impact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.impact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

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

.impact-item-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.impact-item-text {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ============================================
   GET INVOLVED SECTION
   ============================================ */
.get-involved-section {
    padding: 6rem 0;
    background: var(--white);
}

.get-involved-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    padding: 0 3rem;
}

/* ============================================
   MAKE A DIFFERENCE SECTION
   ============================================ */
.make-difference-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.1) 0%, rgba(248, 249, 250, 1) 100%);
}

.donation-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

@media (max-width: 968px) {
    .donation-methods {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

.donation-method-card {
    background: var(--white);
    padding: 3.5rem 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid transparent;
}

.donation-method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(64, 224, 208, 0.3);
}

.method-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

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

.method-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.method-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.ein-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 10px;
}

.ein-label {
    margin: 0;
    color: var(--text-color);
    font-size: 1rem;
}

/* ============================================
   FLOWCHARTS SECTION
   ============================================ */
.flowcharts-section {
    padding: 4rem 0 6rem;
    background: var(--white);
}

.flowchart-container {
    margin-bottom: 4rem;
    padding: 3rem 2.5rem;
    background: var(--light-color);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.8s ease-out;
    opacity: 0;
    transform: translateY(30px);
}

.flowchart-container.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.flowchart-container:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Fallback - show flowcharts even if JS doesn't load after 1.5 seconds */
@keyframes fadeInFlowchart {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flowchart-container.scroll-fade-in {
    animation: fadeInFlowchart 0.8s ease-out 1.5s forwards;
}

.flowchart-container:last-child {
    margin-bottom: 2rem;
}

.flowchart-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 2.5rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.flowchart-diagram {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    overflow-x: auto;
    overflow-y: visible;
}

.flowchart-svg {
    width: 100%;
    height: auto;
    display: block;
}

.flowchart-svg .entity-label {
    font-size: 16px;
    font-weight: 600;
    fill: var(--dark-color);
    font-family: 'Inter', sans-serif;
}

.flowchart-svg .entity-label-white {
    font-size: 18px;
    font-weight: 600;
    fill: var(--white);
    font-family: 'Inter', sans-serif;
}

.flowchart-svg .entity-sublabel {
    font-size: 14px;
    fill: var(--text-light);
    font-family: 'Inter', sans-serif;
}

.flowchart-svg .arrow-label {
    font-size: 14px;
    font-weight: 600;
    fill: var(--dark-color);
    font-family: 'Inter', sans-serif;
}

.flowchart-svg .flowchart-entity {
    transition: transform 0.3s ease;
}

.flowchart-container:hover .flowchart-entity {
    transform: scale(1.02);
}

/* ============================================
   DIAGRAM STYLES
   ============================================ */
.diagram-container {
    margin-bottom: 4rem;
    padding: 3rem 2.5rem;
    background: var(--light-color);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.8s ease-out;
    opacity: 0;
    transform: translateY(30px);
}

.diagram-container.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.diagram-container.scroll-fade-in {
    animation: fadeInFlowchart 0.8s ease-out 1.5s forwards;
}

.diagram-container-split {
    padding-top: 4rem;
    padding-bottom: 2rem;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.diagram-container-split .diagram-title {
    margin-bottom: 1.5rem;
}

.diagram-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 3rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.diagram-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.diagram-wrapper-split {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    margin-top: auto;
    padding-top: 2rem;
}

.diagram-center-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    min-width: 240px;
    max-width: 260px;
    flex: 0 0 auto;
    position: relative;
    height: 100%;
}

.diagram-box.diagram-rgde-above {
    background: var(--primary-color);
    color: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.2rem 1.5rem;
    text-align: center;
    min-width: 240px;
    max-width: 260px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: absolute;
    top: -220px;
    left: 50%;
    transform: translateX(-50%);
}

.diagram-box.diagram-rgde-above:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.diagram-box.diagram-rgde-above .diagram-label {
    color: var(--white);
    font-size: 1rem;
}

.diagram-arrow-vertical-up {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.3rem 0;
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.diagram-box {
    background: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    min-width: 180px;
    max-width: 220px;
    flex: 0 0 auto;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.diagram-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.diagram-left {
    background: #e8f4f8;
}

.diagram-center {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    min-width: 240px;
    max-width: 260px;
}

.diagram-center-wrapper .diagram-center {
    background: #adc9e4;
    color: var(--dark-color);
    border-color: var(--primary-color);
    position: relative;
    z-index: 2;
}

.diagram-center-wrapper .diagram-center .diagram-label {
    color: var(--dark-color);
}

.diagram-right {
    background: #a8d5ba;
}

.diagram-box-split-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 240px;
    max-width: 260px;
    flex: 0 0 auto;
    align-items: stretch;
}

.diagram-box-split-top {
    background: #adc9e4;
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.2rem 1.5rem;
    text-align: center;
    flex: 0 0 auto;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.diagram-box-split-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.diagram-box-split-bottom {
    background: var(--primary-color);
    color: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.2rem 1.5rem;
    text-align: center;
    flex: 0 0 auto;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.diagram-box-split-bottom:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.diagram-box-split-bottom .diagram-label {
    color: var(--white);
    font-size: 1rem;
}

.diagram-box-split-top .diagram-label {
    color: var(--dark-color);
    font-size: 1rem;
}

.diagram-arrow-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0;
}

.arrow-label-box-vertical {
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 0.3rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--dark-color);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif;
}

.arrow-vertical {
    position: relative;
    width: 4px;
    height: 40px;
    background: var(--primary-color);
    margin: 0 auto;
}

.arrow-line-vertical {
    width: 100%;
    height: 100%;
    background: var(--primary-color);
}

.arrow-head-up {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--primary-color);
}

.arrow-head-down {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--primary-color);
}

.diagram-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.diagram-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

.diagram-center .diagram-label {
    color: var(--white);
}

.diagram-sublabel {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.diagram-arrows-horizontal {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    min-width: 140px;
    max-width: 160px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.arrow-group-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    width: 100%;
}

.arrow-group-horizontal.arrow-top {
    flex-direction: column;
}

.arrow-group-horizontal.arrow-top .arrow-label-box-horizontal {
    order: -1;
    margin-bottom: 0.5rem;
}

.arrow-group-horizontal.arrow-bottom {
    flex-direction: column;
}

.arrow-group-horizontal.arrow-bottom .arrow-label-box-horizontal {
    order: 1;
    margin-top: 0.5rem;
}

.arrow-label-box-horizontal.arrow-middle-text {
    font-size: 0.7rem;
    padding: 0.35rem 0.4rem;
    max-width: 100%;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
    margin: 0.4rem 0;
}

.arrow-label-box-horizontal.arrow-top-label {
    font-size: 0.7rem;
    padding: 0.35rem 0.4rem;
    max-width: 100%;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 0.5rem;
}

.arrow-label-box-horizontal.arrow-bottom-label {
    font-size: 0.7rem;
    padding: 0.35rem 0.4rem;
    max-width: 100%;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
    margin-top: 0.5rem;
}


.arrow-horizontal {
    position: relative;
    width: 120px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
}


.arrow-line-horizontal {
    width: 100%;
    height: 100%;
    background: var(--primary-color);
}

.arrow-head-right {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid var(--primary-color);
}

.arrow-head-left {
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 12px solid var(--primary-color);
}

.arrow-label-box-horizontal {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-color);
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
}


@media (max-width: 968px) {
    .diagram-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .diagram-arrows-horizontal {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }

    .arrow-horizontal {
        width: 150px;
    }
}

/* Animation delays for staggered fade-in */
.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

/* ============================================
   DONORS SECTION
   ============================================ */
.donors-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.donors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.donor-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.donor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.donor-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

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

.donor-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.donor-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ============================================
   ASSETS SECTION
   ============================================ */
.assets-section {
    padding: 6rem 0;
    background: var(--white);
}

.assets-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.asset-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 15px;
    transition: var(--transition);
}

.asset-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.asset-icon {
    font-size: 3rem;
}

.asset-name {
    font-weight: 600;
    color: var(--dark-color);
}

/* ============================================
   ONLINE DONATIONS
   ============================================ */
.online-donations {
    padding: 6rem 0;
    background: var(--light-color);
}

.online-donations-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* ============================================
   LARGE CONTRIBUTIONS
   ============================================ */
.large-contributions {
    padding: 6rem 0;
    background: var(--white);
}

.large-contributions-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-box {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    margin-top: 3rem;
    box-shadow: var(--shadow-md);
}

.contact-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-text {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ============================================
   TAX BENEFITS
   ============================================ */
.tax-benefits {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.tax-benefits-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.tax-benefits-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
}

.tax-benefits-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
}

.tax-benefits-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.tax-benefits-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    opacity: 0.95;
    margin-bottom: 3rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 500px;
}

.benefit-item svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.contact-item {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.contact-item-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.contact-item-text {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.contact-item-text:last-child {
    margin-bottom: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-bottom: 3.5rem;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-title-large {
        font-size: 2rem;
    }

    .film-detail-content {
        grid-template-columns: 1fr;
    }

    .film-detail-reverse {
        grid-template-columns: 1fr;
    }

    .film-detail-image {
        order: -1;
    }

    .cta-title {
        font-size: 2rem;
    }

    .impact-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .films-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .donors-grid {
        grid-template-columns: 1fr;
    }

    .assets-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .flowchart-container {
        margin-bottom: 6rem;
        padding: 3rem 2rem;
    }

    .flowchart-diagram {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .assets-grid {
        grid-template-columns: 1fr;
    }

    .flowchart-container {
        padding: 2rem 1rem;
        margin-bottom: 5rem;
    }

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

    .flowchart-diagram {
        padding: 1rem 0.5rem;
    }

    .flowchart-svg {
        max-width: 100%;
        height: auto;
    }

    .flowchart-svg .entity-label,
    .flowchart-svg .entity-label-white {
        font-size: 13px;
    }

    .flowchart-svg .entity-sublabel {
        font-size: 11px;
    }

    .flowchart-svg .arrow-label {
        font-size: 11px;
    }
}
.mobile-expand-btn {
    display: none;
}
/* ============================================
   MOBILE OPTIMIZATION - PERFECT MOBILE EXPERIENCE
   ============================================ */
@media (max-width: 768px) {
    /* Base container adjustments */
    .container {
        padding: 0 1.25rem;
    }

    /* Typography - Mobile optimized */
    body {
        font-size: 16px;
        line-height: 1.7;
    }

    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
    }

    /* Navigation - Mobile perfect */
    .nav-container {
        padding: 1rem 1.25rem;
    }

    .logo h2 {
        font-size: 1.25rem;
    }

    .nav-menu {
        top: 60px;
        padding: 1.5rem 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 0;
    }

    /* Hero Section - Mobile optimized */
    .hero {
        height: 70vh;
        min-height: 500px;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1.25rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
        padding: 0 0.5rem;
    }

    .hero-buttons {
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Page Header - Mobile */
    .page-header {
        padding: 8rem 0 4rem;
        min-height: 40vh;
    }

    .page-title {
        font-size: 2.25rem;
        margin-bottom: 0.75rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 2.5rem;
    }

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

    .section-title-large {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    /* Mission Preview - Mobile */
    .mission-preview {
        padding: 3rem 0;
    }

    .mission-content {
        padding: 0 1rem;
    }

    .mission-text {
        font-size: 1.05rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    /* Films Preview - Mobile */
    .films-preview {
        padding: 3rem 0;
    }

    .films-grid {
        gap: 2rem;
        margin-bottom: 2rem;
        padding: 0;
    }

    .film-card {
        margin-bottom: 0;
        padding: 0;
        border-radius: 16px;
    }

    .film-card-image {
        height: 300px;
        border-radius: 16px 16px 0 0;
    }

    .film-overlay {
        height: 300px;
        border-radius: 16px 16px 0 0;
    }

    .film-content {
        padding: 1.5rem !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 10 !important;
        background: var(--white) !important;
        margin-top: 0 !important;
        width: 100% !important;
    }

    .film-title {
        font-size: 1.75rem;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .film-description {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1rem;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: var(--text-light) !important;
    }

    .film-link {
        font-size: 0.95rem;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-top: auto;
        color: var(--primary-color) !important;
    }

    /* CTA Section - Mobile */
    .cta-section {
        padding: 3rem 0;
    }

    .cta-content {
        padding: 0 1.5rem;
    }

    .cta-title {
        font-size: 1.875rem;
        margin-bottom: 1.25rem;
        line-height: 1.3;
    }

    .cta-text {
        font-size: 1.05rem;
        line-height: 1.8;
        margin-bottom: 2rem;
    }

    .btn-large {
        padding: 1.125rem 2rem;
        font-size: 1.05rem;
    }

    /* Mission Statement - Mobile */
    .mission-statement {
        padding: 3rem 0;
    }

    .mission-statement-content {
        padding: 0 1rem;
    }

    .mission-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }

    .large-text {
        font-size: 1.05rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    /* About Section - Mobile */
    .about-section {
        padding: 3rem 0;
    }

    .about-content {
        padding: 0 1rem;
    }

    /* Founder Section - Mobile */
    .founder-section {
        padding: 3rem 0;
    }

    .founder-content {
        padding: 0 1rem;
        grid-template-columns: 1fr;
    }

    .founder-image-wrapper {
        max-width: 100%;
        margin-bottom: 2rem;
    }

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

    /* Mobile Collapsible Text */
    .mobile-collapsible {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-out;
    }

    .mobile-collapsible.expanded {
        max-height: 5000px;
        transition: max-height 0.5s ease-in;
    }

    /* Mobile expand button styles moved to global media query below */
    .mobile-expand-btn:hover {
        background: var(--accent-color);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .bio-section {
        margin-bottom: 1.5rem;
    }

/* HIDE READ MORE BUTTONS BY DEFAULT - SHOW ONLY ON MOBILE */
/* Base rule: hide everywhere */
.mobile-expand-btn,
button.mobile-expand-btn,
button[class*="mobile-expand"],
.mobile-expand-btn[onclick] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 0 !important;
    min-height: 0 !important;
    max-width: 0 !important;
    border: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* Show ONLY on mobile screens (max-width: 768px) */
@media screen and (max-width: 768px) {
    .mobile-expand-btn,
    button.mobile-expand-btn,
    button[class*="mobile-expand"],
    .mobile-expand-btn[onclick] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        position: static !important;
        left: auto !important;
        width: 100% !important;
        max-width: 300px !important;
        min-height: 48px !important;
        margin: 1.5rem auto 0 !important;
        padding: 0.875rem 2rem !important;
        background: var(--primary-color) !important;
        color: var(--white) !important;
        border: none !important;
        border-radius: 8px !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        line-height: normal !important;
        overflow: visible !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        transition: var(--transition) !important;
        touch-action: manipulation !important;
    }
    
    .mobile-expand-btn:hover {
        background: var(--accent-color) !important;
        transform: translateY(-2px) !important;
        box-shadow: var(--shadow-md) !important;
    }
}

/* Ensure hidden on all desktop sizes */
@media screen and (min-width: 769px) {
    .mobile-expand-btn,
    button.mobile-expand-btn,
    button[class*="mobile-expand"],
    .mobile-expand-btn[onclick] {
        display: none !important;
        visibility: hidden !important;
    }
}

/* Ensure collapsible content is always visible on desktop */
@media (min-width: 769px) {
    .mobile-collapsible {
        max-height: none !important;
        overflow: visible !important;
    }
}

    /* Mission section images on mobile */
    .mission-image-wrapper,
    .about-image-wrapper {
        margin: 1.5rem 0;
        border-radius: 12px;
    }

    .mission-section-image,
    .about-section-image {
        border-radius: 12px;
    }

    .founder-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Get Involved Section - Mobile */
    .get-involved-section {
        padding: 3rem 0;
    }

    .get-involved-content {
        padding: 0 1rem;
    }

    /* Make a Difference - Mobile */
    .make-difference-section {
        padding: 3rem 0;
    }

    .donation-methods {
        gap: 1.75rem;
        padding: 0 0.5rem;
    }

    .donation-method-card {
        padding: 2.5rem 2rem;
        margin-bottom: 0;
    }

    .method-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1.25rem;
    }

    .method-title {
        font-size: 1.375rem;
        margin-bottom: 1rem;
    }

    .method-description {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.25rem;
    }

    .ein-info {
        margin: 1rem 0;
    }

    .ein-label {
        font-size: 0.9rem;
    }

    .donate-select {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    /* Film Detail - Mobile */
    .film-detail {
        padding: 3rem 0;
    }

    .film-detail-content {
        gap: 2rem;
    }

    .film-detail-image {
        height: 280px !important;
    }

    .film-detail-visual {
        height: 100%;
        border-radius: 16px;
    }

    .film-detail-title-large {
        font-size: 2rem;
    }

    .film-name {
        font-size: 1.875rem;
        margin-bottom: 1.25rem;
    }

    .film-description-full {
        font-size: 1rem;
        line-height: 1.8;
    }

    .film-description-full p {
        margin-bottom: 1.25rem;
    }

    .film-impact {
        font-size: 1rem;
    }

    .preview-link {
        font-size: 1rem;
        padding: 0.75rem 1.25rem;
    }

    /* Coming Soon - Mobile */
    .coming-soon-section {
        padding: 3rem 0;
    }

    .coming-soon-card {
        margin-bottom: 0;
    }

    .coming-soon-image {
        height: 250px;
    }

    .coming-soon-title {
        font-size: 1.25rem;
        padding: 1.5rem 1rem;
    }

    /* Footer - Mobile */
    .footer {
        padding: 3rem 0 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 0;
    }

    .footer-title {
        font-size: 1.375rem;
        margin-bottom: 1rem;
    }

    .footer-heading {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    .footer-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .footer-links {
        gap: 0.75rem;
    }

    .footer-links a {
        font-size: 0.95rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.875rem;
    }

    /* Buttons - Mobile touch-friendly */
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
        min-height: 48px;
        touch-action: manipulation;
    }

    .btn-outline {
        padding: 0.875rem 1.75rem;
    }

    /* Modal - Mobile optimized */
    .diagram-modal-content {
        max-width: 95%;
        padding: 2rem 1.5rem;
        max-height: 85vh;
        border-radius: 16px;
    }

    .diagram-modal-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .diagram-modal-image {
        margin-bottom: 1.5rem;
    }

    .diagram-modal-image h4 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    .diagram-modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 36px;
        height: 36px;
        font-size: 2rem;
    }

    /* Title underline - Mobile */
    .title-underline {
        width: 60px;
        height: 3px;
        margin: 0.75rem auto 0;
    }

    /* Spacing adjustments */
    .section-header {
        margin-bottom: 2rem;
    }

    /* Text adjustments for readability */
    p {
        font-size: 1rem;
        line-height: 1.75;
    }

    /* Ensure proper spacing between sections */
    section {
        padding: 3rem 0;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .page-title {
        font-size: 1.875rem;
    }

    .section-title {
        font-size: 1.625rem;
    }

    .section-title-large {
        font-size: 1.75rem;
    }

    .donation-method-card {
        padding: 2rem 1.5rem;
    }

    .method-title {
        font-size: 1.25rem;
    }

    .cta-title {
        font-size: 1.625rem;
    }

    .film-name {
        font-size: 1.625rem;
    }

    .diagram-modal-content {
        padding: 1.5rem 1rem;
    }

    .diagram-modal-title {
        font-size: 1.375rem;
    }

    .logo h2 {
        font-size: 1.125rem;
    }

    .nav-container {
        padding: 0.875rem 1rem;
    }
}

/* ============================================
   DIAGRAM MODAL
   ============================================ */
.diagram-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.diagram-modal.active {
    opacity: 1;
    visibility: visible;
}

.diagram-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.diagram-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    max-width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 10001;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.diagram-modal-content .diagram-container {
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 15px;
}

.diagram-modal-content .diagram-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.diagram-modal.active .diagram-modal-content {
    transform: scale(1);
}

.diagram-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--text-color);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 10002;
}

.diagram-modal-close:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.diagram-modal-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

.diagram-modal-image {
    text-align: center;
}

.diagram-modal-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ============================================
   DONATE DROPDOWN
   ============================================ */
.donate-dropdown {
    width: 100%;
}

.donate-select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.donate-select:hover {
    border-color: var(--accent-color);
}

.donate-select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* ============================================
   PREVIEW LINK
   ============================================ */
.preview-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1.1rem;
    display: inline-block;
}

.preview-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

