/*
Theme Name: Flyer Zone Global Exchange
Theme URI: https://example.com/flyer-zone-global-exchange
Author: Codex
Author URI: https://example.com
Description: WordPress theme converted from the Flyer Zone Global Cultural Exchange Programs landing page.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-logo, custom-menu, featured-images, full-width-template
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: flyerzone-global-exchange
*/

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

body {
    font-family: "Inter", sans-serif;
    background: linear-gradient(145deg, #e9f2ff 0%, #d9e8ff 100%);
    color: #0a2540;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.blue-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, #004e9e, #002b5c);
    z-index: -2;
}

.blue-gradient-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800" opacity="0.15"><path fill="%233366ff" d="M0 0 L800 0 L800 800 L0 800 Z" /><circle cx="200" cy="200" r="180" fill="%234477dd" /><circle cx="650" cy="550" r="220" fill="%232266cc" /><circle cx="400" cy="700" r="140" fill="%235588ee" /></svg>') no-repeat center/cover;
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 37, 64, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}

.site-title {
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: -0.2px;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #6ab0ff;
}

.contact-btn {
    background: #2b6ef0;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    font-weight: 600;
}

.contact-btn:hover {
    background: #1a5ad9;
    color: #fff;
}

.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 70vh;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 560px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.2, 0.9, 0.4, 1);
    background-size: cover;
    background-position: center 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.slide.active {
    opacity: 1;
    z-index: 2;
    position: relative;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 35, 70, 0.7), rgba(0, 70, 140, 0.5));
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 2rem;
    animation: fadeUp 0.9s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.slide-btn {
    background: #fff;
    color: #004e9e;
    padding: 0.8rem 2rem;
    border-radius: 60px;
    font-weight: 700;
    display: inline-block;
    margin-top: 1.2rem;
    text-decoration: none;
    transition: 0.2s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.slide-btn:hover {
    transform: scale(1.03);
    background: #f0f5ff;
}

.slider-nav {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s;
}

.slider-dot.active {
    background: #fff;
    width: 28px;
}

.cards-section {
    padding: 5rem 2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    margin: 2rem 0;
    border-radius: 48px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 40px -15px rgba(0, 64, 128, 0.25);
}

.card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover img {
    transform: scale(1.02);
}

.card-content {
    padding: 1.5rem;
}

.card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #002b5c;
}

.about-modern {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-modern img {
    width: 100%;
    max-width: 380px;
    border-radius: 48px;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.15);
}

.about-text h3 {
    color: #004e9e;
    font-weight: 600;
    letter-spacing: 1px;
}

.about-text h2 {
    font-size: 2.4rem;
    margin: 0.5rem 0 1rem;
}

.about-text p {
    line-height: 1.7;
}

.programs-wrap {
    background: rgba(0, 35, 70, 0.85);
    backdrop-filter: blur(12px);
    padding: 5rem 2rem;
    margin: 3rem 0;
    border-radius: 64px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.program-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 32px;
    padding: 2rem;
    text-align: center;
    transition: 0.2s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.program-card i {
    font-size: 2.8rem;
    color: #2b6ef0;
    margin-bottom: 1rem;
}

.program-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.program-card p {
    line-height: 1.6;
}

.testimonial-section {
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 64px;
    margin: 2rem 0;
}

.testimonial-card {
    background: #fff;
    border-radius: 32px;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 15px 30px rgba(0, 90, 200, 0.1);
    }

    100% {
        box-shadow: 0 25px 45px rgba(0, 120, 255, 0.3);
    }
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 2rem auto;
}

.faq-item {
    background: #fff;
    border-radius: 28px;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    transition: 0.2s;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.1rem;
}

.faq-answer {
    margin-top: 0.8rem;
    color: #2c3e66;
    display: none;
}

.faq-answer.show {
    display: block;
}

.cta-block {
    background: linear-gradient(120deg, #003b7a, #0066cc);
    border-radius: 48px;
    text-align: center;
    padding: 3rem;
    color: #fff;
    margin: 3rem 0;
}

.cta-btn {
    background: #fff;
    color: #004e9e;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.content-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.entry-title {
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.entry-content > * + * {
    margin-top: 1rem;
}

footer {
    background: #0a2540;
    color: #bcd0f0;
    padding: 2rem;
    text-align: center;
    border-top: 2px solid #2b6ef0;
}

footer p + p {
    margin-top: 0.5rem;
}

@media (max-width: 780px) {
    .cards-grid,
    .programs-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .nav-container {
        justify-content: center;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}
