/* SMSF Page Styles - Modern & Dynamic */

/* Hero Section Enhancements */
.home-banner {
    position: relative;
    overflow: hidden;
}

.home-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22, 213, 255, 0.05) 0%, rgba(22, 213, 255, 0.05) 100%);
    z-index: 0;
}

.home-banner .container {
    position: relative;
    z-index: 1;
}

.banner-heading span {
    color: #16d5ff;
    position: relative;
    display: inline-block;
}

.banner-heading span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #16d5ff;
    border-radius: 2px;
}

.banner-img {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

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

.banner-img::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(22, 213, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

/* Button Enhancements */
.banner-contain .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(22, 213, 255, 0.3);
}

.banner-contain .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.banner-contain .btn:hover::before {
    width: 300px;
    height: 300px;
}

.banner-contain .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 213, 255, 0.4);
}

/* Feature Box Modern Design */
.feature-box {
    position: relative;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(22, 213, 255, 0.1);
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(22, 213, 255, 0.05) 0%, rgba(22, 213, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(22, 213, 255, 0.2);
    border-color: rgba(22, 213, 255, 0.3);
}

.feature-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #16d5ff 0%, #16d5ff 100%);
    border-radius: 20px;
    transition: all 0.4s ease;
    z-index: 1;
}

.feature-box:hover .feature-icon {
    transform: rotateY(360deg);
    box-shadow: 0 10px 30px rgba(22, 213, 255, 0.4);
}

.feature-icon img {
    position: relative;
    z-index: 1;
    filter: brightness(0) invert(1);
    max-width: 40px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-box:hover .feature-title {
    color: #16d5ff;
}

.feature-des {
    position: relative;
    z-index: 1;
}

/* Section Heading Enhancements */
.section-heading {
    position: relative;
}

.section-heading .sub-heading {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(22, 213, 255, 0.1) 0%, rgba(22, 213, 255, 0.1) 100%);
    border-radius: 50px;
    color: #16d5ff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    margin-bottom: 15px;
}

.section-heading .heading-title {
    position: relative;
    display: inline-block;
}

/* Work Process Image Animation */
.rotation-img {
    animation: slowRotate 20s linear infinite;
}

@keyframes slowRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.work-box {
    position: relative;
    z-index: 1;
}

.work-box-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(22, 213, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* Check List Styling */
.check-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
}

.check-list li span {
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #16d5ff 0%, #16d5ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.check-list li:hover span {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 5px 15px rgba(22, 213, 255, 0.4);
}

/* FAQ Tab Enhancements */
.faq-part .row {
    display: flex;
    flex-wrap: wrap;
}

.faq-part .col-md-6 {
    display: flex;
    flex-direction: column;
}

.faq-tab {
    position: relative;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    border: 2px solid rgba(22, 213, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.faq-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #16d5ff 0%, #16d5ff 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.faq-tab:hover::before {
    transform: scaleY(1);
}

.faq-tab:hover {
    border-color: rgba(22, 213, 255, 0.3);
    box-shadow: 0 10px 30px rgba(22, 213, 255, 0.15);
    transform: translateX(5px);
}

.qus-title {
    font-weight: 600;
    font-size: 18px;
    color: #2d3748;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 30px;
}

.qus-title::before {
    content: '?';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #16d5ff 0%, #16d5ff 100%);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.faq-tab:hover .qus-title {
    color: #16d5ff;
}

/* Stats Counter Animation */
.stats-card {
    position: relative;
    padding: 40px 30px;
    background: linear-gradient(135deg, #16d5ff 0%, #16d5ff 100%);
    border-radius: 20px;
    color: #fff;
    overflow: hidden;
    transition: all 0.4s ease;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

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

.stats-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(22, 213, 255, 0.4);
}

/* Glassmorphism Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #16d5ff 0%, #16d5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Section Enhancement */
.ico-apps {
    position: relative;
    overflow: hidden;
}

.ico-apps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22, 213, 255, 0.03) 0%, rgba(22, 213, 255, 0.03) 100%);
    z-index: 0;
}

.ico-apps .container {
    position: relative;
    z-index: 1;
}

/* Risk Disclosure Enhancement */
.work-des strong {
    color: #16d5ff;
    font-weight: 600;
}

/* Responsive Animations */
@media (max-width: 768px) {
    .banner-img {
        animation: none;
    }

    .feature-box:hover {
        transform: translateY(-5px);
    }

    .rotation-img {
        animation: slowRotate 30s linear infinite;
    }

    .faq-part .col-md-6 {
        margin-bottom: 0;
    }

    .faq-tab {
        height: auto;
        min-height: 200px;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-size: 1000px 100%;
}

/* Hover Effects for Images */
.feature-box img,
.work-box img {
    transition: transform 0.4s ease;
}

.feature-box:hover img {
    transform: scale(1.05);
}

/* Particle Effect Background */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(22, 213, 255, 0.3);
    border-radius: 50%;
    animation: rise 15s infinite ease-in;
}

@keyframes rise {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* Stagger Animation Delays */
.feature-box:nth-child(1) { animation-delay: 0.1s; }
.feature-box:nth-child(2) { animation-delay: 0.2s; }
.feature-box:nth-child(3) { animation-delay: 0.3s; }
.feature-box:nth-child(4) { animation-delay: 0.4s; }
.feature-box:nth-child(5) { animation-delay: 0.5s; }
.feature-box:nth-child(6) { animation-delay: 0.6s; }