/* Splash Page Specific Styles */

/* Page-wide zoom out by 25% */
body {
    transform: scale(0.75);
    transform-origin: top center;
    width: 100%;
    overflow-x: hidden;
}

/* Hero Video Styling - Compact Width */
#hero iframe {
    max-width: 75%;
    width: 100%;
    height: 450px;
    margin: 80px auto;
    display: block;
    border-radius: 20px;
}

/* Hero Description Styling */
.hero-description {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    color: var(--secondary);
    max-width: 900px;
    margin: 2rem auto;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    backdrop-filter: blur(15px);
    border-radius: 24px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.08),
        0 5px 15px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    text-align: justify;
    font-weight: 500;
}

.ministry-highlight {
    color: inherit;
    font-weight: 700;
    position: relative;
    padding: 0 0.15rem;
    z-index: 1;
}

.ministry-highlight::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.08rem;
    width: 100%;
    height: 0.35rem;
    background: var(--secondary-light);
    border-radius: 999px;
    z-index: -1;
}



.hero-description br {
    display: block;
    margin: 1.5rem 0;
    content: "";
}

/* Demo CTA Styling */
.demo-cta {
    margin: 2rem auto;
    max-width: 900px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.demo-cta p {
    font-size: var(--font-size-base);
    color: var(--secondary);
    margin: 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(124, 58, 237, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(79, 70, 229, 0.1);
    position: relative;
    overflow: hidden;
    animation: pulse-glow 3s ease-in-out infinite;
}

.demo-cta p::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.1), transparent);
    animation: shimmer 2.5s ease-in-out infinite;
}

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 
            0 4px 15px rgba(79, 70, 229, 0.1),
            0 0 0 1px rgba(79, 70, 229, 0.1);
    }
    50% {
        box-shadow: 
            0 8px 25px rgba(79, 70, 229, 0.15),
            0 0 0 1px rgba(79, 70, 229, 0.2);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}


.demo-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    display: inline-block;
}

.demo-link::after {
    content: "→";
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.demo-link:hover {
    color: var(--primary-dark);
    background: rgba(79, 70, 229, 0.1);
    transform: translateY(-1px);
}

.demo-link:hover::after {
    transform: translateX(3px);
}

/* Secondary Demo CTA Styling - For Different Background */
.demo-cta-secondary {
    margin: 2rem auto;
    max-width: 900px;
    text-align: center;
    animation: slideInFromRight 0.8s ease-out;
}

.demo-cta-secondary p {
    font-size: var(--font-size-lg);
    color: var(--dark);
    margin: 0;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(79, 70, 229, 0.2);
    position: relative;
    overflow: hidden;
    animation: float-gentle 4s ease-in-out infinite;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    font-weight: 600;
}


.demo-link-secondary {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.demo-link-secondary::after {
    content: "→";
    margin-left: 0.75rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    font-weight: bold;
}

.demo-link-secondary:hover {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(79, 70, 229, 0.3),
        0 0 0 1px rgba(79, 70, 229, 0.4);
}

.demo-link-secondary:hover::after {
    transform: translateX(5px) scale(1.1);
}

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

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

@keyframes gradient-flow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes professional-bounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-2px) rotate(-2deg);
    }
    75% {
        transform: translateY(-1px) rotate(2deg);
    }
}

/* Video Container Styling */
.video-container {
    margin: 3rem 0;
    position: relative;
    z-index: 1;
}

.video-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    z-index: 2;
}

.video-wrapper iframe {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 2px solid rgba(124, 58, 237, 0.1);
}

.video-wrapper iframe:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(124, 58, 237, 0.3);
}

/* Professional Video Caption Styling */
.video-caption {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin: 0 auto 2rem auto;
    max-width: 400px;
    text-align: center;
    position: relative;
    z-index: 3;
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(124, 58, 237, 0.1);
    overflow: hidden;
}

.video-caption::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.video-caption::after {
    content: "▶";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    box-shadow: 0 3px 8px rgba(124, 58, 237, 0.3);
    animation: pulse-play 2s ease-in-out infinite;
}

@keyframes pulse-play {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 3px 8px rgba(124, 58, 237, 0.3);
    }
    50% {
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
    }
}

.video-caption h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    position: relative;
}

.video-caption h4::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    opacity: 0.7;
}

.video-caption p {
    font-size: 0.9rem;
    color: var(--secondary);
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
    position: relative;
    padding: 0 0.25rem;
}

.video-caption p::before {
    content: "✨";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.7;
    animation: sparkle 2s ease-in-out infinite;
}

.video-caption p::after {
    content: "✨";
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.7;
    animation: sparkle 2s ease-in-out infinite 1s;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.7;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.2);
    }
}

/* Feature Testimonial Styling */
.feature-testimonial {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 250, 252, 0.8));
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(79, 70, 229, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.feature-testimonial::before {
    content: "\201C";
    position: absolute;
    top: 0.75rem;
    left: 1rem;
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.4;
    font-family: serif;
    line-height: 1;
}

.testimonial-quote {
    font-size: var(--font-size-sm);
    color: var(--dark);
    font-style: italic;
    line-height: var(--line-height-relaxed);
    margin: 0 0 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    font-weight: 500;
}

.testimonial-author {
    font-size: var(--font-size-sm);
    color: var(--secondary);
    font-weight: 600;
    margin: 0;
    text-align: right;
    padding-right: 0.5rem;
}

/* CTA Container Spacing Fix */
.cta-container {
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-description {
        font-size: var(--font-size-base);
        padding: 2rem 2.5rem;
        margin: 1.5rem auto;
        max-width: 95%;
    }
    
    .demo-cta {
        max-width: 95%;
    }
    
    .demo-cta p {
        padding: 1.25rem 1.5rem;
        font-size: var(--font-size-sm);
    }
    
    .demo-cta-secondary {
        max-width: 95%;
    }
    
    .demo-cta-secondary p {
        padding: 1.5rem 2rem;
        font-size: var(--font-size-base);
    }
    
    .feature-testimonial {
        padding: 1rem 1.25rem;
        margin-top: 1.25rem;
    }
    
    .testimonial-quote {
        font-size: var(--font-size-sm);
        padding-left: 1.5rem;
    }
    
    .feature-testimonial::before {
        font-size: 2rem;
        top: 0.5rem;
        left: 0.75rem;
    }
    
    
    .video-caption {
        padding: 0.875rem 1.25rem;
        margin: 0 1rem 1.5rem 1rem;
        border-radius: 10px;
        max-width: 350px;
    }
    
    .cta-container {
        margin-top: 1.5rem;
    }
    
    .video-caption h4 {
        font-size: 1.2rem;
        margin-bottom: 0.375rem;
    }
    
    .video-caption p {
        font-size: 0.85rem;
        padding: 0 0.125rem;
    }
    
    .video-wrapper iframe {
        width: 90% !important;
        height: 300px !important;
    }
    
    #hero iframe {
        max-width: 90%;
        height: 300px;
        margin: 50px auto;
    }
}

@media (max-width: 480px) {
    .hero-description {
        font-size: var(--font-size-sm);
        padding: 1.75rem 2rem;
        margin: 1.25rem auto;
        max-width: 98%;
        line-height: 1.6;
    }
    
    .demo-cta {
        max-width: 98%;
    }
    
    .demo-cta p {
        padding: 1rem 1.25rem;
        font-size: var(--font-size-sm);
    }
    
    .demo-cta-secondary {
        max-width: 98%;
    }
    
    .demo-cta-secondary p {
        padding: 1.25rem 1.5rem;
        font-size: var(--font-size-sm);
    }
    
    .feature-testimonial {
        padding: 0.875rem 1rem;
        margin-top: 1rem;
    }
    
    .testimonial-quote {
        font-size: var(--font-size-sm);
        padding-left: 1.25rem;
    }
    
    .feature-testimonial::before {
        font-size: 1.75rem;
        top: 0.375rem;
        left: 0.5rem;
    }
    
    
    .video-caption {
        padding: 0.75rem 1rem;
        margin: 0 0.5rem 1.25rem 0.5rem;
        max-width: 320px;
    }
    
    .cta-container {
        margin-top: 1.25rem;
    }
    
    .video-caption h4 {
        font-size: 1.1rem;
        margin-bottom: 0.375rem;
    }
    
    .video-caption p {
        font-size: 0.8rem;
        padding: 0;
    }
    
    .video-caption::after {
        width: 22px;
        height: 22px;
        font-size: 9px;
        top: -10px;
    }
    
    #hero iframe {
        max-width: 95%;
        height: 250px;
        margin: 40px auto;
    }
}
