/* css/home.css */
/* Home Page Specific Styles */

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-color: var(--dark-color);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    border: 2px solid red; /* Temporary - remove after debugging */
}
.hero-content {
    max-width: 800px;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    backdrop-filter: blur(2px);
}

.hero h1 {
    font-size: 5rem;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero h2 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero .cta-button {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
}

/* Featured Video Section */
.featured-video {
    background-color: #f8f9fa;
}

.video-container {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.video-placeholder {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.video-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-placeholder:hover img {
    opacity: 0.7;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.play-button i {
    color: white;
    font-size: 2rem;
    margin-left: 5px;
}

.video-placeholder:hover .play-button {
    background-color: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.featured-video .secondary-button {
    display: block;
    max-width: 300px;
    margin: 0 auto;
}

/* Vision Section */
.vision {
    background-color: white;
}

.vision-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.vision-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.vision-text blockquote {
    font-style: italic;
    padding-left: 2rem;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 2rem;
}

.vision-text cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    margin-top: 0.5rem;
}

.vision-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Funding Progress Section */
.funding-progress {
    background-color: #f8f9fa;
}

.progress-container {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.raised, .goal {
    text-align: center;
}

.amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    display: block;
}

.label {
    font-size: 1rem;
    color: #666;
}

.progress-bar {
    height: 20px;
    background-color: #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

.days-left {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.days-left span {
    color: var(--primary-color);
}

.funding-progress .cta-button {
    display: block;
    max-width: 300px;
    margin: 0 auto;
}

/* Why Support Section */
.why-support {
    background-color: white;
}

.reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.reason {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: var(--transition);
}

.reason:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.reason-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.reason-icon i {
    font-size: 2rem;
}

.reason h3 {
    margin-bottom: 1rem;
}

.reason p {
    margin-bottom: 0;
    color: #666;
}

/* Testimonials Section */
.testimonials {
    background-color: #f8f9fa;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial {
    text-align: center;
    padding: 1rem;
}

.testimonial p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.3rem;
    text-align: left;
}

.author-info p {
    font-style: normal;
    margin-bottom: 0;
    text-align: left;
    font-size: 0.9rem;
    color: #666;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.prev-button,
.next-button {
    background-color: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition);
}

.prev-button:hover,
.next-button:hover {
    color: var(--primary-color);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Newsletter Section */
.newsletter {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
}

.newsletter h2 {
    color: white;
}

.newsletter p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto 0;
}

.newsletter-form .form-group {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    border-radius: 4px 0 0 4px;
    border: none;
}

.newsletter-form .submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form .submit-btn:hover {
    background-color: var(--secondary-color);
}

/* Modal Styles */
.modal-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.modal-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .vision-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vision-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
    
    .testimonial p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero .tagline {
        font-size: 1rem;
    }
    
    .amount {
        font-size: 1.5rem;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 1rem;
    }
    
    .newsletter-form .submit-btn {
        border-radius: 4px;
        padding: 0.8rem;
    }
}














/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    /* Fallback background in case video doesn't load */
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* Background Video */
.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

/* Dark overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Content */
.hero-content {
    max-width: 800px;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 3;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    backdrop-filter: blur(2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 5rem;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

.hero h2 {
    font-size: 3rem;
    color: var(--accent-color, #d4af37);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    font-family: 'Cinzel', serif;
    font-weight: 400;
}

.hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
}

.hero .cta-button {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    background: var(--accent-color, #d4af37);
    color: var(--dark-color, #1a1a2e);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.hero .cta-button:hover {
    background: #c9a332;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero .tagline {
        font-size: 1rem;
    }
    
    .hero .cta-button {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
}













/* Testimonial Video Styles */
.testimonial-video {
    margin-bottom: 1.5rem;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.video-thumbnail:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.video-thumbnail:hover img {
    opacity: 0.8;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.video-play-btn i {
    color: white;
    font-size: 1.5rem;
    margin-left: 3px;
}

.video-thumbnail:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--secondary-color);
}

/* Update existing testimonial styles */
.testimonial {
    text-align: center;
    padding: 2rem 1rem;
}

.testimonial p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .video-thumbnail {
        max-width: 300px;
    }
    
    .video-thumbnail img {
        height: 150px;
    }
    
    .video-play-btn {
        width: 50px;
        height: 50px;
    }
    
    .video-play-btn i {
        font-size: 1.2rem;
    }
}













/* Flash News Section */
.flash-news {
    margin-top: 80px; /* Adjust this value to match your header height */
    background: linear-gradient(135deg, #b60a0a, #d30000);
    padding: 15px 0;
    border-bottom: 2px solid #b8860b;
}

.flash-news-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    animation: flashPulse 2s ease-in-out infinite;
}

.flash-icon {
    color: #fff;
    font-size: 1.2rem;
    animation: flashBolt 1.5s ease-in-out infinite;
}

.flash-text {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

@keyframes flashPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes flashBolt {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Trailer Funders Section */
.trailer-funders {
    background: #f8f9fa;
    padding: 60px 0;
    border-top: 1px solid #e9ecef;
}

.trailer-funders h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
    font-family: 'Cinzel', serif;
}

.funders-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.funders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.funder-name {
    padding: 12px 20px;
    background: linear-gradient(135deg, #d4af37, #c9a96e);
    color: #fff;
    text-align: center;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.funder-name:hover {
    transform: translateY(-2px);
}

/* Updated Funding Progress Section */
.funding-alert {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.funding-alert h3 {
    color: #856404;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.goal-amount {
    color: #d4af37;
    font-size: 1.4rem;
    font-weight: bold;
}

/* Director Contact Section */
.director-contact {
    background: #2c3e50;
    color: #fff;
    padding: 50px 0;
}

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

.contact-info h3 {
    margin-bottom: 15px;
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
}

.contact-info p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-item i {
    color: #d4af37;
    font-size: 1.2rem;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: #d4af37;
}

/* Responsive Design */
@media (max-width: 768px) {
    .flash-news-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .flash-text {
        font-size: 1rem;
    }
    
    .funders-list {
        margin: 0 20px;
        padding: 20px;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-item {
        justify-content: center;
    }
}