/* ============================================================
   style.css — Finplanexpert Global Stylesheet
   Shared across: index.html, about.html, services.html, contact.html
   ============================================================ */

/* ─── Base ─── */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

/* ─── Swiper Pagination ─── */
.swiper-pagination-bullet {
    background: #10b981;
    opacity: 0.3;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    background: #10b981;
    opacity: 1;
    border-radius: 12px;
    width: 24px;
}

/* ─── Auto Image Slider (used on about.html) ─── */
.slider-track {
    display: flex;
    width: 300%;
    height: 100%;
    animation: autoSlide 15s infinite ease-in-out;
}

.slide-item {
    width: 33.333%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes autoSlide {
    0%,  25%  { transform: translateX(0); }
    33%, 58%  { transform: translateX(-33.333%); }
    66%, 91%  { transform: translateX(-66.666%); }
    100%      { transform: translateX(0); }
}

/* ─── Marquee ─── */
.marquee-track {
    display: inline-flex;
    gap: 3rem;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    white-space: nowrap;
    animation: marqueeScroll 20s linear infinite;
    padding-left: 3rem;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ─── Accordion ─── */
.acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.acc-content.open {
    max-height: 600px;
}

.acc-btn.open .acc-icon {
    transform: rotate(45deg);
    background: #0f172a;
    color: #10b981;
}

/* ─── Scrollbar Hide ─── */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ─── Dashed Circle Decoration ─── */
.green-deco::after {
    content: '';
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    border: 2px dashed rgba(0, 0, 0, 0.25);
    border-radius: 50%;
}

/* ─── Testimonials Swiper Shadow Overflow (index.html) ─── */
.testimonials-swiper {
    padding: 20px 20px 60px 20px !important;
    margin: -20px -20px 0 -20px !important;
}

/* ─── Contact Form Rocket Animation (contact.html) ─── */
@keyframes flyOutRocket {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1; }
    20%  { transform: translate(-10px, 10px) rotate(-10deg) scale(0.9); }
    100% { transform: translate(100vw, -100vh) rotate(45deg) scale(3); opacity: 0; }
}

.rocket-fly {
    position: fixed !important;
    z-index: 99999;
    animation: flyOutRocket 1.2s cubic-bezier(0.5, 0, 0.2, 1) forwards;
    pointer-events: none;
}

.smoke-particle {
    position: fixed !important;
    z-index: 99998;
    width: 12px;
    height: 12px;
    background: #cbd5e1;
    border-radius: 50%;
    pointer-events: none;
    animation: smokeFade 0.7s ease-out forwards;
}

@keyframes smokeFade {
    0%   { transform: scale(0.5); opacity: 0.8; }
    100% { transform: scale(3) translate(-10px, 15px); opacity: 0; filter: blur(3px); }
}

/* ─── Contact Success Popup (contact.html) ─── */
#successPopup {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -20px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#successPopup.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) scale(1);
}
