/* Financial Tools UI Kit with Bootstrap 5 */
:root {
    /* Light theme colors */
    --ft-primary: #2d8265;
    --ft-secondary: #1e6b8a;
    --ft-success: #198754;
    --ft-info: #0dcaf0;
    --ft-warning: #ffc107;
    --ft-danger: #dc3545;
    --ft-light: #f8f9fa;
    --ft-dark: #212529;

    /* Water green and blue color palette */
    --ft-water-green: #2d8265;
    --ft-aqua-blue: #1e6b8a;
    --ft-teal: #15cf88;
    --ft-ocean-blue: #0d4f6f;
    --ft-sky-blue: #5bc0de;

    /* Financial theme colors */
    --ft-financial-primary: var(--ft-water-green);
    --ft-financial-secondary: var(--ft-aqua-blue);
    --ft-financial-accent: var(--ft-teal);
    --ft-financial-highlight: var(--ft-sky-blue);
    --ft-financial-text: #333333;
    --ft-financial-bg: #ffffff;
    --ft-financial-border: #e0e0e0;
    --ft-financial-card: #2b3035;

    /* Gradients */
    --ft-gradient-primary: linear-gradient(
        135deg,
        var(--ft-water-green),
        var(--ft-teal)
    );
    --ft-gradient-secondary: linear-gradient(
        135deg,
        var(--ft-aqua-blue),
        var(--ft-ocean-blue)
    );
    --ft-gradient-accent: linear-gradient(
        135deg,
        var(--ft-teal),
        var(--ft-sky-blue)
    );
    --ft-gradient-hero: linear-gradient(
        135deg,
        var(--ft-water-green),
        var(--ft-aqua-blue)
    );

    --ft-gradient-author: linear-gradient(
        135deg,
        rgb(17 121 86 / 57%),
        rgba(63, 168, 122, 0.05)
    );

    /* Spacing */
    --ft-spacer: 1rem;
    --ft-spacers: (
        0: 0,
        1: calc(var(--ft-spacer) * 0.25),
        2: calc(var(--ft-spacer) * 0.5),
        3: var(--ft-spacer),
        4: calc(var(--ft-spacer) * 1.5),
        5: calc(var(--ft-spacer) * 3)
    );

    /* Typography */
    --ft-font-sans-serif:
        "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
        Arial, "Noto Sans", "Liberation Sans", sans-serif;
    --ft-font-monospace:
        SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
        "Courier New", monospace;
    --ft-gradient: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0)
    );
}

/* Dark theme colors */
[data-bs-theme="dark"] {
    --ft-financial-primary: #5bc0de;
    --ft-financial-secondary: #2d8265;
    --ft-financial-accent: #15cf88;
    --ft-financial-highlight: #1e6b8a;
    --ft-financial-text: #e0e0e0;
    --ft-financial-bg: #0d1b2a;
    --ft-financial-border: #444444;

    --ft-light: #2d2d2d;
    --ft-dark: #f8f9fa;
}

/* Base styles */
body {
    font-family: var(--ft-font-sans-serif);
    background-color: var(--ft-financial-bg);
    color: var(--ft-financial-text);
    transition:
        background-color 0.3s,
        color 0.3s;
}

/* Header styles */
.ft-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Ensure elements use theme-appropriate backgrounds */
[data-bs-theme="dark"] .bg-white {
    background-color: #1a1a1a !important;
}

[data-bs-theme="dark"] .bg-light {
    background-color: #2d2d2d !important;
}

[data-bs-theme="dark"] .text-light {
    color: #cccccc !important;
}

[data-bs-theme="dark"] .text-dark {
    color: #e0e0e0 !important;
}

[data-bs-theme="dark"] .ft-header {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Page spacing - only for pages without hero sections */
.ft-page-header {
    padding-top: 30px;
}

/* Hero sections don't need extra padding */
.ft-hero-area,
.tp-hero-area {
    margin-top: 0;
}

.logo {
    font-weight: 700;
    color: var(--ft-gradient-primary);
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.ft-header .navbar-brand {
    font-weight: 700;
    color: var(--ft-financial-primary);
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.ft-header .navbar-brand i {
    margin-right: 0.5rem;
    color: var(--ft-financial-accent);
}

.ft-header .navbar-brand .brand-text {
    background: var(--ft-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.ft-header .navbar-nav .nav-link {
    color: var(--ft-financial-text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin: 0 0.25rem;
    position: relative;
}

.ft-header .navbar-nav .nav-link:hover,
.ft-header .navbar-nav .nav-link.active {
    color: var(--ft-financial-primary);
    background-color: rgba(45, 130, 101, 0.1);
}

.ft-header .navbar-nav .nav-link i {
    color: var(--ft-financial-accent);
}

.ft-header .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--ft-gradient-primary);
    transition: width 0.3s ease;
}

.ft-header .navbar-nav .nav-link:hover::after,
.ft-header .navbar-nav .nav-link.active::after {
    width: 70%;
}

/* Navbar dropdown toggle - remove button appearance */
.ft-header .navbar-nav .nav-link.dropdown-toggle {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.ft-header .navbar-nav .nav-link.dropdown-toggle:hover,
.ft-header .navbar-nav .nav-link.dropdown-toggle:focus,
.ft-header .navbar-nav .nav-link.dropdown-toggle:active,
.ft-header .navbar-nav .nav-link.dropdown-toggle.show {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--ft-financial-text) !important;
}

/* Dropdown arrow positioning */
.ft-header .navbar-nav .nav-link.dropdown-toggle::after {
    content: "" !important;
    position: static !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    margin-left: 0.25em;
    vertical-align: 0.2em;
    display: inline-block !important;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

/* Mobile menu overlay - global styles */
.ft-mobile-overlay {
    display: none;
}

.zindex-1000 {
    z-index: 1000;
}

@media (max-width: 991.98px) {
    .ft-mobile-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition:
            opacity 0.3s ease,
            visibility 0.3s ease;
    }

    .ft-mobile-overlay.show {
        opacity: 1;
        visibility: visible;
    }
}

/* Mobile Menu Styles */
@media (max-width: 991.98px) {
    .ft-header .navbar-toggler {
        border: none;
        padding: 0.5rem;
        background: rgba(45, 130, 101, 0.1);
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .ft-header .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
        background: rgba(45, 130, 101, 0.2);
    }

    .ft-header .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232d8265' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    [data-bs-theme="dark"] .ft-header .navbar-toggler {
        background: rgba(45, 130, 101, 0.2);
    }

    [data-bs-theme="dark"] .ft-header .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2315cf88' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    /* Menu slides from RIGHT */
    .ft-header .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--ft-financial-bg);
        z-index: 1050;
        transition:
            right 0.3s ease,
            visibility 0s linear 0.3s;
        overflow-y: auto;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        padding: 0;
        display: flex;
        flex-direction: column;
        visibility: hidden;
    }

    .ft-header .navbar-collapse.show {
        right: 0;
        visibility: visible;
        transition:
            right 0.3s ease,
            visibility 0s linear 0s;
    }

    [data-bs-theme="dark"] .ft-header .navbar-collapse {
        background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.4);
    }

    /* Mobile menu header */
    .ft-header .ft-mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 1rem 1.25rem;
        border-bottom: 1px solid var(--ft-financial-border);
        background: rgba(45, 130, 101, 0.05);
        flex-shrink: 0;
    }

    .ft-header .ft-mobile-menu-header h5 {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--ft-financial-primary);
    }

    .ft-header .navbar-nav {
        padding: 0.5rem 0;
        flex-direction: column;
        width: 100%;
    }

    .ft-header .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
    }

    [data-bs-theme="dark"] .ft-header .navbar-nav .nav-item {
        border-bottom-color: rgba(255, 255, 255, 0.05);
    }

    .ft-header .navbar-nav .nav-link {
        padding: 0.875rem 1.25rem;
        margin: 0;
        border-radius: 0;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
    }

    .ft-header .navbar-nav .nav-link i {
        font-size: 1.1rem;
        width: 24px;
        text-align: center;
        flex-shrink: 0;
    }

    /* Hide the underline animation on mobile */
    .ft-header .navbar-nav .nav-link::after {
        display: none !important;
    }

    /* Dropdown toggle arrow for mobile */
    .ft-header .navbar-nav .nav-link.dropdown-toggle::after {
        display: inline-block !important;
        margin-left: auto;
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
        transition: transform 0.3s ease;
    }

    /* Arrow rotation when dropdown is open */
    .ft-header .navbar-nav .dropdown.show .nav-link.dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .ft-header .navbar-nav .nav-link:hover,
    .ft-header .navbar-nav .nav-link.active {
        background-color: rgba(45, 130, 101, 0.1);
    }

    /* Dropdown styles for mobile */
    .ft-header .navbar-nav .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.02);
        border-radius: 0;
        padding: 0;
        margin: 0;
        width: 100%;
        display: block !important;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition:
            max-height 0.5s ease,
            opacity 0.5s ease;
    }

    .ft-header .navbar-nav .dropdown-menu.show {
        max-height: 1000px;
        opacity: 1;
    }

    [data-bs-theme="dark"] .ft-header .navbar-nav .dropdown-menu {
        background: rgba(0, 0, 0, 0.15);
    }

    .ft-header .navbar-nav .dropdown-menu .dropdown-item {
        padding: 0.75rem 1.25rem 0.75rem 3rem;
        color: var(--ft-financial-text);
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    [data-bs-theme="dark"]
        .ft-header
        .navbar-nav
        .dropdown-menu
        .dropdown-item {
        border-bottom-color: rgba(255, 255, 255, 0.03);
    }

    .ft-header .navbar-nav .dropdown-menu .dropdown-item:hover {
        background: rgba(45, 130, 101, 0.1);
        color: var(--ft-financial-primary);
    }

    .ft-header .navbar-nav .dropdown-menu .dropdown-header {
        padding: 0.6rem 1.25rem 0.4rem 2rem;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--ft-financial-primary);
        background: rgba(45, 130, 101, 0.05);
    }

    .ft-header .navbar-nav .dropdown-menu .dropdown-divider {
        margin: 0;
        border-color: rgba(0, 0, 0, 0.05);
    }

    [data-bs-theme="dark"]
        .ft-header
        .navbar-nav
        .dropdown-menu
        .dropdown-divider {
        border-color: rgba(255, 255, 255, 0.05);
    }

    /* Auth buttons for mobile */
    .ft-header .navbar-collapse > .d-flex {
        flex-direction: column;
        padding: 1rem 1.25rem;
        gap: 0.75rem;
        margin-top: auto;
        border-top: 1px solid var(--ft-financial-border);
    }

    .ft-header .navbar-collapse > .d-flex .btn {
        width: 100%;
        justify-content: center;
    }

    .ft-header .navbar-collapse > .dropdown {
        padding: 1rem 1.25rem;
        margin-top: auto;
        border-top: 1px solid var(--ft-financial-border);
    }

    .ft-header .navbar-collapse > .dropdown .btn {
        width: 100%;
    }

    /* Theme toggle for mobile */
    .ft-header .theme-toggle-btn.d-lg-none {
        position: relative;
        top: auto;
        right: auto;
        margin-right: 0.5rem;
    }

    /* Close button for mobile menu */
    .ft-mobile-close {
        width: 32px;
        height: 32px;
        border: none;
        background: rgba(220, 53, 69, 0.1);
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .ft-mobile-close:hover {
        background: rgba(220, 53, 69, 0.2);
    }

    .ft-mobile-close i {
        color: #dc3545;
        font-size: 1rem;
    }
}

/* home */

.hero-title {
    font-size: 75px;
    font-weight: 600;
    color: var(--tp-common-white);
    line-height: 1;
    letter-spacing: -3px;
    text-transform: capitalize;
    margin-bottom: 30px;
    animation-delay: 0.5s;
    animation-duration: 0.7s;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }
}

.hero-subtitle {
    display: inline-block;
    font-family: var(--tp-ff-heading);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--tp-common-white);
    margin-bottom: 20px;
    animation-delay: 0.3s;
    animation-duration: 0.5s;
}

.hero-description {
    color: var(--tp-common-white);
    margin-bottom: 40px;
    animation-delay: 0.7s;
    animation-duration: 0.9s;
    font-size: 18px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tp-btn {
    transition: all 0.3s ease;
    border-radius: 50px;
    font-weight: 600;
    padding: 15px 35px;
    display: inline-block;
    text-align: center;
}

.tp-btn-border {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.tp-btn-border:hover {
    background: #fff;
    color: #004d6e;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #004d6e 0%, #00accc 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: #67687a;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Auth buttons */
.ft-auth-btn {
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ft-auth-btn-login {
    background: transparent;
    color: var(--ft-financial-primary);
    border-color: var(--ft-financial-primary);
}

.ft-auth-btn-login:hover {
    background: var(--ft-financial-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 130, 101, 0.2);
}

.ft-auth-btn-register {
    background: var(--ft-gradient-primary);
    color: white;
    border: none;
}

.ft-auth-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 130, 101, 0.3);
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: 0.15rem;
}

/* Currency converter widget */
.ft-currency-widget {
    background: var(--ft-gradient-primary);
    border-radius: 8px;
    padding: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 300px;
}

.ft-currency-widget .form-control {
    border: none;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--ft-financial-text);
}

.ft-currency-widget .form-select {
    border: none;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--ft-financial-text);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

[data-bs-theme="dark"] .ft-currency-widget .form-control,
[data-bs-theme="dark"] .ft-currency-widget .form-select {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--ft-financial-text);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23adb5bd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.ft-currency-widget .btn {
    background-color: var(--ft-financial-accent);
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.ft-currency-widget .btn:hover {
    background-color: #13b879;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .ft-currency-widget .btn:hover {
    background-color: #15cf88;
}

.ft-result {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 0.75rem;
    margin-top: 0.75rem;
    text-align: center;
    font-weight: 600;
    color: white;
}

/* Hero section */
.ft-hero {
    background: var(--ft-gradient-hero);
    color: white;
    padding: 5rem 0;
    position: relative;
}

.ft-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.ft-hero-content {
    position: relative;
    z-index: 2;
}

.ft-hero h1 {
    font-weight: 800;
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ft-hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    opacity: 0.9;
}

/* Hero decorations */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.decoration-1 {
    width: 300px;
    height: 300px;
    top: -10px;
    right: 50px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0) 70%
    );
}

.decoration-2 {
    width: 200px;
    height: 200px;
    bottom: 0px;
    left: 40%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0) 70%
    );
}

.decoration-3 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 5%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 70%
    );
}

/* Particles container */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Features section */
.ft-features {
    padding: 5rem 0;
    background-color: var(--ft-financial-bg);
}

.ft-section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.ft-section-title h2 {
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--ft-financial-primary);
    margin-bottom: 1rem;
}

.ft-section-title p {
    font-size: 1.1rem;
    color: var(--ft-financial-text);
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

.ft-feature-card {
    background: var(--ft-financial-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--ft-financial-border);
    position: relative;
    overflow: hidden;
}

.ft-feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--ft-gradient-primary);
}

[data-bs-theme="dark"] .ft-feature-card {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ft-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.ft-feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ft-gradient-primary);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.ft-feature-card h3 {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 1rem;
    color: var(--ft-financial-accent);
}

.ft-feature-card p {
    color: var(--ft-financial-text);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.ft-feature-card .ft-btn {
    margin-top: auto;
    align-self: flex-start;
}

/* ================================
   Stats Section - Modern Design
   ================================ */

.ft-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #0d1b2a 0%, #1a2f3f 50%, #0f2537 100%);
    position: relative;
    overflow: hidden;
}

.ft-stats::after {
    content: "";
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(45, 130, 101, 0.08) 0%,
        transparent 50%
    );
    animation: ft-stats-rotate 30s linear infinite reverse;
    pointer-events: none;
}

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

/* Light mode stats */
[data-bs-theme="light"] .ft-stats {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 40%, #e8f5e9 100%);
}

[data-bs-theme="light"] .ft-stats::before {
    background: radial-gradient(
        circle,
        rgba(45, 130, 101, 0.08) 0%,
        transparent 50%
    );
}

[data-bs-theme="light"] .ft-stats::after {
    background: radial-gradient(
        circle,
        rgba(33, 150, 243, 0.06) 0%,
        transparent 50%
    );
}

/* Stat Item - Glassmorphism Card */
.ft-stat-item {
    position: relative;
    z-index: 2;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.ft-stat-item:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(91, 192, 222, 0.3);
    box-shadow: 0 20px 60px rgba(91, 192, 222, 0.2);
}

/* Light mode card */
[data-bs-theme="light"] .ft-stat-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(45, 130, 101, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

[data-bs-theme="light"] .ft-stat-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(45, 130, 101, 0.3);
    box-shadow: 0 20px 60px rgba(45, 130, 101, 0.15);
}

/* Icon circle at top */
.ft-stat-item::before {
    content: "";
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(
        135deg,
        rgba(91, 192, 222, 0.8) 0%,
        rgba(45, 130, 101, 0.8) 100%
    );
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(91, 192, 222, 0.3);
    transition: all 0.4s ease;
}

.ft-stat-item:hover::before {
    transform: translateX(-50%) scale(1.15) rotate(10deg);
    box-shadow: 0 15px 40px rgba(91, 192, 222, 0.4);
}

[data-bs-theme="light"] .ft-stat-item::before {
    background: linear-gradient(
        135deg,
        rgba(45, 130, 101, 0.9) 0%,
        rgba(33, 150, 243, 0.9) 100%
    );
    box-shadow: 0 10px 30px rgba(45, 130, 101, 0.3);
}

/* Stat Number */
.ft-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 20px 0 10px;
    background: linear-gradient(135deg, #5bc0de 0%, #2d8265 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -2px;
    transition: all 0.3s ease;
}

.ft-stat-item:hover .ft-stat-number {
    transform: scale(1.1);
    letter-spacing: -1px;
}

[data-bs-theme="light"] .ft-stat-number {
    background: linear-gradient(135deg, #2d8265 0%, #2196f3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stat Label */
.ft-stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    transition: color 0.3s ease;
}

.ft-stat-item:hover .ft-stat-label {
    color: rgba(255, 255, 255, 1);
}

[data-bs-theme="light"] .ft-stat-label {
    color: rgba(13, 27, 42, 0.7);
}

[data-bs-theme="light"] .ft-stat-item:hover .ft-stat-label {
    color: rgba(13, 27, 42, 0.9);
}

/* Glow effect on hover */
.ft-stat-item::after {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(
        135deg,
        rgba(91, 192, 222, 0.3),
        rgba(45, 130, 101, 0.3)
    );
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(20px);
}

.ft-stat-item:hover::after {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ft-stats {
        padding: 60px 0;
    }

    .ft-stat-item {
        margin-bottom: 50px;
        padding: 35px 25px;
    }

    .ft-stat-number {
        font-size: 2.5rem;
    }

    .ft-stat-label {
        font-size: 0.9rem;
    }
}

/* CTA section */
.ft-cta {
    padding: 5rem 0;
    background: var(--ft-gradient-hero);
    color: white;
    text-align: center;
}

.ft-cta h2 {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.ft-cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Footer */
.ft-footer {
    background-color: #050f19;
    color: #adb5bd;
    padding: 4rem 0 2rem;
}

.ft-footer h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.ft-footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ft-footer a:hover {
    color: white;
}

.ft-footer .list-unstyled li {
    margin-bottom: 0.75rem;
}

.ft-footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin-right: 0.75rem;
    transition: all 0.3s ease;
}

.ft-footer .social-links a:hover {
    background: var(--ft-financial-accent);
    transform: translateY(-3px);
}

.ft-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
}

/* Footer Contact Card */
.ft-footer-contact-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ft-footer-contact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--ft-financial-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.ft-footer-contact-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    gap: 1.25rem;
    align-items: start;
}

.ft-footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--ft-gradient-primary);
    border-radius: 12px;
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.ft-footer-contact-card:hover .ft-footer-contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.ft-footer-contact-content {
    flex: 1;
}

.ft-footer-contact-content h5 {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.ft-footer-contact-content p {
    color: #adb5bd;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.ft-footer-contact-btn {
    display: inline-flex;
    align-items: center;
    color: var(--ft-financial-accent);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.ft-footer-contact-card:hover .ft-footer-contact-btn {
    color: var(--ft-teal);
    transform: translateX(5px);
}

.ft-footer-contact-btn i {
    transition: transform 0.3s ease;
}

.ft-footer-contact-card:hover .ft-footer-contact-btn i {
    transform: translateX(3px);
}

/* Theme toggle */
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .theme-toggle-btn {
    background: rgba(255, 255, 255, 0.1);
}

.theme-toggle-btn:hover {
    background: var(--ft-financial-primary);
    color: white;
    transform: rotate(15deg);
}

/* Button styles */
.ft-btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

/* Maintenance page styles */
.ft-maintenance-body {
    background: linear-gradient(
        135deg,
        var(--ft-water-green),
        var(--ft-aqua-blue)
    );
    transition: background 0.3s ease;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.ft-maintenance-header {
    padding: 1rem 0;
    position: relative;
    z-index: 100;
}

.ft-header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ft-maintenance-header .navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.ft-maintenance-header .logo {
    font-weight: 700;
    color: var(--ft-gradient-primary);
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.ft-maintenance {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.ft-maintenance::after {
    content: "";
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(45, 130, 101, 0.08) 0%,
        transparent 50%
    );
    animation: ft-stats-rotate 30s linear infinite reverse;
    pointer-events: none;
}

.ft-maintenance .container {
    position: relative;
    z-index: 1;
}

.ft-maintenance h1 {
    color: #15cf88 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ft-maintenance .lead {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.25rem;
}

.ft-maintenance .card {
    background: #00000084 !important;
    color: #fff;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.ft-maintenance .alert {
    border-radius: 12px;
    border-left: 4px solid #17a2b8;
}

.ft-maintenance .ft-cta {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ft-maintenance .ft-cta h2 {
    color: white;
    font-weight: 600;
}

.ft-maintenance .ft-cta .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.ft-maintenance .ft-cta .btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ft-maintenance .ft-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.ft-btn-primary {
    background: var(--ft-gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(45, 130, 101, 0.3);
    border: none;
}

.ft-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45, 130, 101, 0.4);
    color: white;
}

.ft-btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.ft-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ft-hero h1 {
        font-size: 2.5rem;
    }

    .ft-hero p {
        font-size: 1rem;
    }

    .ft-currency-widget {
        min-width: 250px;
    }

    .ft-feature-card {
        margin-bottom: 2rem;
    }

    .ft-stat-number {
        font-size: 2rem;
    }

    .ft-header .navbar-brand {
        font-size: 1.25rem;
    }

    .decoration-1,
    .decoration-2,
    .decoration-3 {
        display: none;
    }
}

/* Animation utilities */
.ft-animate {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.ft-fade-in {
    animation-name: fadeIn;
}

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

/* Utility classes */
.text-financial-primary {
    color: var(--ft-financial-primary) !important;
}

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

.border-financial {
    border-color: var(--ft-financial-border) !important;
}

/* Auth pages styling */
.auth-page {
    background: linear-gradient(
        135deg,
        rgba(45, 130, 101, 0.1),
        rgba(30, 107, 138, 0.1)
    );
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232d8265' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.auth-card {
    background: var(--ft-financial-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--ft-financial-border);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.auth-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--ft-gradient-primary);
}

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.auth-logo i {
    font-size: 2.5rem;
    background: var(--ft-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-heading {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-heading h1 {
    font-weight: 700;
    color: var(--ft-financial-primary);
    margin-bottom: 0.5rem;
}

.auth-heading p {
    color: var(--ft-financial-text);
    opacity: 0.8;
}

.form-label {
    font-weight: 500;
    color: var(--ft-financial-text);
    margin-bottom: 0.5rem;
}

.form-control {
    height: 50px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--ft-financial-border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--ft-financial-primary);
    box-shadow: 0 0 0 0.25rem rgba(45, 130, 101, 0.25);
}

.invalid-feedback {
    font-size: 0.875rem;
}

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

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ft-financial-border);
}

.auth-footer a {
    color: var(--ft-financial-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-footer a:hover {
    color: var(--ft-financial-secondary);
    text-decoration: underline;
}

/* Info Tooltip Styles */
.ft-info-toolbar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: rgb(42, 134, 103);
    color: white;
    font-size: 11px;
    font-weight: 600;
    cursor: help;
    margin-left: 0.25rem;
    position: relative;
    transition: all 0.3s ease;
    z-index: 1;
}

.ft-info-toolbar-icon:hover,
.ft-info-toolbar-icon:focus {
    z-index: 1600;
}

.ft-info-toolbar-icon:hover {
    background-color: var(--ft-financial-secondary);
    transform: scale(1.1);
}

.ft-info-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #f8f9fa;
    color: #333333;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    line-height: 1.4;
    white-space: normal;
    min-width: 200px;
    max-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.ft-info-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #f8f9fa;
}

.ft-info-toolbar-icon:hover .ft-info-tooltip,
.ft-info-toolbar-icon:focus .ft-info-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 12px);
}

[data-bs-theme="dark"] .ft-info-tooltip {
    background-color: #0d1b2a;
    color: white;
}

[data-bs-theme="dark"] .ft-info-tooltip::after {
    border-top-color: #0d1b2a;
}

/* Mobile adjustments for tooltips */
@media (max-width: 768px) {
    .ft-info-tooltip {
        min-width: 180px;
        max-width: 240px;
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
}

/* ============================================
   Form Range Slider Styles
   ============================================ */

/* Custom range slider with visible track */
.form-range {
    width: 100%;
    height: 1.5rem;
    padding: 0;
    background-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Track (linha de fundo) - WebKit (Chrome, Safari) */
.form-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 0.5rem;
    cursor: pointer;
    background: linear-gradient(
        to right,
        var(--ft-financial-primary) 0%,
        var(--ft-financial-primary) var(--value-percent, 0%),
        #e9ecef var(--value-percent, 0%),
        #e9ecef 100%
    );
    border-radius: 0.5rem;
    border: none;
}

/* Track - Firefox */
.form-range::-moz-range-track {
    width: 100%;
    height: 0.5rem;
    cursor: pointer;
    background: #e9ecef;
    border-radius: 0.5rem;
    border: none;
}

/* Progress track - Firefox */
.form-range::-moz-range-progress {
    height: 0.5rem;
    background: var(--ft-financial-primary);
    border-radius: 0.5rem 0 0 0.5rem;
}

/* Thumb (bolinha) - WebKit */
.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: var(--ft-financial-primary);
    border: 2px solid white;
    cursor: pointer;
    margin-top: -0.375rem;
    box-shadow: 0 2px 6px rgba(45, 130, 101, 0.3);
    transition: all 0.2s ease;
}

/* Thumb - Firefox */
.form-range::-moz-range-thumb {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: var(--ft-financial-primary);
    border: 2px solid white;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(45, 130, 101, 0.3);
    transition: all 0.2s ease;
}

/* Hover effects */
.form-range:hover::-webkit-slider-thumb {
    background: var(--ft-financial-secondary);
    box-shadow: 0 3px 8px rgba(45, 130, 101, 0.4);
    transform: scale(1.1);
}

.form-range:hover::-moz-range-thumb {
    background: var(--ft-financial-secondary);
    box-shadow: 0 3px 8px rgba(45, 130, 101, 0.4);
    transform: scale(1.1);
}

/* Focus state */
.form-range:focus {
    outline: none;
}

.form-range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 0.2rem rgba(45, 130, 101, 0.25);
}

.form-range:focus::-moz-range-thumb {
    box-shadow: 0 0 0 0.2rem rgba(45, 130, 101, 0.25);
}

/* Dark mode adjustments */
[data-bs-theme="dark"] .form-range::-webkit-slider-runnable-track {
    background: linear-gradient(
        to right,
        var(--ft-financial-primary) 0%,
        var(--ft-financial-primary) var(--value-percent, 0%),
        #495057 var(--value-percent, 0%),
        #495057 100%
    );
}

[data-bs-theme="dark"] .form-range::-moz-range-track {
    background: #495057;
}

/* Form range display container */
.form-range-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-range-display .form-range {
    flex: 1;
}

.form-range-display .badge {
    min-width: 50px;
    font-size: 0.875rem;
    padding: 0.375rem 0.5rem;
}

/* ============================================
   Pagination Styles - Light & Dark Mode
   ============================================ */

/* Light Mode Pagination */
.pagination {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.pagination .page-link {
    color: var(--ft-water-green);
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
    margin: 0 0.125rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

.pagination .page-link:hover {
    color: #ffffff;
    background-color: var(--ft-water-green);
    border-color: var(--ft-water-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(45, 130, 101, 0.2);
}

.pagination .page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(45, 130, 101, 0.25);
    z-index: 3;
}

.pagination .page-item.active .page-link {
    background-color: var(--ft-water-green);
    border-color: var(--ft-water-green);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(45, 130, 101, 0.3);
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #ffffff;
    border-color: #dee2e6;
    opacity: 0.5;
    cursor: not-allowed;
}

/* Dark Mode Pagination */
[data-bs-theme="dark"] .pagination .page-link {
    color: var(--ft-teal);
    background-color: #2b3035;
    border-color: #495057;
}

[data-bs-theme="dark"] .pagination .page-link:hover {
    color: #ffffff;
    background-color: var(--ft-water-green);
    border-color: var(--ft-water-green);
}

[data-bs-theme="dark"] .pagination .page-item.active .page-link {
    background-color: var(--ft-water-green);
    border-color: var(--ft-water-green);
    color: #ffffff;
}

[data-bs-theme="dark"] .pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #2b3035;
    border-color: #495057;
    opacity: 0.5;
}

/* Pagination size variations */
.pagination-sm .page-link {
    padding: 0.375rem 0.625rem;
    font-size: 0.875rem;
}

.pagination-lg .page-link {
    padding: 0.75rem 1rem;
    font-size: 1.125rem;
}

/* Responsive pagination */
@media (max-width: 576px) {
    .pagination {
        font-size: 0.875rem;
    }

    .pagination .page-link {
        padding: 0.375rem 0.5rem;
    }
}

/* ============================================
   Dropdown Toggle Styles - Light & Dark Mode
   ============================================ */

/* Light Mode Dropdown Toggle */
.dropdown-toggle {
    color: var(--ft-water-green);
    background-color: #ffffff;
    border: 1px solid var(--ft-water-green);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle:hover {
    color: #ffffff;
    background-color: var(--ft-water-green);
    border-color: var(--ft-water-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(45, 130, 101, 0.2);
}

.dropdown-toggle:focus,
.dropdown-toggle:active,
.dropdown-toggle.show {
    color: #ffffff;
    background-color: var(--ft-dark-green);
    border-color: var(--ft-dark-green);
    box-shadow: 0 0 0 0.2rem rgba(45, 130, 101, 0.25);
}

.dropdown-toggle::after {
    margin-left: auto;
}

/* Dark Mode Dropdown Toggle */
[data-bs-theme="dark"] .dropdown-toggle {
    color: white;
    background-color: #2b3035;
    border-color: var(--ft-teal);
}

[data-bs-theme="dark"] .dropdown-toggle:hover {
    color: #1a1d20;
    background-color: var(--ft-teal);
    border-color: var(--ft-teal);
    box-shadow: 0 4px 8px rgba(21, 207, 136, 0.3);
}

[data-bs-theme="dark"] .dropdown-toggle:focus,
[data-bs-theme="dark"] .dropdown-toggle:active,
[data-bs-theme="dark"] .dropdown-toggle.show {
    color: #1a1d20;
    background-color: var(--ft-teal);
    border-color: var(--ft-teal);
    box-shadow: 0 0 0 0.2rem rgba(21, 207, 136, 0.25);
}

/* Dropdown Menu */
.dropdown-menu {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 0.25rem;
}

.dropdown-item {
    color: #212529;
    padding: 0.5rem 1rem;
    transition: all 0.15s ease;
    font-weight: 400;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #ffffff;
    background-color: var(--ft-water-green);
}

.dropdown-item:active {
    background-color: var(--ft-water-green);
    color: #ffffff;
}

.dropdown-divider {
    border-top: 1px solid #dee2e6;
    margin: 0.5rem 0;
}

/* Dark Mode Dropdown Menu */
[data-bs-theme="dark"] .dropdown-menu {
    background-color: #2b3035;
    border-color: #495057;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .dropdown-item {
    color: #dee2e6;
}

[data-bs-theme="dark"] .dropdown-item:hover,
[data-bs-theme="dark"] .dropdown-item:focus {
    color: #1a1d20;
    background-color: var(--ft-teal);
}

[data-bs-theme="dark"] .dropdown-item:active {
    background-color: var(--ft-teal);
    color: #1a1d20;
}

[data-bs-theme="dark"] .dropdown-divider {
    border-top-color: #495057;
}

/* ============================================
   Button Dropdown Toggle - Light & Dark Mode
   ============================================ */

/* Light Mode - btn-light dropdown-toggle */
.btn.btn-light.dropdown-toggle {
    color: var(--ft-water-green);
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    font-weight: 500;
}

.btn.btn-light.dropdown-toggle:hover {
    color: #ffffff;
    background-color: var(--ft-water-green);
    border-color: var(--ft-water-green);
}

.btn.btn-light.dropdown-toggle:focus,
.btn.btn-light.dropdown-toggle:active,
.btn.btn-light.dropdown-toggle.show {
    color: #ffffff;
    background-color: var(--ft-water-green);
    border-color: var(--ft-water-green);
    box-shadow: 0 0 0 0.2rem rgba(45, 130, 101, 0.25);
}

/* Dark Mode - btn-light dropdown-toggle */
[data-bs-theme="dark"] .btn.btn-light.dropdown-toggle {
    color: var(--ft-teal);
    background-color: #343a40;
    border-color: #495057;
}

[data-bs-theme="dark"] .btn.btn-light.dropdown-toggle:hover {
    color: #1a1d20;
    background-color: var(--ft-teal);
    border-color: var(--ft-teal);
}

[data-bs-theme="dark"] .btn.btn-light.dropdown-toggle:focus,
[data-bs-theme="dark"] .btn.btn-light.dropdown-toggle:active,
[data-bs-theme="dark"] .btn.btn-light.dropdown-toggle.show {
    color: #1a1d20;
    background-color: var(--ft-teal);
    border-color: var(--ft-teal);
    box-shadow: 0 0 0 0.2rem rgba(21, 207, 136, 0.25);
}

/* Small button variant */
.btn-sm.dropdown-toggle {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* ============================================
   Card & Modal Styles - Light & Dark Mode
   ============================================ */

/* Light Mode Cards */
.card {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    color: #212529;
}

.card-body {
    background-color: transparent;
}

.card-title {
    color: #212529;
}

.card .text-muted {
    color: #6c757d !important;
}

.bg-body-secondary {
    background-color: #f8f9fa !important;
}

/* Dark Mode Cards */
[data-bs-theme="dark"] .card {
    background-color: #2b3035;
    border-color: #495057;
    color: #dee2e6;
}

.financial-currency-card {
    background-color: #050a0fb3 !important;
}

[data-bs-theme="dark"] .card-title {
    color: #dee2e6;
}

[data-bs-theme="dark"] .card .text-muted {
    color: #adb5bd !important;
}

[data-bs-theme="dark"] .bg-body-secondary {
    background-color: #343a40 !important;
}

/* Light Mode Modals */
.modal-content {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    color: #212529;
}

.modal-header {
    background-color: transparent;
    border-bottom-color: #dee2e6;
}

.modal-footer {
    background-color: transparent;
    border-top-color: #dee2e6;
}

.modal-title {
    color: #212529;
}

/* Dark Mode Modals */
[data-bs-theme="dark"] .modal-content {
    background-color: #2b3035;
    border-color: #495057;
    color: #dee2e6;
}

[data-bs-theme="dark"] .modal-header {
    border-bottom-color: #495057;
}

[data-bs-theme="dark"] .modal-footer {
    border-top-color: #495057;
}

[data-bs-theme="dark"] .modal-title {
    color: #dee2e6;
}

[data-bs-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Alerts */
[data-bs-theme="dark"] .alert-success {
    background-color: #1e4d2b;
    border-color: #2d6a3e;
    color: #a7e1b4;
}

/* ============================================
   Button Dropdown Toggle - Light & Dark Mode
   ============================================ */

/* Light Mode - btn-dropdown-toggle */
.btn-dropdown-toggle {
    color: #495057;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.btn-dropdown-toggle:hover {
    color: #495057;
    background-color: #e2e6ea;
    border-color: #dae0e5;
}

.btn-dropdown-toggle:focus,
.btn-dropdown-toggle:active,
.btn-dropdown-toggle.show {
    color: #495057;
    background-color: #dae0e5;
    border-color: #d3d9df;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

/* Dark Mode - btn-dropdown-toggle */
[data-bs-theme="dark"] .btn-dropdown-toggle {
    color: #dee2e6;
    background-color: #343a40;
    border-color: #495057;
}

[data-bs-theme="dark"] .btn-dropdown-toggle:hover {
    color: #dee2e6;
    background-color: #495057;
    border-color: #545b62;
}

[data-bs-theme="dark"] .btn-dropdown-toggle:focus,
[data-bs-theme="dark"] .btn-dropdown-toggle:active,
[data-bs-theme="dark"] .btn-dropdown-toggle.show {
    color: #dee2e6;
    background-color: #545b62;
    border-color: #5a6268;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
}

/* ========================================
   Select2 Custom Styles with Dark/Light Mode
   ======================================== */

/* Select2 Container */
.select2-container {
    width: 100% !important;
    z-index: 9999;
}

.select2-container--bootstrap-5 .select2-selection {
    min-height: 38px;
    border: 1px solid var(--ft-financial-border);
    background-color: var(--ft-financial-bg);
    color: var(--ft-financial-text);
    font-size: 1rem;
    line-height: 1.5;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}

.select2-container--bootstrap-5 .select2-selection--single {
    border-radius: 0.375rem;
    height: 38px;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: var(--ft-financial-primary);
    box-shadow: 0 0 0 0.25rem rgba(45, 130, 101, 0.25);
    outline: 0;
}

/* Select2 Dropdown */
.select2-dropdown {
    background-color: var(--ft-financial-bg);
    border: 1px solid var(--ft-financial-border);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 10000;
}

[data-bs-theme="dark"] .select2-dropdown {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
}

/* Select2 Search */
.select2-search--dropdown {
    padding: 0.5rem;
    background-color: var(--ft-financial-bg);
}

.select2-search--dropdown .select2-search__field {
    background-color: var(--ft-financial-bg);
    border: 1px solid var(--ft-financial-border);
    color: var(--ft-financial-text);
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: var(--ft-financial-primary);
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(45, 130, 101, 0.15);
}

[data-bs-theme="dark"] .select2-search--dropdown {
    background-color: #2d2d2d;
}

[data-bs-theme="dark"] .select2-search--dropdown .select2-search__field {
    background-color: #2d2d2d;
    border-color: #444444;
    color: #e0e0e0;
}

[data-bs-theme="dark"] .select2-search--dropdown .select2-search__field:focus {
    border-color: #5bc0de;
    box-shadow: 0 0 0 0.25rem rgba(91, 192, 222, 0.15);
}

.form-select {
    height: 50px;
}

.input-group {
    height: 50px;
}

.input-group .form-control,
.input-group .input-group-text {
    height: 100%;
}

/* Select2 Results */
.select2-results {
    background-color: var(--ft-financial-bg);
}

[data-bs-theme="dark"] .select2-results {
    background-color: #2d2d2d;
}

.select2-results__option {
    color: var(--ft-financial-text);
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.select2-results__option--highlighted {
    background-color: var(--ft-financial-primary) !important;
    color: white !important;
}

.select2-results__option--selected {
    background-color: rgba(45, 130, 101, 0.1);
    color: var(--ft-financial-primary);
    font-weight: 500;
}

[data-bs-theme="dark"] .select2-results__option--selected {
    background-color: rgba(91, 192, 222, 0.2);
    color: #5bc0de;
}

/* Select2 Selection Text */
.select2-selection__rendered {
    color: var(--ft-financial-text) !important;
    padding-left: 0.75rem !important;
    padding-right: 2rem !important;
    display: flex !important;
    align-items: center !important;
}

.select2-selection__placeholder {
    color: #a2a9b0 !important;
}

/* Select2 Arrow */
.select2-selection__arrow {
    height: 36px !important;
    right: 0.75rem !important;
    top: 1px !important;
}

.select2-selection__arrow b {
    border-color: var(--ft-financial-text) transparent transparent transparent !important;
    border-width: 6px 4px 0 4px !important;
}

/* Select2 Clear Button */
.select2-selection__clear {
    color: var(--ft-financial-text);
    margin-right: 0.5rem;
    font-size: 1.25rem;
    line-height: 1;
}

.select2-selection__clear:hover {
    color: var(--ft-danger);
}

/* Dark Mode Specific */
[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-selection {
    background-color: #212529;
    border: 1px solid var(--ft-financial-border) !important;
    color: #a3abb3;
}

[data-bs-theme="dark"]
    .select2-container--bootstrap-5
    .select2-dropdown
    .select2-search
    .select2-search__field,
.select2-container--bootstrap-5.select2-container--disabled.select2-container--focus
    .select2-selection {
    background-color: #212529;
    color: #a3abb3;
}

[data-bs-theme="dark"]
    .select2-container--bootstrap-5.select2-container--focus
    .select2-selection,
[data-bs-theme="dark"]
    .select2-container--bootstrap-5.select2-container--open
    .select2-selection {
    border-color: #5bc0de;
    box-shadow: 0 0 0 0.25rem rgba(91, 192, 222, 0.25);
}

[data-bs-theme="dark"] .select2-results__option--highlighted {
    background-color: #5bc0de !important;
}

[data-bs-theme="dark"] .select2-selection__arrow b {
    border-color: #e0e0e0 transparent transparent transparent !important;
}

/* Datalist for Autocomplete */
datalist option {
    background-color: var(--ft-financial-bg);
    color: var(--ft-financial-text);
    padding: 0.5rem;
}

.list-group-item {
    background-color: transparent;
}

/* Input Autocomplete Styling */
input[list]::-webkit-calendar-picker-indicator {
    display: none !important;
}

input[list] {
    position: relative;
}

/* Custom scrollbar for Select2 */
.select2-results__options {
    max-height: 250px;
    overflow-y: auto;
}

.select2-results__options::-webkit-scrollbar {
    width: 8px;
}

.select2-results__options::-webkit-scrollbar-track {
    background: var(--ft-financial-bg);
}

.select2-results__options::-webkit-scrollbar-thumb {
    background: var(--ft-financial-border);
    border-radius: 4px;
}

.select2-results__options::-webkit-scrollbar-thumb:hover {
    background: var(--ft-financial-primary);
}

[data-bs-theme="dark"] .select2-results__options::-webkit-scrollbar-track {
    background: #2d2d2d;
}

[data-bs-theme="dark"] .select2-results__options::-webkit-scrollbar-thumb {
    background: #444444;
}

[data-bs-theme="dark"]
    .select2-results__options::-webkit-scrollbar-thumb:hover {
    background: #5bc0de;
}

/* ============================================
   About Section Styles - Light & Dark Mode
   ============================================ */

/* About Section Container */
.ft-about {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.ft-about::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(
        ellipse at center,
        rgba(45, 130, 101, 0.08) 0%,
        transparent 70%
    );
    pointer-events: none;
}

[data-bs-theme="dark"] .ft-about {
    background: linear-gradient(180deg, #0d1b2a 0%, #1a2332 50%, #0d1b2a 100%);
}

[data-bs-theme="dark"] .ft-about::before {
    background: radial-gradient(
        ellipse at center,
        rgba(91, 192, 222, 0.12) 0%,
        transparent 70%
    );
}

/* About Image Wrapper */
.ft-about-image-wrapper {
    position: relative;
}

.ft-about-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* About Badge (25+ Ferramentas) */
.ft-about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--ft-gradient-primary);
    color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.ft-about-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.ft-about-badge-number {
    font-size: 2.5rem;
    text-align: center;
    font-weight: bold;
    line-height: 1;
}

.ft-about-badge-label {
    font-size: 0.9rem;
    margin-top: 5px;
}

[data-bs-theme="dark"] .ft-about-badge {
    background: linear-gradient(
        135deg,
        var(--ft-teal) 0%,
        var(--ft-sky-blue) 100%
    );
}

/* About Content */
.ft-about-content {
    padding-left: 30px;
}

@media (max-width: 991px) {
    .ft-about-content {
        padding-left: 0;
        margin-top: 30px;
    }

    .ft-about-badge {
        bottom: 10px;
        right: 10px;
        padding: 20px;
    }

    .ft-about-badge-number {
        font-size: 2rem;
    }
}

/* About Label */
.ft-about-label {
    color: var(--ft-financial-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: color 0.3s ease;
}

[data-bs-theme="dark"] .ft-about-label {
    color: var(--ft-teal);
}

/* About Title */
.ft-about-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 20px;
    color: var(--ft-financial-text);
    transition: color 0.3s ease;
}

@media (max-width: 768px) {
    .ft-about-title {
        font-size: 2rem;
    }
}

/* About Text */
.ft-about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--ft-financial-text);
    margin-bottom: 20px;
    opacity: 0.9;
    transition:
        color 0.3s ease,
        opacity 0.3s ease;
}

[data-bs-theme="dark"] .ft-about-text {
    opacity: 0.85;
}

/* About Features */
.ft-about-feature {
    display: flex;
    align-items: start;
}

.ft-about-feature-icon {
    color: var(--ft-financial-primary);
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.ft-about-feature:hover .ft-about-feature-icon {
    color: var(--ft-teal);
    transform: scale(1.1);
}

[data-bs-theme="dark"] .ft-about-feature-icon {
    color: var(--ft-teal);
}

[data-bs-theme="dark"] .ft-about-feature:hover .ft-about-feature-icon {
    color: var(--ft-sky-blue);
}

.ft-about-feature-content {
    flex-grow: 1;
}

.ft-about-feature-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--ft-financial-text);
    transition: color 0.3s ease;
}

.ft-about-feature-text {
    font-size: 0.95rem;
    color: var(--ft-financial-text);
    margin-bottom: 0;
    opacity: 0.7;
    transition:
        color 0.3s ease,
        opacity 0.3s ease;
}

[data-bs-theme="dark"] .ft-about-feature-text {
    opacity: 0.6;
}

/* About Alert */
.ft-about-alert {
    background: rgba(13, 202, 240, 0.1) !important;
    border-left: 4px solid var(--ft-info) !important;
    color: var(--ft-financial-text);
    font-size: 0.95rem;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.ft-about-alert i {
    color: var(--ft-info);
}

[data-bs-theme="dark"] .ft-about-alert {
    background: rgba(13, 202, 240, 0.15) !important;
    border-left-color: var(--ft-sky-blue) !important;
}

[data-bs-theme="dark"] .ft-about-alert i {
    color: var(--ft-sky-blue);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .ft-about {
        padding: 60px 0;
    }

    .ft-about-text {
        font-size: 1rem;
    }

    .ft-about-feature-icon {
        font-size: 1.25rem;
    }

    .ft-about-feature-title {
        font-size: 1rem;
    }

    .ft-about-feature-text {
        font-size: 0.875rem;
    }
}

/* Animation for fade-in on scroll */
@keyframes ft-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ft-about-image-wrapper,
.ft-about-content > * {
    animation: ft-fade-in-up 0.6s ease-out;
}

.ft-about-content > *:nth-child(2) {
    animation-delay: 0.1s;
}

.ft-about-content > *:nth-child(3) {
    animation-delay: 0.2s;
}

.ft-about-content > *:nth-child(4) {
    animation-delay: 0.3s;
}

/* ================================
   Principal Features Section
   ================================ */

/* Principal Features Container */
.ft-principal-features {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 40%, #e8f5e9 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.ft-principal-features::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(
        ellipse at center,
        rgba(45, 130, 101, 0.12) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.ft-principal-features::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(33, 150, 243, 0.08) 0%,
        transparent 60%
    );
    pointer-events: none;
}

[data-bs-theme="dark"] .ft-principal-features {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a2f3f 50%, #0f2537 100%);
}

[data-bs-theme="dark"] .ft-principal-features::before {
    background: radial-gradient(
        ellipse at center,
        rgba(91, 192, 222, 0.15) 0%,
        transparent 70%
    );
}

[data-bs-theme="dark"] .ft-principal-features::after {
    background: radial-gradient(
        circle at center,
        rgba(45, 130, 101, 0.12) 0%,
        transparent 60%
    );
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ft-principal-features {
        padding: 60px 0;
    }
}

/* ================================
   Principal Features Cards Layout
   ================================ */

/* Header container for icon + title */
.ft-principal-features .ft-feature-card > div:first-of-type {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

/* Icon size and spacing for principal features */
.ft-principal-features .ft-feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    margin-bottom: 0;
}

/* Title styling for horizontal layout */
.ft-principal-features .ft-feature-card h3 {
    margin-bottom: 0;
    flex: 1;
}

/* Responsive adjustments for principal features horizontal layout */
@media (max-width: 992px) {
    .ft-principal-features .ft-feature-card > div:first-of-type {
        gap: 1rem;
        margin-bottom: 0.875rem;
    }

    .ft-principal-features .ft-feature-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
    }
}

@media (max-width: 768px) {
    .ft-principal-features .ft-feature-card > div:first-of-type {
        gap: 0.875rem;
        margin-bottom: 0.75rem;
    }

    .ft-principal-features .ft-feature-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
}

@media (max-width: 576px) {
    .ft-principal-features .ft-feature-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }
}

/* ================================
   Additional Features Section
   ================================ */

/* Additional Features Container */
.ft-features {
    background: linear-gradient(
        135deg,
        #f0f7ff 0%,
        #e3f2fd 30%,
        #e1f5fe 70%,
        #e8f4f8 100%
    );
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.ft-features::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -15%;
    width: 130%;
    height: 180%;
    background: radial-gradient(
        ellipse at center,
        rgba(33, 150, 243, 0.08) 0%,
        transparent 65%
    );
    pointer-events: none;
}

.ft-features::after {
    content: "";
    position: absolute;
    bottom: -35%;
    right: -15%;
    width: 110%;
    height: 110%;
    background: radial-gradient(
        circle at center,
        rgba(66, 165, 245, 0.06) 0%,
        transparent 55%
    );
    pointer-events: none;
}

[data-bs-theme="dark"] .ft-features {
    background: linear-gradient(135deg, #0f1e2e 0%, #1a2f3f 40%, #15202b 100%);
}

[data-bs-theme="dark"] .ft-features::before {
    background: radial-gradient(
        ellipse at center,
        rgba(33, 150, 243, 0.12) 0%,
        transparent 65%
    );
}

[data-bs-theme="dark"] .ft-features::after {
    background: radial-gradient(
        circle at center,
        rgba(66, 165, 245, 0.08) 0%,
        transparent 55%
    );
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ft-features {
        padding: 60px 0;
    }
}

/* ================================
   Additional Features Cards Style
   ================================ */

/* Compact card style for additional features */
.ft-features .ft-feature-card {
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(33, 150, 243, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.08);
}

.ft-features .ft-feature-card::before {
    height: 3px;
    background: linear-gradient(
        135deg,
        rgba(33, 150, 243, 0.8) 0%,
        rgba(66, 165, 245, 0.8) 100%
    );
}

.ft-features .ft-feature-card:hover {
    transform: translateY(-5px) scale(1.01);
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(33, 150, 243, 0.3);
    box-shadow: 0 8px 30px rgba(33, 150, 243, 0.15);
}

/* Dark mode for additional features cards */
[data-bs-theme="dark"] .ft-features .ft-feature-card {
    background: rgba(24, 34, 47, 0.7);
    border: 1px solid rgba(33, 150, 243, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .ft-features .ft-feature-card:hover {
    background: rgba(24, 34, 47, 0.9);
    border-color: rgba(33, 150, 243, 0.4);
    box-shadow: 0 8px 30px rgba(33, 150, 243, 0.2);
}

/* Header container for icon + title */
.ft-features .ft-feature-card > div:first-of-type {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

/* Smaller, more compact icon */
.ft-features .ft-feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    margin-bottom: 0;
    font-size: 1.4rem;
    background: linear-gradient(
        135deg,
        rgba(33, 150, 243, 0.9) 0%,
        rgba(66, 165, 245, 0.9) 100%
    );
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    transition: all 0.3s ease;
}

.ft-features .ft-feature-card:hover .ft-feature-icon {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

[data-bs-theme="dark"] .ft-features .ft-feature-icon {
    background: linear-gradient(
        135deg,
        rgba(33, 150, 243, 1) 0%,
        rgba(66, 165, 245, 1) 100%
    );
}

/* Compact title */
.ft-features .ft-feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--ft-financial-primary);
    line-height: 1.3;
    flex: 1;
}

/* Compact description */
.ft-features .ft-feature-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.75;
    line-height: 1.5;
}

/* Outline button style for additional features */
.ft-features .ft-btn-outline {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid rgba(33, 150, 243, 0.3);
    color: var(--ft-financial-primary);
    background: transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.ft-features .ft-btn-outline:hover {
    background: linear-gradient(
        135deg,
        rgba(33, 150, 243, 0.1) 0%,
        rgba(66, 165, 245, 0.1) 100%
    );
    border-color: rgba(33, 150, 243, 0.6);
    color: var(--ft-financial-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
}

[data-bs-theme="dark"] .ft-features .ft-btn-outline {
    border-color: rgba(33, 150, 243, 0.4);
    color: rgba(33, 150, 243, 0.9);
}

[data-bs-theme="dark"] .ft-features .ft-btn-outline:hover {
    background: linear-gradient(
        135deg,
        rgba(33, 150, 243, 0.15) 0%,
        rgba(66, 165, 245, 0.15) 100%
    );
    border-color: rgba(33, 150, 243, 0.8);
    color: rgba(33, 150, 243, 1);
}

/* Subtle accent line on left side */
.ft-features .ft-feature-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(33, 150, 243, 0.5),
        transparent
    );
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ft-features .ft-feature-card:hover::after {
    opacity: 1;
}

.btn-warning-burnt,
.ft-footer a.btn-warning-burnt {
    background: linear-gradient(135deg, #cc9916 0%, #c7af10 100%);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(204, 153, 22, 0.3);
    border-radius: 6px;
}

.btn-warning-burnt:hover {
    background: linear-gradient(135deg, #b88714 0%, #b39e0e 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(204, 153, 22, 0.4);
    color: white;
}

.btn-warning-burnt:active {
    transform: translateY(0);
}

/* Form Controls Focus */
.form-control:focus,
.form-select:focus {
    border-color: #cc9916;
    box-shadow: 0 0 0 0.2rem rgba(204, 153, 22, 0.25);
}

/* Radio Buttons */
.btn-check:checked + .btn-outline-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.btn-check:checked + .btn-outline-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}

.btn-check:checked + .btn-outline-success {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

/* Responsive adjustments for compact cards */
@media (max-width: 768px) {
    .ft-features .ft-feature-card {
        padding: 1.25rem;
    }

    .ft-features .ft-feature-card > div:first-of-type {
        gap: 0.75rem;
        margin-bottom: 0.6rem;
    }

    .ft-features .ft-feature-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1.2rem;
    }

    .ft-features .ft-feature-card h3 {
        font-size: 0.95rem;
    }

    .ft-features .ft-feature-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .ft-features .ft-feature-card > div:first-of-type {
        gap: 0.65rem;
    }

    .ft-features .ft-feature-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1.1rem;
    }

    .ft-features .ft-feature-card h3 {
        font-size: 0.9rem;
        line-height: 1.25;
    }
}

/* ================================
   Feedback Page Styles
   ================================ */

/* Feedback Page Header */
.ft-feedback-header {
    background: linear-gradient(135deg, #1d3f51, #28685b);
    color: white;
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.ft-feedback-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.ft-feedback-header h1 {
    font-weight: 800;
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.ft-feedback-header p {
    font-size: 1.15rem;
    opacity: 0.95;
    position: relative;
    z-index: 2;
}

.ft-feedback-header .ft-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    font-size: 1.75rem;
    margin-right: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Feedback Form Card */
.ft-feedback-card {
    background: var(--ft-financial-bg);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--ft-financial-border);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.ft-feedback-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--ft-gradient-primary);
}

[data-bs-theme="dark"] .ft-feedback-card {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.ft-feedback-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.ft-feedback-card .card-body {
    padding: 2.5rem;
}

/* Form Labels with Icons */
.ft-form-label {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--ft-financial-text);
    display: flex;
    align-items: center;
}

.ft-form-label i {
    color: var(--ft-financial-primary);
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* Enhanced Form Controls */
.ft-feedback-card .form-control,
.ft-feedback-card .form-select {
    padding: 0.875rem 1.125rem;
    border: 2px solid var(--ft-financial-border);
    border-radius: 12px;
    transition: all 0.3s ease;
    color: var(--ft-financial-text);
}

.ft-feedback-card .form-control:focus,
.ft-feedback-card .form-select:focus {
    border-color: var(--ft-financial-primary);
    box-shadow: 0 0 0 0.25rem rgba(45, 130, 101, 0.15);
}

/* Type Selection Buttons */
.ft-feedback-type-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ft-feedback-type-group .btn {
    flex: 1;
    min-width: 120px;
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ft-feedback-type-group .btn-check:checked + .btn {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Info Cards */
.ft-feedback-info-card {
    background: var(--ft-financial-card);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.ft-feedback-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--ft-gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.ft-feedback-info-card:hover::before {
    transform: scaleX(1);
}

.ft-feedback-info-card:hover {
    border-color: var(--ft-financial-primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.ft-feedback-info-card i {
    color: var(--ft-financial-primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.ft-feedback-info-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.ft-feedback-info-card h6 {
    font-weight: 700;
    color: var(--ft-financial-text);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.ft-feedback-info-card small {
    color: var(--ft-financial-text);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Success Alert */
.ft-feedback-success {
    background: linear-gradient(
        135deg,
        rgba(25, 135, 84, 0.1),
        rgba(25, 135, 84, 0.05)
    );
    border: 2px solid var(--ft-success);
    border-radius: 15px;
    padding: 1.25rem 1.5rem;
    color: var(--ft-financial-text);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.15);
}

.ft-feedback-success i {
    color: var(--ft-success);
    font-size: 1.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ft-feedback-header {
        padding: 3rem 0 2rem;
    }

    .ft-feedback-header h1 {
        font-size: 2rem;
    }

    .ft-feedback-header p {
        font-size: 1rem;
    }

    .ft-feedback-card .card-body {
        padding: 1.5rem;
    }

    .ft-feedback-type-group .btn {
        min-width: 100px;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .ft-feedback-info-card {
        margin-bottom: 1rem;
    }
}

/* ================================
   About Page Styles
   ================================ */

/* About Hero Section */
.ft-about-hero {
    background: var(--ft-gradient-hero);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.ft-about-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.ft-about-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.ft-about-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.ft-gradient-text {
    background: linear-gradient(135deg, #fff 0%, #15cf88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ft-about-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.ft-about-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.ft-about-stat-item {
    text-align: center;
}

.ft-about-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.ft-about-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ft-about-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ft-about-profile-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ft-about-profile-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: var(--ft-gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.ft-about-profile-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* About Quote */
.ft-about-quote {
    background: rgba(45, 130, 101, 0.05);
    border-left: 4px solid var(--ft-financial-primary);
    padding: 2rem;
    border-radius: 0 12px 12px 0;
    position: relative;
    margin: 2rem 0;
}

.ft-about-quote i {
    font-size: 2.5rem;
    color: var(--ft-financial-primary);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
}

.ft-about-quote p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--ft-financial-text);
    margin: 0;
    padding-left: 3rem;
}

/* About Info Cards */
.ft-about-info-card {
    background: var(--ft-financial-bg);
    border: 2px solid var(--ft-financial-border);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.ft-about-info-card:hover {
    border-color: var(--ft-financial-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ft-about-info-icon {
    width: 60px;
    height: 60px;
    background: var(--ft-gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.5rem;
}

.ft-about-info-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ft-financial-primary);
    margin-bottom: 1rem;
}

.ft-about-info-card p {
    color: var(--ft-financial-text);
    opacity: 0.8;
    margin: 0;
}

/* About Description */
.ft-about-description h3 {
    color: var(--ft-financial-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.ft-about-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ft-financial-text);
    margin-bottom: 1.5rem;
}

/* Tech Cards */
.ft-tech-card {
    background: var(--ft-financial-bg);
    border: 2px solid var(--ft-financial-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.ft-tech-card:hover {
    border-color: var(--ft-financial-primary);
    transform: translateY(-5px);
}

.ft-tech-card i {
    font-size: 2.5rem;
    color: var(--ft-financial-primary);
    margin-bottom: 1rem;
}

.ft-tech-card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ft-financial-text);
}

.ft-tech-bar {
    width: 100%;
    height: 6px;
    background: var(--ft-financial-border);
    border-radius: 10px;
    overflow: hidden;
}

.ft-tech-progress {
    height: 100%;
    background: var(--ft-gradient-primary);
    transition: width 1s ease;
}

/* About CTA Section */
.ft-about-cta-section {
    background: var(--ft-gradient-hero);
    color: white;
}

.ft-about-cta-box {
    text-align: center;
    padding: 3rem 2rem;
}

.ft-about-cta-box h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.ft-about-cta-box p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .ft-about-hero {
        padding: 3rem 0;
    }

    .ft-about-hero-title {
        font-size: 2.5rem;
    }

    .ft-about-stats {
        gap: 1.5rem;
    }

    .ft-about-stat-number {
        font-size: 2rem;
    }

    .ft-about-profile-card {
        margin-top: 2rem;
    }
}

/* About Profile Info Card */
.ft-about-profile-info {
    background: var(--ft-financial-bg);
    border: 2px solid var(--ft-financial-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.ft-about-profile-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    background: var(--ft-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: 0 5px 15px rgba(45, 130, 101, 0.3);
}

.ft-about-profile-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ft-financial-primary);
    margin-bottom: 0.5rem;
}

.ft-about-profile-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 1.5rem;
    border-top: 2px solid var(--ft-financial-border);
}

.ft-about-profile-stat {
    text-align: center;
}

.ft-about-profile-stat .stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ft-financial-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.ft-about-profile-stat .stat-label {
    font-size: 0.75rem;
    color: var(--ft-financial-text);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* About Professional Info */
.ft-about-professional-info {
    height: 100%;
}

.ft-about-professional-info .lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--ft-financial-text);
}

/* About Detail Cards */
.ft-about-detail-card {
    background: var(--ft-financial-bg);
    border: 2px solid var(--ft-financial-border);
    border-radius: 15px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.ft-about-detail-card:hover {
    border-color: var(--ft-financial-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.ft-about-detail-icon {
    width: 50px;
    height: 50px;
    background: var(--ft-gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.ft-about-detail-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ft-financial-primary);
    margin-bottom: 0.75rem;
}

.ft-about-detail-card p {
    font-size: 0.95rem;
    color: var(--ft-financial-text);
    opacity: 0.8;
    margin: 0;
    line-height: 1.6;
}

/* Service Items */
.ft-service-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1rem;
    background: var(--ft-financial-bg);
    border: 1px solid var(--ft-financial-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.ft-service-item:hover {
    border-color: var(--ft-financial-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ft-service-item i {
    font-size: 1.75rem;
    color: var(--ft-financial-primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.ft-service-item h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ft-financial-text);
    margin-bottom: 0.25rem;
}

.ft-service-item p {
    font-size: 0.85rem;
    color: var(--ft-financial-text);
    opacity: 0.7;
}

/* Free Projects CTA Section */
.ft-free-projects-cta {
    background: var(--ft-financial-bg-light);
    position: relative;
    overflow: hidden;
}

.ft-free-projects-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 123, 255, 0.03) 0%,
        rgba(108, 117, 125, 0.02) 100%
    );
    pointer-events: none;
}

.ft-cta-projects-wrapper {
    position: relative;
    z-index: 1;
}

.ft-project-card {
    display: block;
    background: #0d1b2a;
    border: 2px solid var(--ft-financial-border);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ft-project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 123, 255, 0.05),
        transparent
    );
    transition: left 0.6s ease;
}

.ft-project-card:hover::before {
    left: 100%;
}

.ft-project-card:hover {
    transform: translateY(-8px);
    border-color: var(--ft-financial-primary);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.15);
}

.ft-project-icon {
    width: 70px;
    height: 70px;
    background: var(--ft-gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.ft-project-card:hover .ft-project-icon {
    transform: scale(1.1) rotate(5deg);
}

.ft-project-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ft-financial-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.ft-project-card:hover h3 {
    color: #0056b3;
}

.ft-project-card p {
    font-size: 1rem;
    color: var(--ft-financial-text);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.ft-project-features {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.ft-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    background: var(--ft-financial-bg-light);
    border: 1px solid var(--ft-financial-border);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ft-financial-text);
    transition: all 0.3s ease;
}

.ft-project-card:hover .ft-feature-tag {
    background: rgba(0, 123, 255, 0.1);
    border-color: var(--ft-financial-primary);
    color: var(--ft-financial-primary);
}

.ft-feature-tag i {
    font-size: 0.9rem;
    color: var(--ft-financial-primary);
}

.ft-project-link {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ft-financial-primary);
    transition: all 0.3s ease;
}

.ft-project-card:hover .ft-project-link {
    transform: translateX(5px);
    color: #0056b3;
}

.ft-project-link i {
    transition: transform 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .ft-project-card {
        padding: 1.5rem;
    }

    .ft-project-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .ft-project-card h3 {
        font-size: 1.3rem;
    }

    .ft-project-card p {
        font-size: 0.95rem;
    }
}

/* Category Pages - Tool Cards */
.ft-tool-card {
    background: var(--ft-financial-bg);
    border: 1px solid var(--ft-financial-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ft-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--ft-financial-primary);
}

.ft-tool-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: rgba(45, 130, 101, 0.1);
    color: var(--ft-financial-primary);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.ft-tool-card:hover .ft-tool-icon {
    transform: scale(1.1);
}

.ft-tool-icon.bg-primary {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.ft-tool-icon.bg-success {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.ft-tool-icon.bg-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.ft-tool-icon.bg-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.ft-tool-icon.bg-info {
    background: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

.ft-tool-icon.bg-secondary {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.ft-tool-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ft-financial-text);
    margin-bottom: 0.75rem;
}

.ft-tool-description {
    font-size: 0.9rem;
    color: var(--ft-financial-text);
    opacity: 0.8;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Stat Cards */
.ft-stat-card {
    padding: 1.5rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .ft-stat-card {
    background: var(--ft-financial-card);
    border: 1px solid var(--ft-financial-border);
}

.ft-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Hero Gradient Overlay */
.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(
            circle at 30% 50%,
            rgba(21, 207, 136, 0.2) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 50%,
            rgba(30, 107, 138, 0.2) 0%,
            transparent 50%
        );
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .ft-tool-card {
        padding: 1.25rem;
    }

    .ft-tool-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .ft-tool-title {
        font-size: 1rem;
    }

    .ft-tool-description {
        font-size: 0.85rem;
    }
}

/* Category Page - About & Benefits Sections */
.ft-about {
    background: var(--ft-financial-bg-light);
}

.ft-about-image-wrapper,
.ft-benefits-image-wrapper {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ft-about-image-bg,
.ft-benefits-image-bg {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d8265 0%, #15cf88 100%);
    opacity: 0.1;
    animation: pulse 3s ease-in-out infinite;
}

.ft-benefits-image-bg.bg-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.ft-benefits-image-bg.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
}

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

.ft-about-image-icon,
.ft-benefits-image-icon {
    position: relative;
    width: 180px;
    height: 180px;
    background: var(--ft-financial-card-bg);
    border: 4px solid var(--ft-financial-border);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--ft-financial-primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.ft-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.ft-badge-success {
    background: rgba(45, 130, 101, 0.1);
    color: #2d8265;
}

.ft-badge-primary {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.ft-badge-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.ft-section-heading {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--ft-financial-text);
    line-height: 1.2;
}

.ft-text-muted {
    font-size: 1.05rem;
    color: var(--ft-financial-text);
    opacity: 0.8;
    line-height: 1.7;
}

.ft-feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ft-feature-list-item {
    display: flex;
    gap: 1rem;
}

.ft-feature-list-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #2d8265 0%, #15cf88 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(45, 130, 101, 0.3);
}

.ft-feature-list-item h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ft-financial-text);
    margin-bottom: 0.25rem;
}

.ft-feature-list-item p {
    font-size: 0.95rem;
    color: var(--ft-financial-text);
    opacity: 0.75;
    line-height: 1.5;
}

.ft-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.ft-info-card {
    padding: 1.25rem;
    background: var(--ft-financial-card-bg);
    border: 1px solid var(--ft-financial-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.ft-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.ft-info-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.75rem;
}

.ft-info-icon.bg-success {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
}

.ft-info-icon.bg-info {
    background: linear-gradient(135deg, #0dcaf0 0%, #0aa2c0 100%);
}

.ft-info-card h6 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ft-financial-text);
    margin-bottom: 0.5rem;
}

.ft-info-card p {
    color: var(--ft-financial-text);
    opacity: 0.75;
}

.ft-highlight-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    margin-top: 1.5rem;
}

.ft-highlight-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.ft-highlight-content h6 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ft-financial-text);
}

.ft-highlight-content p {
    color: var(--ft-financial-text);
    opacity: 0.8;
    line-height: 1.6;
}

/* Responsive for About & Benefits */
@media (max-width: 992px) {
    .ft-about-image-wrapper,
    .ft-benefits-image-wrapper {
        height: 300px;
    }

    .ft-about-image-bg,
    .ft-benefits-image-bg {
        width: 240px;
        height: 240px;
    }

    .ft-about-image-icon,
    .ft-benefits-image-icon {
        width: 140px;
        height: 140px;
        font-size: 4rem;
    }

    .ft-section-heading {
        font-size: 1.85rem;
    }

    .ft-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .ft-feature-list-item {
        flex-direction: column;
    }

    .ft-highlight-box {
        flex-direction: column;
    }
}

/* Section Titles with Icons */
.ft-section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.ft-section-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #2d8265 0%, #15cf88 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(45, 130, 101, 0.3);
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.ft-section-icon::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    opacity: 0.5;
    filter: blur(20px);
    z-index: -1;
}

.ft-section-icon.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
}

.ft-section-icon.bg-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    box-shadow: 0 10px 30px rgba(108, 117, 125, 0.3);
}

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

.ft-section-title h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--ft-financial-text);
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.ft-section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #2d8265 0%, #15cf88 100%);
    border-radius: 2px;
}

.ft-section-title p {
    font-size: 1.1rem;
    color: var(--ft-financial-text);
    opacity: 0.75;
    margin: 0 auto;
    padding-top: 0.5rem;
    text-align: center;
    max-width: 700px;
}

/* Hero for Secondary Pages */
.ft-hero-secondary {
    background: linear-gradient(135deg, #1e5a45 0%, #2d8265 50%, #15cf88 100%);
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
    color: white;
}

.ft-hero-secondary::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(21, 207, 136, 0.3) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: float-slow 20s ease-in-out infinite;
}

.ft-hero-secondary::after {
    content: "";
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

/* Hero Investimentos (Purple/Blue) */
.ft-hero-investimentos {
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 50%, #a78bfa 100%);
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
    color: white;
}

.ft-hero-investimentos::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(167, 139, 250, 0.25) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: float-diagonal 25s ease-in-out infinite;
}

.ft-hero-investimentos::after {
    content: "";
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(124, 58, 237, 0.2) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: float-diagonal 20s ease-in-out infinite reverse;
}

/* Hero Planeamento (Orange/Gold) */
.ft-hero-planeamento {
    background: linear-gradient(135deg, #6c1768 0%, #c15127 50%, #672424 100%);
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
    color: white;
}

.ft-hero-planeamento::before {
    content: "";
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(251, 146, 60, 0.3) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: pulse-glow 8s ease-in-out infinite;
}

.ft-hero-planeamento::after {
    content: "";
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: pulse-glow 10s ease-in-out infinite reverse;
}

/* Hero Habitacao (Blue/Cyan) */
.ft-hero-habitacao {
    background: linear-gradient(135deg, #0c4a6e 0%, #0284c7 50%, #38bdf8 100%);
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
    color: white;
}

.ft-hero-habitacao::before {
    content: "";
    position: absolute;
    top: -30%;
    left: 50%;
    width: 550px;
    height: 550px;
    background: radial-gradient(
        circle,
        rgba(56, 189, 248, 0.25) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: float-wave 18s ease-in-out infinite;
    transform: translateX(-50%);
}

.ft-hero-habitacao::after {
    content: "";
    position: absolute;
    bottom: -20%;
    right: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.12) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: float-wave 15s ease-in-out infinite reverse;
}

/* Additional Animations */
@keyframes float-diagonal {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(40px, -40px) scale(1.15);
    }
}

@keyframes pulse-glow {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

@keyframes float-wave {
    0%,
    100% {
        transform: translateX(-50%) translateY(0) scale(1);
    }
    50% {
        transform: translateX(-50%) translateY(-25px) scale(1.1);
    }
}

@keyframes float-slow {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.ft-hero-secondary .container {
    position: relative;
    z-index: 2;
}

.ft-hero-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #15cf88;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    animation: pulse-icon 3s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 20px 50px rgba(21, 207, 136, 0.4);
    }
}

.ft-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fade-in-up 0.8s ease-out;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ft-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    text-align: center;
    opacity: 0.95;
    animation: fade-in-up 0.8s ease-out 0.2s both;
}

.ft-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fade-in-up 0.8s ease-out 0.4s both;
}

.ft-hero-buttons .ft-btn {
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ft-hero-buttons .ft-btn-primary {
    background: white;
    color: #2d8265;
    border: 2px solid white;
}

.ft-hero-buttons .ft-btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.ft-hero-buttons .ft-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.ft-hero-buttons .ft-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Decorative Elements */
.ft-hero-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: rotate-slow 30s linear infinite;
}

.ft-hero-decoration:nth-child(1) {
    top: 10%;
    right: 10%;
}

.ft-hero-decoration:nth-child(2) {
    bottom: 15%;
    left: 5%;
    width: 150px;
    height: 150px;
    animation-duration: 25s;
    animation-direction: reverse;
}

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

/* Responsive Hero */
@media (max-width: 992px) {
    .ft-hero-secondary {
        padding: 5rem 0 4rem;
    }

    .ft-hero-icon {
        width: 85px;
        height: 85px;
        font-size: 2.5rem;
    }

    .ft-hero-title {
        font-size: 2.75rem;
    }

    .ft-hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .ft-hero-secondary {
        padding: 4rem 0 3rem;
    }

    .ft-hero-icon {
        width: 75px;
        height: 75px;
        font-size: 2rem;
    }

    .ft-hero-title {
        font-size: 2.25rem;
    }

    .ft-hero-subtitle {
        font-size: 1rem;
    }

    .ft-hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .ft-hero-buttons .ft-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive Section Titles */
@media (max-width: 768px) {
    .ft-section-icon {
        width: 65px;
        height: 65px;
        font-size: 2rem;
    }

    .ft-section-title h2 {
        font-size: 1.75rem;
    }

    .ft-section-title p {
        font-size: 0.95rem;
    }
}

/* Blog Content Styles */
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--ft-financial-primary);
    font-weight: 700;
}

.blog-content h1 {
    font-size: 2.25rem;
    line-height: 1.3;
}

.blog-content h2 {
    font-size: 2rem;
    line-height: 1.35;
}

.blog-content h3 {
    font-size: 1.75rem;
    line-height: 1.4;
}

.blog-content h4 {
    font-size: 1.5rem;
    line-height: 1.45;
}

.blog-content h5 {
    font-size: 1.25rem;
    line-height: 1.5;
}

.blog-content h6 {
    font-size: 1.1rem;
    line-height: 1.55;
}

.blog-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--ft-financial-text);
    font-size: 1.05rem;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.blog-content ul {
    list-style-type: disc;
}

.blog-content ol {
    list-style-type: decimal;
}

.blog-content a {
    color: var(--ft-financial-primary);
    text-decoration: none;
    font-weight: 500;
}

.blog-content a:hover {
    color: var(--ft-financial-secondary);
    text-decoration: underline;
}

.blog-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem;
    border-left: 4px solid var(--ft-financial-primary);
    background: var(--ft-financial-bg);
    color: var(--ft-financial-text);
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.blog-content blockquote p {
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.blog-content th,
.blog-content td {
    padding: 0.75rem;
    border: 1px solid var(--ft-financial-border);
    text-align: left;
}

.blog-content th {
    background: var(--ft-financial-bg);
    font-weight: 600;
    color: var(--ft-financial-primary);
}

.blog-content .highlight {
    background: var(--ft-financial-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--ft-financial-primary);
}

.blog-content pre {
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.blog-content code {
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

[data-bs-theme="dark"] .blog-content pre,
[data-bs-theme="dark"] .blog-content code {
    background: #2b3035;
}

[data-bs-theme="dark"] .blog-content blockquote {
    background: #2b3035;
}

[data-bs-theme="dark"] .blog-content .highlight {
    background: #2b3035;
}

/* Responsive blog content */
@media (max-width: 768px) {
    .blog-content h1 {
        font-size: 2rem;
    }

    .blog-content h2 {
        font-size: 1.75rem;
    }

    .blog-content h3 {
        font-size: 1.5rem;
    }

    .blog-content h4 {
        font-size: 1.25rem;
    }

    .blog-content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .blog-content blockquote {
        padding: 1rem;
    }

    .blog-content blockquote p {
        font-size: 1rem;
    }
}

/* Blog Card Styles */
.ft-card-hover {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.ft-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

[data-bs-theme="dark"] .ft-card-hover:hover {
    box-shadow: 0 1rem 3rem rgba(255, 255, 255, 0.1) !important;
}

/* Blog Post List Specific Styles */
.blog-post-list .card {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

.blog-post-list .card-title a:hover {
    color: var(--ft-financial-primary) !important;
}

/* Dark mode input group adjustments */
[data-bs-theme="dark"] .input-group-text {
    background-color: var(--bs-dark);
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .form-control {
    background-color: var(--bs-dark);
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .form-control:focus {
    background-color: var(--bs-dark);
    border-color: var(--ft-financial-primary);
    color: var(--bs-body-color);
}

/* ============================================
   Blog Post Show Specific Styles
   ============================================ */

/* Blog Post Container */
.blog-post-show {
    max-width: 900px;
}

/* Breadcrumb Navigation */
.blog-breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.blog-breadcrumb .breadcrumb-item {
    font-size: 0.875rem;
}

.blog-breadcrumb .breadcrumb-item a {
    color: var(--bs-secondary);
    text-decoration: none;
}

.blog-breadcrumb .breadcrumb-item a:hover {
    color: var(--ft-financial-primary);
}

.blog-breadcrumb .breadcrumb-item.active {
    color: var(--bs-body-color);
}

[data-bs-theme="dark"]
    .blog-breadcrumb
    .breadcrumb-item
    + .breadcrumb-item::before {
    color: var(--bs-secondary);
}

/* Category Badge */
.blog-category-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-category-badge:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* Post Header */
.blog-post-header {
    margin-bottom: 2rem;
}

.blog-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--bs-body-color);
}

.blog-post-excerpt {
    font-size: 1.25rem;
    color: var(--bs-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Meta Information */
.blog-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--bs-secondary);
}

.blog-meta-item i {
    color: var(--ft-financial-primary);
}

.author-card {
    background: var(--ft-gradient-author);
}

.blog-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Tags */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    background: var(--bs-light);
    border: 1px solid var(--bs-border-color);
    border-radius: 50px;
    font-size: 0.8125rem;
    color: var(--bs-body-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background: var(--ft-financial-primary);
    border-color: var(--ft-financial-primary);
    color: white;
    transform: translateY(-2px);
}

[data-bs-theme="dark"] .blog-tag {
    background: var(--bs-dark);
    border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .blog-tag:hover {
    background: var(--ft-financial-primary);
    border-color: var(--ft-financial-primary);
}

/* Featured Image */
.blog-featured-image {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

[data-bs-theme="dark"] .blog-featured-image {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Gallery Grid */
.blog-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.blog-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.blog-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

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

[data-bs-theme="dark"] .blog-gallery-item {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .blog-gallery-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

/* Share Buttons */
.blog-share {
    padding: 2rem 0;
    border-top: 1px solid var(--bs-border-color);
}

.blog-share-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bs-body-color);
}

.blog-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.blog-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.blog-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.blog-share-btn.facebook {
    background: #1877f2;
    color: white;
}

.blog-share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.blog-share-btn.linkedin {
    background: #0a66c2;
    color: white;
}

.blog-share-btn.whatsapp {
    background: #25d366;
    color: white;
}

.blog-share-btn.email {
    background: var(--bs-secondary);
    color: white;
}

/* Related Posts */
.blog-related {
    margin-top: 4rem;
}

.blog-related-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--bs-body-color);
}

.blog-related-card {
    height: 100%;
    border: 1px solid var(--bs-border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--bs-body-bg);
    text-decoration: none;
    display: block;
}

.blog-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--ft-financial-primary);
}

.blog-related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-related-card-body {
    padding: 1.25rem;
}

.blog-related-card-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.blog-related-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--bs-body-color);
    line-height: 1.4;
}

.blog-related-card-excerpt {
    font-size: 0.875rem;
    color: var(--bs-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.blog-related-card-meta {
    font-size: 0.8125rem;
    color: var(--bs-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

[data-bs-theme="dark"] .blog-related-card:hover {
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.1);
}

/* Comments Section */
.blog-comments {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--bs-border-color);
}

.blog-comments-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--bs-body-color);
}

.blog-comment {
    padding: 1.5rem;
    background: var(--bs-light);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.blog-comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-comment-author {
    font-weight: 600;
    color: var(--bs-body-color);
    margin-bottom: 0.25rem;
}

.blog-comment-date {
    font-size: 0.8125rem;
    color: var(--bs-secondary);
}

.blog-comment-body {
    color: var(--bs-body-color);
    line-height: 1.6;
}

.blog-comment-reply {
    margin-left: 3rem;
    margin-top: 1rem;
}

[data-bs-theme="dark"] .blog-comment {
    background: var(--bs-dark);
}

/* Comment Form */
.blog-comment-form {
    background: var(--bs-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.blog-comment-form-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .blog-comment-form {
    background: var(--bs-dark);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-post-title {
        font-size: 2rem;
    }

    .blog-post-excerpt {
        font-size: 1.125rem;
    }

    .blog-meta-info {
        gap: 1rem;
    }

    .blog-share-buttons {
        flex-direction: column;
    }

    .blog-share-btn {
        width: 100%;
        justify-content: center;
    }

    .blog-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .blog-comment-reply {
        margin-left: 1.5rem;
    }

    .blog-related-title {
        font-size: 1.5rem;
    }
}

.hover-bg-light:hover {
    background-color: var(--bs-light) \!important;
}

/* Blog Content - Hide file attachment captions */
.blog-content .tiptap-editor__content figcaption,
.blog-content figcaption {
    display: none !important;
}

/* Also hide in Filament editor preview */
.fi-fo-rich-editor figcaption {
    display: none !important;
}

/* Blog Sidebar - Disclaimer Alert */
.alert-info {
    background-color: rgba(13, 202, 240, 0.1);
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .alert-info {
    background-color: rgba(13, 202, 240, 0.15);
}

.alert-info .bi-info-circle-fill {
    flex-shrink: 0;
}

/* ================================================
   Cookie & Privacy Popup Styles
   ================================================ */

/* Light Mode (Default) */
.cookie-privacy-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease-in-out;
}

.cookie-privacy-popup {
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
    position: relative;
}

.cookie-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: var(--bs-secondary-color);
    cursor: pointer;
    z-index: 10;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-popup-close:hover {
    background: var(--bs-secondary-bg);
    color: var(--bs-body-color);
}

.cookie-popup-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.cookie-popup-tabs {
    border-bottom: 2px solid var(--bs-border-color);
    padding: 0 1.5rem;
    margin: 0;
}

.cookie-popup-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--bs-secondary-color);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-popup-tabs .nav-link:hover {
    color: var(--bs-primary);
    border-bottom-color: rgba(var(--bs-primary-rgb), 0.3);
}

.cookie-popup-tabs .nav-link.active {
    color: var(--bs-primary);
    border-bottom-color: var(--bs-primary);
    background: transparent;
}

.cookie-popup-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.tab-pane-content {
    animation: fadeIn 0.2s ease-in-out;
}

.cookie-type-item,
.privacy-point-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bs-border-color-translucent);
}

.cookie-type-item:last-child,
.privacy-point-item:last-child,
.about-point-item:last-child {
    border-bottom: none;
}

/* About Tab Specific Styles */
.about-points {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-point-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bs-border-color);
}

.about-point-item i {
    font-size: 1.1rem;
}

.cookie-popup-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--bs-border-color);
    background: var(--bs-secondary-bg);
}

/* Dark Mode Adjustments */
[data-bs-theme="dark"] .cookie-privacy-popup-overlay {
    background: rgba(0, 0, 0, 0.7);
}

[data-bs-theme="dark"] .cookie-privacy-popup {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

[data-bs-theme="dark"] .cookie-popup-close:hover {
    background: var(--bs-tertiary-bg);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive Adjustments */
@media (max-width: 576px) {
    .cookie-privacy-popup {
        border-radius: 16px 16px 0 0;
        max-height: 85vh;
    }

    .cookie-popup-header {
        padding: 1.25rem 1.25rem 0.75rem;
    }

    .cookie-popup-body {
        padding: 1.25rem;
    }

    .cookie-popup-footer {
        padding: 0.75rem 1.25rem;
    }

    .cookie-popup-tabs .nav-link {
        font-size: 0.85rem;
        padding: 0.65rem 0.75rem;
    }
}
