/* ── SCROLL REVEAL BASE ───────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal--left {
    transform: translateX(-40px);
}

.reveal.reveal--right {
    transform: translateX(40px);
}

.reveal.reveal--scale {
    transform: translateY(20px) scale(0.96);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── HERO ANIMATED GRADIENT ───────────────────────── */
.hero-section {
    background-size: 200% 200%;
    animation: heroShift 12s ease infinite;
}

@keyframes heroShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ── FLOATING HERO IMAGE ──────────────────────────── */
.hero-image-card {
    animation: floatCard 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}

/* ── BADGE SHIMMER ────────────────────────────────── */
.section-badge {
    position: relative;
    overflow: hidden;
}

.section-badge::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.55) 50%,
        transparent 60%
    );
    transform: translateX(-100%);
    animation: shimmer 3.5s ease-in-out infinite;
}

@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    40%, 100% { transform: translateX(200%); }
}

/* ── BENEFIT CARDS HOVER ──────────────────────────── */
.benefit-card {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    cursor: default;
}

.benefit-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 22px 50px rgba(37, 99, 235, 0.10);
    border-color: #bfdbfe;
}

.benefit-card h3 {
    transition: color 0.2s ease;
}

.benefit-card:hover h3 {
    color: #2563eb;
}

/* ── TOUR CARD 3D TILT ────────────────────────────── */
.tour-card {
    transition: box-shadow 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.tour-card.is-tilting {
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.13);
}

/* ── STORY LINES STAGGER ──────────────────────────── */
.story-lines p {
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.story-lines.is-visible p:nth-child(1) { transition-delay: 0.0s;  opacity: 1; transform: none; }
.story-lines.is-visible p:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: none; }
.story-lines.is-visible p:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: none; }
.story-lines.is-visible p:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: none; }
.story-lines.is-visible p:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: none; }
.story-lines.is-visible p:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: none; }

/* ── QUOTE SECTION ────────────────────────────────── */
.quote-box {
    position: relative;
    overflow: hidden;
}

.quote-box::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 100px;
    line-height: 1;
    color: #dbeafe;
    font-family: Georgia, serif;
    pointer-events: none;
    z-index: 0;
}
@media (max-width: 767px) {

	.quote-box::before {
		left: 20px;
	}

}
.quote-text,
.quote-author {
    position: relative;
    z-index: 1;
}

/* ── HEADER SCROLL SHRINK ─────────────────────────── */
.site-header {
    transition: box-shadow 0.3s ease, min-height 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.site-header.scrolled .nav-wrap {
    min-height: 60px;
}

/* ── FORM INLINE ERRORS ───────────────────────────── */
.form-control.is-invalid {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.form-control.is-valid {
    border-color: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.12);
}

.field-error {
    font-size: 13px;
    color: #dc2626;
    font-weight: 600;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: errorPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes errorPop {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: none; }
}

/* ── SUBMIT BUTTON LOADING STATE ──────────────────── */
#submitBtn {
    position: relative;
    transition: background 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

#submitBtn.loading {
    opacity: 0.78;
    pointer-events: none;
}

#submitBtn .btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── BTN HOVER MICRO-INTERACTION ──────────────────── */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.2s ease;
}

.btn-primary:hover::after {
    background: rgba(255,255,255,0.07);
}

/* ── SCROLL PROGRESS BAR ──────────────────────────── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* ── TOUR DATE BADGE PULSE ────────────────────────── */
.tour-date {
    position: relative;
}

.tour-date::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #2563eb;
    border-radius: 50%;
    margin-right: 7px;
    vertical-align: middle;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.7); }
}

/* ── BONUS BOX HIGHLIGHT ──────────────────────────── */

.bonus-title {
    transition: color 0.2s ease;
}

.bonus-box:hover .bonus-title {
    color: #1d4ed8;
}

/* ── SIGNUP BOX GLOW ON FOCUS ─────────────────────── */
.signup-box {
    transition: box-shadow 0.4s ease;
}

.signup-box:focus-within {
    box-shadow: 0 14px 40px rgba(37, 99, 235, 0.10), 0 0 0 1px #bfdbfe;
}