
/* FAQ Responsive Styles */
/* FAQ Grid */
.faq-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Card Style */
.faq-item {
    background: #fff;
    border-radius: 20px;
    padding: 20px 22px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: all 0.6s ease;
}

/* Animate when visible */
.faq-item.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Hover Animation */
.faq-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* Icon animation */
.faq-icon {
    font-size: 30px;
    animation: pulse 2s infinite;
}

/* Title */
.faq-title {
    font-size: 17px;
    font-weight: 600;
    margin-top: 8px;
}

/* Text */
.faq-text {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-top: 6px;
}

/* Fade glow line */
.faq-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(0,123,255,0.08), transparent);
    opacity: 0;
    transition: 0.5s;
}

.faq-item:hover::before {
    opacity: 1;
}

/* Pulse Animation */
@keyframes pulse {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-container {
        grid-template-columns: 1fr;
    }
}

/* HERO ANIMATIONS */

/* Floating effect for main image */
.featured-image {
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Arrow bounce */
#hero_header img[src*="arrow"] {
    animation: arrowBounce 2s infinite ease-in-out;
}

@keyframes arrowBounce {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Text reveal animation */
#hero_header h1,
#hero_header p,
#hero_header form,
#hero_header .vstack {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 1s ease forwards;
}

#hero_header h1 { animation-delay: .2s; }
#hero_header p { animation-delay: .4s; }
#hero_header form { animation-delay: .6s; }
#hero_header .vstack { animation-delay: .8s; }

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Input focus glow */
.form-control:focus {
    box-shadow: 0 0 0 4px rgba(0,123,255,0.15);
    transition: .3s ease;
}

/* Button wave animation */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    animation: btnWave 3s infinite;
}

@keyframes btnWave {
    to { transform: translateX(100%); }
}

/* Floating cards */
.hero-five-contries img,
.hero-five-account img {
    animation: floatBox 5s ease-in-out infinite;
}

@keyframes floatBox {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Avatars hover effect */
#hero_header img.rounded-circle {
    transition: transform 0.3s ease;
}

#hero_header img.rounded-circle:hover {
    transform: scale(1.15);
}

/* Smooth responsive */
@media (max-width: 768px) {
    .featured-image {
        animation: floatImageMobile 4s ease-in-out infinite;
    }

    @keyframes floatImageMobile {
        0%,100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }
}

/* Animated gradient background */
.hero-animated-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(120deg, #4f46e5, #06b6d4, #9333ea, #0ea5e9);
    background-size: 300% 300%;
    animation: gradientShift 10s ease infinite;
    opacity: 0.08;
    border-radius: 20px;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating particles */
.particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.particles span {
    position: absolute;
    width: 14px;
    height: 14px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    animation: floatParticles 8s linear infinite;
}

.particles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.particles span:nth-child(2) { left: 25%; animation-delay: 2s; }
.particles span:nth-child(3) { left: 40%; animation-delay: 4s; }
.particles span:nth-child(4) { left: 55%; animation-delay: 1s; }
.particles span:nth-child(5) { left: 70%; animation-delay: 3s; }
.particles span:nth-child(6) { left: 85%; animation-delay: 5s; }

@keyframes floatParticles {
    from {
        bottom: -20px;
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    to {
        bottom: 100%;
        opacity: 1;
        transform: translateY(-100vh) scale(1.2);
    }
}

/* Ensure content is above background */
#hero_header .section-inner {
    position: relative;
    z-index: 2;
}

/* 3D tilt on hero image */
.hero-scroll-scene {
    perspective: 1000px;
}

.featured-image {
    animation: floatImage 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.featured-image:hover {
    transform: rotateY(8deg) rotateX(6deg) scale(1.02);
}

/* Glow pulse shadow */
#hero_header .section-inner::after {
    content: "";
    position: absolute;
    inset: -4px;
    background: linear-gradient(90deg, #06b6d4, #8b5cf6, #ec4899);
    filter: blur(35px);
    opacity: 0.2;
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%,100% { opacity: 0.15; }
    50% { opacity: 0.4; }
}

/* Typing text effect */
.typing {
    display: inline-block;
    border-right: 2px solid #000;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 3s steps(40, end), blink .7s infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* Horizontal slide entry */
.features-item {
    position: relative;
    padding: 25px;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.features-item.show {
    opacity: 1;
    transform: translateX(0);
}

/* Magnetic hover */
.features-item:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 80px rgba(79,70,229,0.15);
}

/* Animated neon bottom line */
.features-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #4f46e5, #22d3ee, #a855f7);
    transition: 0.4s ease;
}

.features-item:hover::after {
    width: 100%;
}

/* Wavy icons */
.icon-box {
    animation: waveIcon 2.5s ease-in-out infinite;
}

@keyframes waveIcon {
    0%,100% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(4deg) translateY(-6px); }
}

/* 3D laptop float */
.expand-container img {
    animation: floatLaptop 5s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes floatLaptop {
    0%,100% { transform: translateY(0) rotateX(0deg); }
    50% { transform: translateY(-15px) rotateX(5deg); }
}

/* Responsive */
@media(max-width:768px){
    .features-item {
        transform: translateX(0);
    }
}
/* Force grid layout for equal cards */
.row.child-cols-12.sm\:child-cols-6 {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* Make direct children flexible */
.row.child-cols-12.sm\:child-cols-6 > div {
    display: flex;
}

/* Equal height card */
.features-item {
    background: #fff;
    border-radius: 16px;
    padding: 20px 18px;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;   /* Adjust if needed */
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

/* Fix icon box circle */
.features-item .icon-box {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px;
    min-height: 60px;
    border-radius: 50% !important;
}

/* Title height fixing */
.features-item .title {
    min-height: 50px;
}

/* Description auto stretch */
.features-item .desc {
    flex-grow: 1;
}
/* Kill broken grid system */
.features-fix {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

/* Make each column flex */
.features-fix > div {
    display: flex;
}

/* Card design */
.features-item {
    width: 100%;
    height: 100%;
    min-height: 320px;
    background: #fff;
    border-radius: 20px;
    padding: 24px 22px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

/* Perfect icon circle */
.features-item .icon-box {
    width: 64px !important;
    height: 64px !important;
    margin: 0 auto 10px;
}

/* Title fixes */
.features-item h3 {
    min-height: 54px;
}

/* Stretch description */
.features-item p {
    flex-grow: 1;
}


/* Grid fix – centers everything */
.features-fixs {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;   /* center the section */
    align-items: stretch;
}

/* Same height cards */
.pricing-item {
    height: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 20px !important;
    transition: all 0.35s ease;
}

/* Premium hover effect */
.pricing-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

/* Icon bounce animation */
.pricing-item:hover .icon-box {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Button animation */
.pricing-item a.btn {
    transition: all 0.3s ease;
}

.pricing-item:hover a.btn {
    transform: scale(1.05);
}

/* Fade-in animation */
.fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}