/* Fixed Deposit Page Styles */

/* Tab Navigation */
.fd-tab-btn {
    color: #6b7280;
    transition: all 0.3s ease;
}

.fd-tab-btn:hover {
    color: #1e3a8a;
    background: #f9fafb;
}

.fd-tab-btn.active {
    color: #1e3a8a;
    border-bottom-color: #fbbf24 !important;
    background: transparent;
}

/* Tab Content */
.fd-tab-content {
    animation: fadeIn 0.5s ease;
}

.fd-tab-content.hidden {
    display: none;
}

.fd-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Accordion */
.faq-accordion {
    transition: all 0.3s ease;
}

.faq-header {
    cursor: pointer;
}

.faq-header:hover {
    background: #f9fafb;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-accordion.active .faq-icon {
    transform: rotate(180deg);
}

/* FAQ Content */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-content.show {
    max-height: 1000px;
    opacity: 1;
}

/* Highlights List Animation */
.fd-tab-content ul li {
    animation: slideInLeft 0.5s ease forwards;
    opacity: 0;
}

.fd-tab-content ul li:nth-child(1) { animation-delay: 0.1s; }
.fd-tab-content ul li:nth-child(2) { animation-delay: 0.15s; }
.fd-tab-content ul li:nth-child(3) { animation-delay: 0.2s; }
.fd-tab-content ul li:nth-child(4) { animation-delay: 0.25s; }
.fd-tab-content ul li:nth-child(5) { animation-delay: 0.3s; }
.fd-tab-content ul li:nth-child(6) { animation-delay: 0.35s; }
.fd-tab-content ul li:nth-child(7) { animation-delay: 0.4s; }
.fd-tab-content ul li:nth-child(8) { animation-delay: 0.45s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Feature Icons */
.feature-icon-card {
    transition: all 0.3s ease;
}

.feature-icon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Apply Now Button */
.apply-now-btn {
    transition: all 0.3s ease;
}

.apply-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Sticky Image */
.sticky {
    position: sticky;
    top: 6rem;
}

/* Hero Section */
.hero-section h1 {
    animation: slideInLeft 0.8s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .sticky {
        position: relative;
        top: 0;
    }
    
    .fd-tab-content ul li {
        animation: none;
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .faq-header h3 {
        font-size: 0.875rem;
    }
    
    .fd-tab-btn {
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }
}

/* Focus States */
.fd-tab-btn:focus,
.faq-header:focus {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .faq-accordion.active .faq-content {
        max-height: none;
        opacity: 1;
    }
    
    .fd-tab-btn,
    .apply-now-btn {
        display: none;
    }
}