/* Flag Animation Styles */
.hero-flag-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    z-index: 10;
}

.hero-flag {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 20px 60px rgba(0, 135, 152, 0.3),
        0 0 0 8px rgba(255, 255, 255, 0.3),
        0 0 0 16px rgba(81, 208, 224, 0.2);
    animation: flagFloat 4s ease-in-out infinite;
    position: relative;
    background: #ffffff;
    border: 4px solid #ffffff;
}

.hero-flag .fi {
    font-size: 240px;
    border-radius: 0;
    margin-top: -10px;
    transform: scale(1.2);
}

.hero-flag::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
    animation: flagShine 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes flagFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

@keyframes flagShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    50%,
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.flag-orb {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #51D0E0, #008798);
    animation: orbFloat 5s ease-in-out infinite;
    box-shadow: 0 5px 20px rgba(81, 208, 224, 0.4);
    z-index: -1;
}

.flag-orb-1 {
    width: 30px;
    height: 30px;
    top: -15px;
    right: -15px;
    animation-delay: 0s;
}

.flag-orb-2 {
    width: 20px;
    height: 20px;
    bottom: 20px;
    left: -30px;
    animation-delay: 1.5s;
}

.flag-orb-3 {
    width: 15px;
    height: 15px;
    bottom: -20px;
    right: 30px;
    animation-delay: 3s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(5px, -10px) scale(1.2);
        opacity: 1;
    }
}

@media (min-width: 992px) {
    .hero-content-wrapper {
        padding-right: 3rem;
    }
}

/* REDESIGNED CTA BLOCK */
.cta-premium-box {
    position: relative;
    background: linear-gradient(135deg, #0e2a36 0%, #154556 100%);
    border-radius: 2rem;
    padding: 5rem 2rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 135, 152, 0.25);
    color: white;
}

/* Abstract background shapes for premium feel */
.cta-premium-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(81, 208, 224, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-premium-box::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(81, 208, 224, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-premium-box h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 800;
}

.cta-premium-box p.lead {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.25rem;
}

.cta-premium-box .text-highlight {
    color: #51d0e0;
}

/* Large custom buttons for this block */
.btn-cta-lg {
    padding: 1rem 3rem;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

.btn-light-glow {
    background: white;
    color: #008798;
    border: none;
}

.btn-light-glow:hover {
    background: #f8fcfd;
    color: #006d7a;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3) !important;
}

.section {
    position: relative;
}