/* ============================================ */
/* VISIONAL MANAGEMENT - BLUE & GOLD THEME */
/* ============================================ */

:root {
    --primary: #003366; /* Deep Blue */
    --primary-dark: #002244; /* Darker Blue */
    --primary-light: #1a4d8c; /* Lighter Blue */
    --secondary: #c9a04b; /* Gold */
    --secondary-light: #d4b15c; /* Lighter Gold */
    --secondary-dark: #b8862c; /* Darker Gold */
    --accent: #f0c45a; /* Bright Gold */
    --dark: #0a1a2b; /* Dark Blue-Black */
    --light: #f8f9fa;
    --gray: #6c757d;
    --transition: all 0.3s ease;
}

/* ============================================ */
/* GLOBAL RESET & HORIZONTAL SCROLL FIX */
/* ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: #2d3436;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* ============================================ */
/* CONTAINER FIXES */
/* ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ============================================ */
/* NAVBAR - FIXED ON SCROLL */
/* ============================================ */
.navbar {
    background: transparent;
    padding: 15px 0;
    transition: var(--transition);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-scrolled {
    background: rgba(0, 51, 102, 0.95); /* Blue with opacity */
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    line-height: 1.2;
    z-index: 1001;
    white-space: nowrap;
}

.navbar-brand span {
    color: var(--secondary); /* Gold */
    font-size: 1rem;
    display: block;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Desktop Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 1rem;
    white-space: nowrap;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary); /* Gold underline */
    transition: var(--transition);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

/* Mobile Menu Toggle Button */
.navbar-toggler {
    display: none;
    background: var(--secondary); /* Gold */
    border: none;
    color: var(--primary); /* Blue */
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
    position: relative;
}

.navbar-toggler:hover {
    background: var(--secondary-light);
    transform: scale(1.05);
}

.navbar-toggler i {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--primary);
}

.navbar-toggler.active {
    background: var(--primary);
}

.navbar-toggler.active i {
    color: var(--secondary);
}

/* ============================================ */
/* BUTTONS */
/* ============================================ */
.btn-primary {
    background: var(--secondary); /* Gold */
    color: var(--primary); /* Blue */
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(201, 160, 75, 0.3);
}

.btn-primary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(201, 160, 75, 0.4);
    color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid var(--secondary); /* Gold border */
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

.btn-outline:hover {
    background: var(--secondary); /* Gold */
    color: var(--primary); /* Blue */
    transform: translateY(-2px);
    border-color: var(--secondary);
}

/* ============================================ */
/* HERO CAROUSEL - COMPLETE FIX */
/* ============================================ */
.hero-carousel {
    height: 100vh;
    min-height: 700px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 8s ease;
}

.carousel-slide.active .slide-bg {
    transform: scale(1.1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.95) 0%, rgba(0, 34, 68, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    color: white;
    text-align: center;
    padding: 0 20px;
    width: 100%;
    margin: 0 auto;
}

.hero-pre-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary); /* Gold */
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-title span {
    color: var(--secondary); /* Gold */
}

.hero-sub-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.95);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid var(--secondary); /* Gold border */
    border-radius: 50%;
    color: var(--secondary); /* Gold */
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: var(--secondary); /* Gold */
    color: var(--primary); /* Blue */
}

.carousel-control.prev {
    left: 30px;
}

.carousel-control.next {
    right: 30px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.indicator {
    width: 50px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

.indicator.active {
    background: var(--secondary); /* Gold */
    width: 70px;
}

/* ============================================ */
/* STATS GRID */
/* ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.1);
    margin-top: -70px;
    position: relative;
    z-index: 20;
    width: 100%;
    border: 1px solid rgba(201, 160, 75, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary); /* Blue */
    line-height: 1.2;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================ */
/* SECTION PADDING */
/* ============================================ */
.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 70px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-title span {
    color: var(--secondary); /* Gold */
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 3rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ============================================ */
/* ABOUT SECTION */
/* ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content p {
    margin-bottom: 20px;
    color: #4a4a4a;
}

.about-highlight {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary); /* Blue */
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid var(--secondary); /* Gold */
    border-radius: 0 10px 10px 0;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.15);
    width: 100%;
    border: 1px solid rgba(201, 160, 75, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================ */
/* COMPANY INFO GRID */
/* ============================================ */
.company-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    transition: var(--transition);
    border-left: 4px solid var(--secondary); /* Gold accent */
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 51, 102, 0.1);
}

.info-card h3 {
    color: var(--primary); /* Blue */
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card p {
    color: #4a4a4a;
    margin-bottom: 5px;
}

.info-card .specialties {
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--gray);
}

/* ============================================ */
/* STATS CARDS */
/* ============================================ */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid var(--secondary); /* Gold accent */
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 51, 102, 0.3);
}

.stat-card .number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--secondary); /* Gold */
}

.stat-card .label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ============================================ */
/* PHILOSOPHY SECTION */
/* ============================================ */
.philosophy {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--secondary);
    opacity: 0.1;
    border-radius: 50%;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.philosophy-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: white;
}

.philosophy-content h2 span {
    color: var(--secondary); /* Gold */
}

.philosophy-content p {
    margin-bottom: 20px;
    opacity: 0.9;
    font-size: 1.1rem;
}

.philosophy-quote {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 30px 0;
    padding: 20px;
    background: rgba(201, 160, 75, 0.15); /* Gold with opacity */
    border-radius: 10px;
    border-left: 4px solid var(--secondary); /* Gold */
    color: rgba(255,255,255,0.95);
}

/* ============================================ */
/* CRYPTO TICKER STYLES */
/* ============================================ */
.crypto-ticker-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.1);
    border: 1px solid rgba(201, 160, 75, 0.2);
    margin: 30px 0;
    width: 100%;
}

.ticker-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
    background: var(--primary); /* Blue */
    color: white;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticker-body {
    max-height: 400px;
    overflow-y: auto;
}

.ticker-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(201, 160, 75, 0.1);
    align-items: center;
    transition: var(--transition);
}

.ticker-row:hover {
    background: rgba(201, 160, 75, 0.05);
}

.ticker-cell {
    font-size: 0.95rem;
}

.coin-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.coin-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.coin-name {
    font-weight: 600;
    color: var(--primary); /* Blue */
}

.coin-symbol {
    color: var(--gray);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.positive {
    color: #28a745 !important;
    font-weight: 600;
}

.negative {
    color: #dc3545 !important;
    font-weight: 600;
}

/* ============================================ */
/* TRADING SIGNALS STYLES */
/* ============================================ */
.signals-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.1);
    border: 1px solid rgba(201, 160, 75, 0.2);
    width: 100%;
}

.signals-filters {
    display: flex;
    gap: 10px;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(201, 160, 75, 0.2);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid rgba(201, 160, 75, 0.3);
    background: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary); /* Gold */
    color: white;
    border-color: var(--secondary);
}

.signals-table-container {
    overflow-x: auto;
    width: 100%;
}

.signals-table {
    width: 100%;
    border-collapse: collapse;
}

.signals-table thead {
    background: var(--primary); /* Blue */
    color: white;
}

.signals-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.signals-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(201, 160, 75, 0.1);
    font-size: 0.95rem;
}

.symbol-cell {
    font-weight: 600;
    color: var(--primary); /* Blue */
}

.symbol-cell small {
    color: var(--gray);
    font-weight: 400;
    font-size: 0.8rem;
}

.price-cell {
    font-weight: 600;
}

.signal-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    min-width: 100px;
}

.signal-buy {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.signal-sell {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.signal-hold {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.confidence-bar {
    position: relative;
    width: 100px;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.confidence-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border-radius: 10px;
}

.confidence-bar span {
    position: relative;
    z-index: 2;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    line-height: 20px;
    padding-left: 8px;
}

.indicator-cell {
    font-weight: 600;
    font-size: 0.85rem;
}

.indicator-cell.positive {
    color: #28a745;
}

.indicator-cell.negative {
    color: #dc3545;
}

.indicator-cell.neutral {
    color: #ffc107;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: var(--gray);
}

/* ============================================ */
/* INVESTMENT PLANS */
/* ============================================ */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
    width: 100%;
}

.plan-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.1);
    border: 1px solid rgba(201, 160, 75, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.plan-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 51, 102, 0.2);
    border-color: var(--secondary);
}

.plan-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary); /* Gold */
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary); /* Blue */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.plan-min-max {
    color: var(--gray);
    margin-bottom: 20px;
}

.plan-return {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary); /* Gold */
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.plan-return small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.plan-duration {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(201, 160, 75, 0.1);
    color: #4a4a4a;
}

.plan-features li i {
    color: var(--secondary); /* Gold */
    margin-right: 10px;
}

.plan-btn {
    display: block;
    text-align: center;
    background: var(--primary); /* Blue */
    color: white;
    padding: 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid var(--secondary);
}

.plan-btn:hover {
    background: var(--secondary); /* Gold */
    color: var(--primary); /* Blue */
}

/* ============================================ */
/* FOOTER */
/* ============================================ */
.footer {
    background: var(--primary); /* Blue */
    color: white;
    padding: 80px 0 20px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: var(--secondary);
    opacity: 0.1;
    border-radius: 50%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: inline-block;
    color: white;
    text-decoration: none;
}

.footer-logo span {
    color: var(--secondary); /* Gold */
    font-size: 1rem;
    display: block;
    font-weight: 300;
    letter-spacing: 1px;
}

.footer-text {
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary); /* Gold */
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary); /* Gold */
    color: var(--primary); /* Blue */
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary); /* Gold */
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary); /* Gold */
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.footer-contact-icon i {
    color: var(--secondary); /* Gold */
}

.footer-contact-text {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(201, 160, 75, 0.2);
    text-align: center;
    opacity: 0.7;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--secondary); /* Gold */
}

/* ============================================ */
/* BACK TO TOP */
/* ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary); /* Gold */
    color: var(--primary); /* Blue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
    box-shadow: 0 4px 15px rgba(201, 160, 75, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary); /* Blue */
    color: var(--secondary); /* Gold */
    transform: translateY(-5px);
}

/* ============================================ */
/* SCROLLBAR STYLES */
/* ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 0px; /* Hide horizontal scrollbar */
}

::-webkit-scrollbar-thumb {
    background: var(--secondary); /* Gold */
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 51, 102, 0.1);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) rgba(0, 51, 102, 0.1);
}

/* Only hide truly empty elements with no classes (safer) */
div:empty:not([class]):not([id]),
section:empty:not([class]):not([id]),
article:empty:not([class]):not([id]) {
    display: none !important;
}

/* ============================================ */
/* MOBILE RESPONSIVE FIXES - 1024px */
/* ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .stats-grid,
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================ */
/* MOBILE RESPONSIVE FIXES - 768px */
/* ============================================ */
@media (max-width: 768px) {
    /* Global container fix */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100% !important;
    }
    
    /* Navbar mobile */
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-brand span {
        font-size: 0.7rem;
    }
    
    .navbar-toggler {
        display: flex !important;
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }
    
    .navbar-toggler i {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--primary); /* Blue */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 80px 20px 40px;
        transition: left 0.3s ease;
        z-index: 1000;
        margin: 0;
        gap: 20px;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        font-size: 1.3rem;
        padding: 15px 0;
        width: 100%;
        text-align: center;
        color: white;
    }
    
    .nav-menu .nav-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 250px;
        margin-top: 20px;
    }
    
    .nav-menu .btn-outline,
    .nav-menu .btn-primary {
        width: 100%;
        text-align: center;
        margin: 5px 0 !important;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .nav-menu .btn-outline {
        color: white;
        border-color: var(--secondary); /* Gold */
    }
    
    .nav-menu .btn-outline:hover {
        background: var(--secondary); /* Gold */
        color: var(--primary); /* Blue */
    }
    
    /* Hero section mobile */
    .hero-carousel {
        min-height: 600px;
        height: 100vh;
    }
    
    .hero-content {
        padding: 0 15px;
        text-align: center;
    }
    
    .hero-pre-title {
        font-size: 0.8rem;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 10px;
        line-height: 1.2;
    }
    
    .hero-sub-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
        max-width: 100%;
        padding: 0 5px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        width: 100%;
    }
    
    .hero-buttons a {
        width: 100%;
        max-width: 220px;
        margin: 0 auto !important;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    /* Carousel controls */
    .carousel-control {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.15);
    }
    
    .carousel-control.prev {
        left: 10px;
    }
    
    .carousel-control.next {
        right: 10px;
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
    
    .indicator {
        width: 30px;
        height: 3px;
    }
    
    .indicator.active {
        width: 45px;
    }
    
    /* Stats grid */
    .stats-grid {
        margin-top: -30px;
        padding: 25px 15px;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Section titles */
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    /* About section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-content {
        text-align: center;
        padding: 0 10px;
    }
    
    .about-highlight {
        font-size: 1.1rem;
        padding: 15px;
        text-align: left;
    }
    
    .about-image {
        max-width: 100%;
    }
    
    /* Company info */
    .company-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-card {
        padding: 20px;
        text-align: center;
    }
    
    .info-card h3 {
        font-size: 1.1rem;
    }
    
    .info-card p {
        font-size: 0.9rem;
    }
    
    /* Stats cards */
    .stats-cards {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 30px 0;
    }
    
    .stat-card {
        padding: 25px 20px;
    }
    
    .stat-card .number {
        font-size: 2rem;
    }
    
    /* Philosophy section */
    .philosophy {
        padding: 50px 0;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .philosophy-content {
        text-align: center;
        padding: 0 15px;
    }
    
    .philosophy-content h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .philosophy-content p {
        font-size: 0.95rem;
    }
    
    .philosophy-quote {
        font-size: 1.1rem;
        padding: 15px;
        text-align: left;
    }
    
    /* Crypto ticker */
    .crypto-ticker-container {
        margin: 20px 0;
    }
    
    .ticker-header {
        padding: 10px;
        font-size: 0.8rem;
    }
    
    .ticker-row {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .ticker-header,
    .ticker-row {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    
    .ticker-cell:nth-child(5) {
        display: none;
    }
    
    .coin-info {
        gap: 5px;
    }
    
    .coin-icon {
        width: 20px;
        height: 20px;
    }
    
    .coin-name {
        font-size: 0.8rem;
    }
    
    .coin-symbol {
        font-size: 0.7rem;
    }
    
    /* Trading signals */
    .signals-filters {
        padding: 15px;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
    
    .signals-table th,
    .signals-table td {
        padding: 10px 8px;
        font-size: 0.8rem;
    }
    
    .signal-badge {
        min-width: 60px;
        padding: 3px 8px;
        font-size: 0.7rem;
    }
    
    .confidence-bar {
        width: 60px;
    }
    
    /* Hide less important columns */
    .signals-table td:nth-child(5),
    .signals-table td:nth-child(6),
    .signals-table th:nth-child(5),
    .signals-table th:nth-child(6) {
        display: none;
    }
    
    /* Investment plans */
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .plan-card {
        padding: 30px 20px;
    }
    
    .plan-name {
        font-size: 1.5rem;
    }
    
    .plan-return {
        font-size: 2.5rem;
    }
    
    .plan-return small {
        font-size: 0.9rem;
    }
    
    .plan-features li {
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .footer-widget {
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Back to top */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Fix for any absolute positioned elements */
    .position-absolute {
        position: relative !important;
        transform: none !important;
        margin-top: 20px !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        top: auto !important;
    }
}

/* ============================================ */
/* MOBILE RESPONSIVE FIXES - 576px */
/* ============================================ */
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-sub-title {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-buttons a {
        max-width: 200px;
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .ticker-header,
    .ticker-row {
        grid-template-columns: 2fr 1fr 1fr;
        font-size: 0.75rem;
    }
    
    .ticker-cell:nth-child(4) {
        display: none;
    }
    
    .coin-name {
        display: none;
    }
    
    .coin-symbol {
        font-size: 0.7rem;
    }
    
    /* Trading signals further optimization */
    .signals-table th,
    .signals-table td {
        padding: 8px 5px;
        font-size: 0.75rem;
    }
    
    .signal-badge {
        min-width: 50px;
        padding: 2px 5px;
        font-size: 0.65rem;
    }
}

/* ============================================ */
/* FIX FOR VERY TALL SCREENS */
/* ============================================ */
@media (min-height: 800px) and (max-width: 768px) {
    .hero-content {
        padding-top: 100px;
        padding-bottom: 60px;
    }
}

/* ============================================ */
/* ADDITIONAL HORIZONTAL SCROLL FIXES */
/* ============================================ */
img,
video,
iframe,
figure,
picture {
    max-width: 100%;
    height: auto;
    display: block;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
    max-width: 100%;
    overflow-x: hidden;
}

[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
    overflow-x: hidden;
}