/* Global Styles */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #1e40af;
    --primary-dark: #172554;
    --accent-color: #dbbf00;
    --light-color: #f8fafc;
    --dark-color: #0f172a;
    --gray-color: #64748b;
    --subtle-gray: #f1f5f9;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(30, 58, 138, 0.15);
    --border-radius: 8px;
    --recommendation-color: #1e3a8a;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #334155;
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.7;
    font-weight: 400;
    background-color: #ffffff;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn {
    border-radius: 4px;
    padding: 12px 28px;
    font-weight: 600;
    transition: var(--transition);
    letter-spacing: 0.3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.btn-outline-light {
    border: 2px solid #fff;
    font-weight: 600;
}

.btn-outline-light:hover {
    background-color: #fff;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
}

.heading-line {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin-bottom: 20px;
    border-radius: 2px;
}

.heading-line.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.display-5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.8;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--subtle-gray) !important;
}

/* Top Bar */
.top-bar {
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar i {
    font-size: 0.8rem;
}

.top-bar .social-icons .list-inline-item {
    margin-right: 10px;
}

.top-bar .social-icons a {
    width: 28px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.top-bar .social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    padding: 15px 0;
    transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 10px 15px !important;
    font-size: 0.95rem;
    transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #fff;
}

.navbar-dark .navbar-nav .dropdown-toggle::after {
    vertical-align: middle;
    margin-left: 5px;
}

.dropdown-menu {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    margin-top: 10px;
    min-width: 200px;
}

.dropdown-item {
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-color);
    transition: var(--transition);
}

.dropdown-item:hover, 
.dropdown-item:focus {
    background-color: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
}

.btn-message {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.btn-message:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-message img {
    height: 22px;
    width: auto;
}

/* Modern Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 80px 0 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    opacity: 0.1;
}

.hero-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, var(--primary-color) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--secondary-color) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, var(--accent-color) 0%, transparent 50%);
    opacity: 0.03;
}

.hero-badge {
    display: inline-block;
}

.badge-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark-color);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-color);
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
    padding-right: 2rem;
    border-right: 2px solid #e5e7eb;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-color);
    margin: 0;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    padding: 15px 30px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
    color: white;
}

.btn-hero-secondary {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 13px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Hero Image Section */
.hero-image-wrapper {
    position: relative;
    height: 500px;
    margin-top: 50px;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.hero-decoration-1 {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    top: -20px;
    left: -20px;
    z-index: -1;
    opacity: 0.3;
}

.hero-decoration-2 {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    border-radius: 50%;
    bottom: -30px;
    right: -30px;
    z-index: -1;
    opacity: 0.2;
}

/* Hero Stat Cards */
.hero-stat-card {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 180px;
}

.stat-card-1 {
    top: 50px;
    right: -30px;
}

.stat-card-2 {
    bottom: 80px;
    left: -30px;
}

.stat-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stat-content h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 2px 0;
}

.stat-content p {
    font-size: 0.813rem;
    color: var(--gray-color);
    margin: 0;
    white-space: nowrap;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s ease-in-out infinite;
}

.mouse-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.875rem;
    color: var(--gray-color);
    margin: 0;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 25px;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .stat-item {
        text-align: center;
        padding: 0 1rem;
        border-right: none;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        text-align: center;
    }
}

/* Form elements */
.form-control, .form-select {
    padding: 14px 18px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    font-size: 0.95rem;
    box-shadow: none;
    height: auto;
    background-color: white;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 51, 102, 0.15);
    border-color: rgba(0, 51, 102, 0.3);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--dark-color);
}

.form-floating label {
    padding: 1rem 1.25rem;
}

.form-floating > .form-control, 
.form-floating > .form-select {
    height: calc(3.5rem + 2px);
    padding: 1.25rem 1rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Bank Rates Slider */
.bank-rates-section {
    padding: 30px 0;
    background-color: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

.bank-rates-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.rate-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 110px;
    transition: var(--transition);
    border: 1px solid #eef0f5;
    margin: 10px 5px;
}

.rate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 51, 102, 0.1);
}

.rate-bank {
    display: flex;
    align-items: center;
}

.rate-bank img {
    height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-right: 20px;
}

.rate-bank div {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.05rem;
}

.rate-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: auto;
    background-color: rgba(0, 51, 102, 0.05);
    padding: 8px 20px;
    border-radius: 30px;
    text-align: center;
    transition: var(--transition);
}

.rate-item:hover .rate-value {
    background-color: rgba(0, 51, 102, 0.1);
}

.rate-value .term {
    font-size: 0.8rem;
    color: var(--gray-color);
    display: block;
    text-align: center;
    font-weight: 500;
    margin-top: 3px;
}

.loading-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom Swiper Navigation */
.ratesSwiper .swiper-button-next,
.ratesSwiper .swiper-button-prev {
    color: var(--primary-color);
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
    transition: var(--transition);
}

.ratesSwiper .swiper-button-next:hover,
.ratesSwiper .swiper-button-prev:hover {
    opacity: 1;
    background-color: var(--primary-color);
    color: white;
}

.ratesSwiper .swiper-button-next:after,
.ratesSwiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

/* Services Section */
.icon-box {
    height: 90px;
    width: 90px;
    margin: 0 auto;
    background-color: rgba(0, 51, 102, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.service-card {
    transition: var(--transition);
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
    border: 1px solid #eef0f5 !important;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow) !important;
}

.service-card:hover .icon-box {
    background-color: var(--primary-color);
    transform: rotateY(360deg);
    transition: transform 0.8s, background-color 0.3s;
}

.service-card:hover .icon-box i {
    color: white !important;
}

.service-card .card-body {
    padding: 30px;
}

.service-card .btn-link {
    text-decoration: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
}

.service-card .btn-link i {
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.service-card:hover .btn-link i {
    transform: translateX(5px);
}

/* Bank Offers Cards */
.bank-offer-card {
    border: 1px solid #eef0f5;
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
    background-color: white;
}

.bank-offer-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow) !important;
}

.bank-logo {
    max-height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
}

.rate-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    font-weight: bold;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 1.1rem;
    z-index: 1;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.rates-table {
    width: 100%;
    margin-bottom: 25px;
    border-collapse: separate;
    border-spacing: 0;
}

.rates-table th, .rates-table td {
    padding: 10px 12px;
    text-align: center;
    border: 1px solid #eef0f5;
}

.rates-table th {
    background-color: rgba(0, 51, 102, 0.05);
    font-weight: 600;
    color: var(--dark-color);
}

.rates-table th:first-child {
    border-top-left-radius: 8px;
}

.rates-table th:last-child {
    border-top-right-radius: 8px;
}

.rates-table td.best-rate {
    font-weight: bold;
    color: var(--primary-color);
    background-color: rgba(0, 51, 102, 0.05);
}

/* Term Selector */
.term-selector {
    display: flex;
    flex-wrap: wrap;
}

.term-btn {
    min-width: 110px;
    transition: all 0.3s ease;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 12px 20px;
    border-width: 2px;
    font-weight: 500;
}

.term-btn.active {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

/* Accordion */
.accordion-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #eef0f5;
}

.accordion-button {
    background-color: #fff;
    padding: 20px 25px;
    font-weight: 600;
    border-radius: var(--border-radius) !important;
    color: var(--dark-color);
}

.accordion-button:not(.collapsed) {
    background-color: #fff;
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #eef0f5;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236366f1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button .fa-plus-circle {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.accordion-button:not(.collapsed) .fa-plus-circle {
    transform: rotate(45deg);
}

.accordion-body {
    padding: 20px 25px;
}

/* Feature List */
.feature-list li {
    padding-left: 10px;
    position: relative;
    padding-bottom: 12px;
    font-size: 1.05rem;
}

.feature-list li i {
    margin-right: 10px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Contact Section */
.contact-info {
    border-radius: var(--border-radius);
    height: 100%;
    padding: 40px 30px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: var(--dark-color);
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
}

/* Extended contact form */
.card.shadow-lg {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.form-section {
    margin-bottom: 1.5rem;
}

.form-section-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eef0f5;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-brand {
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: var(--border-radius);
}

.footer-logo {
    filter: brightness(0) invert(1);
    height: 40px;
    width: auto;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white !important;
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
    font-size: 0.95rem;
}

.footer-links a::before {
    content: '›';
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--accent-color);
    font-size: 18px;
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white !important;
    text-decoration: none;
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
}

.footer-contact li i {
    margin-top: 5px;
    color: var(--accent-color);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-5px);
}

/* Notification */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.notification {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    margin-bottom: 15px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 350px;
    display: flex;
    align-items: center;
}

.notification.success {
    border-left: 4px solid #0891b2;
}

.notification.error {
    border-left: 4px solid #dc2626;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification i {
    margin-right: 12px;
    font-size: 20px;
}

.notification.success i {
    color: #0891b2;
}

.notification.error i {
    color: #dc2626;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInUp {
    animation-name: fadeInUp;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive Styling */
@media (max-width: 1199px) {
    .hero-section h1 {
        font-size: 3rem;
    }
}

@media (max-width: 991px) {
    .hero-section .min-vh-100 {
        padding-top: 100px;
        padding-bottom: 50px;
        min-height: auto !important;
    }
    
    .hero-section .swiper-slide {
        height: auto;
        min-height: 100vh;
    }
    
    .service-card {
        margin-bottom: 30px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .navbar .nav-link::after {
        display: none;
    }
    
    .hero-section .col-md-6,
    .hero-section .col-md-5 {
        text-align: center;
    }
    
    .hero-section .btn {
        margin-bottom: 30px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .heading-line {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Animations for content */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* LazyLoad */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lazy.loaded {
    opacity: 1;
}

/* Bank Slider */
.bank-slider-container {
    position: relative;
    padding: 10px 0 40px;
}

.bankSwiper {
    padding: 20px 40px;
}

.bankSwiper .swiper-button-next,
.bankSwiper .swiper-button-prev {
    color: white;
    background-color: var(--primary-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.bankSwiper .swiper-button-next:hover,
.bankSwiper .swiper-button-prev:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.bankSwiper .swiper-button-next:after,
.bankSwiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

/* Bank Card - Modern Compact Design */
.bank-card-modern {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bank-card-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #3b82f6;
}

/* Top Badge */
.bank-card-modern .top-badge {
    position: absolute;
    top: -8px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: white;
    border: 2px solid #fbbf24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 1;
}

/* Card Top Section */
.bank-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bank-logo-wrapper {
    width: 50px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bank-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bank-fallback {
    width: 40px;
    height: 40px;
    background: #e0e7ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3730a3;
    font-size: 18px;
}

.bank-info {
    flex: 1;
}

.bank-info .bank-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
}

.bank-info .bank-location {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.bank-info .bank-location i {
    font-size: 0.625rem;
    color: #3b82f6;
}

/* Rate Display */
.rate-display {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
}

.rate-display .rate-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e40af;
    line-height: 1;
}

.rate-display .rate-period {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* Bank Details Mini */
.bank-details-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.detail-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.detail-mini .detail-label {
    font-size: 0.7rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.detail-mini .detail-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
}

.detail-mini .detail-value.profit {
    color: #10b981;
}

/* Apply Button Mini */
.btn-apply-mini {
    background: #1e40af;
    color: white;
    border: none;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-apply-mini:hover {
    background: #1e3a8a;
    transform: translateY(-1px);
}

.btn-apply-mini i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.btn-apply-mini:hover i {
    transform: translateX(2px);
}

/* Legacy styles for compatibility */
.bank-card {
    display: none;
}

.bank-card-badge {
    display: none;
}

.bank-card-header {
    display: none;
}

.bank-card-rate {
    display: none;
}

.bank-card-term {
    display: none;
}

.bank-card-country {
    display: none;
}

.bank-card-button {
    display: none;
}

/* Enhanced section styling */
.section-bg-gradient {
    background: linear-gradient(135deg, #f9fafc 0%, #edf2f7 100%);
}

.section-divider {
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    width: 100%;
    margin: 0;
    padding: 0;
}

.section-overlap {
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

/* Custom shadow elements */
.shadow-custom {
    box-shadow: var(--box-shadow);
}

.shadow-lg {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Image styling */
.img-hover-zoom {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.img-hover-zoom img {
    transition: transform 0.5s ease;
}

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

.rounded-custom {
    border-radius: var(--border-radius);
}

/* Enhanced forms */
.form-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: none;
}

.form-card .card-header {
    padding: 25px 30px;
    background: var(--primary-color);
    color: white;
    border-bottom: none;
}

.form-card .card-header h3 {
    margin-bottom: 0;
    color: white;
}

.form-card .card-body {
    padding: 30px;
} 

/* Detailed form styling */
.custom-form .form-group {
    margin-bottom: 1.5rem;
}

.custom-form label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--dark-color);
}

.custom-form .form-control,
.custom-form .form-select {
    padding: 12px 15px;
    height: auto;
    border-radius: var(--border-radius);
    border: 1px solid #e0e0e0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.custom-form .form-control:focus,
.custom-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 51, 102, 0.15);
}

.custom-form .input-group-text {
    background-color: #f9fafc;
    border-color: #e0e0e0;
    color: var(--gray-color);
}

.custom-form .form-text {
    color: var(--gray-color);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Bank logo placeholder */
.bank-logo-placeholder {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.rate-item:hover .bank-logo-placeholder {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

/* Header Styling - Corporate Design */
.bg-primary-dark {
    background-color: var(--primary-dark);
}

/* Bank logo container */
.bank-logo-container {
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #fff;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.bank-logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.bank-logo-container:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Rate Value with bold styling */
.rate-value.mb-md-0.fw-bold {
    font-weight: 700 !important;
    margin-bottom: 0 !important;
}

/* Bank info card in modal */
.bank-info-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.selected-bank-details {
    padding: 10px;
}

.bank-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.detail-label {
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-bottom: 5px;
    font-weight: 500;
}

.detail-value {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Modal customization */
.modal-header.bg-primary {
    border-bottom: none;
}

.modal-dialog {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: none;
    padding: 1rem 2rem 2rem;
}

/* Update h3 on blue background to be white */
.bg-primary h3 {
    color: #fff;
}

/* Enhanced Banking Dashboard Styles */
.bg-gradient-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #2563eb 100%);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #dc2626 0%, #dc2626 50%, #f87171 100%);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.dashboard-stats-card {
    border: none;
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.dashboard-stats-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.card-header.bg-primary,
.card-header.bg-success,
.card-header.bg-info {
    border: none;
    border-radius: 8px 8px 0 0;
}

.card-header.bg-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #2563eb 100%) !important;
    border: none;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.card-header.bg-success {
    background: linear-gradient(135deg, #0284c7 0%, #0891b2 50%, #22d3ee 100%) !important;
    border: none;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.card-header.bg-info {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 50%, #67e8f9 100%) !important;
    border: none;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

.card-header.bg-light {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%) !important;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b !important;
    font-weight: 600;
}

.card-header.bg-light h4,
.card-header.bg-light h5 {
    color: #1e293b !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.festgeld-progress .progress {
    height: 14px;
    border-radius: 7px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.festgeld-progress .progress-bar {
    border-radius: 7px;
    background: linear-gradient(90deg, #0284c7 0%, #0891b2 50%, #22d3ee 100%);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.4);
}

.earnings-projection {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #bae6fd 100%) !important;
    border: 1px solid #0ea5e9;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.1);
}

.detail-item {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 6px;
    margin-bottom: 8px;
    transition: var(--transition);
}

.detail-item:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.security-status .fas.fa-check-circle {
    color: #0891b2 !important;
    text-shadow: 0 1px 3px rgba(16, 185, 129, 0.3);
}

.calculator-form .form-control-lg,
.calculator-form .form-select-lg {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: var(--transition);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.calculator-form .form-control-lg:focus,
.calculator-form .form-select-lg:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    background: #ffffff;
}

.calculator-result {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #bae6fd 100%) !important;
    border: 1px solid #0ea5e9;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.15);
}

.calculator-result .bg-white {
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.calculator-result .bg-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
    border-color: #2563eb;
}

.calculator-result .bg-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #2563eb 100%) !important;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

/* Enhanced Withdrawal Page Styles */
.balance-card {
    border: none;
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.balance-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.quick-amount {
    transition: var(--transition);
    border: 2px solid #e2e8f0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    font-weight: 600;
}

.quick-amount:hover,
.quick-amount.active {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%) !important;
    border-color: #1e3a8a !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

.input-group-lg .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 8px 0 0 8px;
    transition: var(--transition);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.input-group-lg .input-group-text {
    border: 2px solid #e2e8f0;
    border-left: none;
    border-radius: 0 8px 8px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    font-weight: 700;
    color: #1e3a8a;
}

.input-group-lg .form-control:focus {
    border-color: #2563eb;
    box-shadow: none;
    background: #ffffff;
}

.input-group-lg .form-control:focus + .input-group-text {
    border-color: #2563eb;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.account-summary {
    padding: 15px 0;
}

.security-features .fas {
    color: #0891b2 !important;
    text-shadow: 0 1px 3px rgba(16, 185, 129, 0.3);
}

/* Enhanced Card Styles */
.card.border-0 {
    border: 1px solid rgba(59, 130, 246, 0.1) !important;
    transition: var(--transition);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.card.border-0:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3) !important;
}

/* Enhanced Button Styles */
.btn-outline-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    border-color: #1e3a8a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.4);
}

.btn-outline-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #dc2626 100%);
    border-color: #dc2626;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

.btn-outline-secondary:hover {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    border-color: #4b5563;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(75, 85, 99, 0.4);
}

.btn-outline-info:hover {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    border-color: #0891b2;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(8, 145, 178, 0.4);
}

.btn-outline-success:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
    border-color: #0284c7;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4);
}

/* Enhanced Alert Styles */
.alert {
    border: none;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left: 4px solid;
}

.alert-success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
    color: #065f46;
    border-left-color: #0891b2;
}

.alert-danger {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 50%, #fca5a5 100%);
    color: #991b1b;
    border-left-color: #dc2626;
}

.alert-info {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #bae6fd 100%);
    color: #0c4a6e;
    border-left-color: #0ea5e9;
}

/* Breadcrumb Styles */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.5);
    font-weight: bold;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: white;
}

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid {
    border-color: #0891b2;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Responsiveness for Dashboard */
@media (max-width: 768px) {
    .dashboard-stats-card {
        margin-bottom: 2rem;
    }
    
    .quick-amount {
        font-size: 0.875rem;
        padding: 8px 12px;
    }
    
    .btn-group {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .btn-group .btn {
        flex: 1;
        min-width: calc(33.333% - 5px);
    }
    
    .calculator-result {
        margin-top: 2rem;
    }
    
    .balance-card {
        margin-bottom: 2rem;
    }
}

/* Market Overview Styles */
.market-overview {
    padding: 15px 0;
}

.market-item {
    transition: var(--transition);
    border: 1px solid transparent;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.market-item:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #dbeafe 100%) !important;
    border-color: #2563eb;
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}

.market-item .text-success {
    color: #0891b2 !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(16, 185, 129, 0.2);
}

.market-item .text-danger {
    color: #dc2626 !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(239, 68, 68, 0.2);
}

.market-item .fw-bold {
    font-weight: 800 !important;
}

.market-item small {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 600;
}

/* Chart Container */
.chart-container {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.chart-container canvas {
    max-height: 200px;
}

/* Investment Performance Enhancements */
.investment-details .detail-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.investment-details .detail-item:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #dbeafe 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
    border-color: #2563eb;
}

/* Live Data Animation */
@keyframes pulse-green {
    0% { 
        color: #0891b2; 
        text-shadow: 0 1px 2px rgba(16, 185, 129, 0.2);
    }
    50% { 
        color: #22d3ee; 
        text-shadow: 0 2px 4px rgba(52, 211, 153, 0.4);
    }
    100% { 
        color: #0891b2; 
        text-shadow: 0 1px 2px rgba(16, 185, 129, 0.2);
    }
}

@keyframes pulse-red {
    0% { 
        color: #dc2626; 
        text-shadow: 0 1px 2px rgba(239, 68, 68, 0.2);
    }
    50% { 
        color: #f87171; 
        text-shadow: 0 2px 4px rgba(248, 113, 113, 0.4);
    }
    100% { 
        color: #dc2626; 
        text-shadow: 0 1px 2px rgba(239, 68, 68, 0.2);
    }
}

.market-item .text-success.fw-bold {
    animation: pulse-green 3s infinite;
}

.market-item .text-danger.fw-bold {
    animation: pulse-red 3s infinite;
} 