/* Welcome Quote Section */
.welcome-quote-section {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.welcome-quote-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.welcome-quote-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.6) 0%, rgba(26, 51, 16, 0.7) 100%);
    z-index: 1;
}

.welcome-quote-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.welcome-quote-title {
    font-family: 'Sora', sans-serif;
    font-size: 2.2rem !important;
    font-weight: 700;
    color: #fff8e1;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(60px) scale(0.85);
    animation: smoothFadeInUp 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    text-shadow: 
        0 0 10px rgba(45, 80, 22, 0.8),
        0 0 20px rgba(45, 80, 22, 0.6),
        2px 2px 8px rgba(0, 0, 0, 0.5),
        4px 4px 12px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.welcome-quote-title br {
    display: block;
    margin: 0.5em 0;
}

@keyframes smoothFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.85);
        filter: blur(10px);
    }
    40% {
        opacity: 0.6;
        transform: translateY(20px) scale(0.95);
        filter: blur(5px);
    }
    70% {
        opacity: 0.9;
        transform: translateY(-5px) scale(1.02);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@media (max-width: 768px) {
    .welcome-quote-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .welcome-quote-section {
        padding: 60px 20px;
    }

    .welcome-quote-title {
        font-size: 1.4rem;
    }
}

/* Mac-specific font size reduction */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    @supports (-webkit-appearance: none) and (not (transform: translateZ(0))) {
        .welcome-quote-title {
            font-size: 2rem !important;
        }
        
        @media (max-width: 768px) {
            .welcome-quote-title {
                font-size: 1.5rem !important;
            }
        }
        
        @media (max-width: 480px) {
            .welcome-quote-title {
                font-size: 1.3rem !important;
            }
        }
    }
}
