:root {
    --primary: #2d6eff;
    --primary-dark: #1a4fcc;
    --secondary: #d4af37;
    --dark-bg: #0a0c10;
    --dark-card: #14181f;
    --dark-hover: #1c212a;
    --text-light: #eef2ff;
    --text-muted: #9aa3b0;
    --success: #00c853;
    --danger: #ff3b30;
    --warning: #ff9500;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}


/* Marquee Section */
.marquee-section {
    background: linear-gradient(90deg, rgba(45, 110, 255, 0.05), rgba(212, 175, 55, 0.05));
    border-bottom: 1px solid rgba(45, 110, 255, 0.1);
    border-top: 1px solid rgba(45, 110, 255, 0.1);
    padding: 10px 0;
    position: relative;
    z-index: 999;
    margin-top: 76px; /* Adjust based on navbar height */
}

/* If navbar is fixed, add margin-top to push content down */
@media (min-width: 992px) {
    .marquee-section {
        margin-top: 76px;
    }
}

@media (max-width: 991px) {
    .marquee-section {
        margin-top: 60px;
    }
}

.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-block;
    margin: 0 20px;
    padding: 8px 16px;
    background: rgba(20, 24, 31, 0.8);
    border-radius: 40px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(45, 110, 255, 0.2);
    transition: all 0.3s ease;
}

.marquee-item:hover {
    background: rgba(45, 110, 255, 0.1);
    transform: scale(1.05);
    border-color: #2d6eff;
}

.marquee-item i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.marquee-item .deposit {
    color: #00c853;
    font-weight: 600;
    margin-right: 5px;
}

.marquee-item .withdrawal {
    color: #ff3b30;
    font-weight: 600;
    margin-right: 5px;
}

.marquee-item .time {
    color: #9aa3b0;
    font-size: 0.75rem;
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

/* Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .marquee-item {
        padding: 4px 12px;
        margin: 0 10px;
        font-size: 0.7rem;
    }
    
    .marquee-item i {
        font-size: 0.8rem;
    }
    
    .marquee-item .time {
        font-size: 0.6rem;
    }
}

@media (max-width: 576px) {
    .marquee-item {
        padding: 3px 8px;
        margin: 0 5px;
        font-size: 0.6rem;
    }
    
    .marquee-item i {
        font-size: 0.7rem;
    }
}


/* Fix for navbar and full width */
.navbar .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* Fix for mobile full width */
@media (max-width: 768px) {
    .navbar .container-fluid,
    .marquee-section .container-fluid,
    .hero-section .container,
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        margin: 0 !important;
    }
    
    /* Remove any left margin */
    body, html {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Fix navbar brand */
    .navbar-brand {
        margin-left: 0 !important;
    }
}

/* Navbar Styles */
.navbar {
    background: rgba(7, 9, 14, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}


.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand i {
    font-size: 1.8rem;
    color: #2d6eff;
}

/* Brand text - responsive font sizes */
.brand-text {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 30%, #2d6eff 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

/* Tablet screens */
@media (max-width: 992px) {
    .brand-text {
        font-size: 1.1rem;
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    .navbar-brand i {
        font-size: 1.4rem;
    }
    
    .brand-text {
        font-size: 0.9rem;
        white-space: normal;
        line-height: 1.2;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .brand-text {
        font-size: 0.75rem;
    }
    
    .navbar-brand i {
        font-size: 1.2rem;
    }
}

/* Navbar toggler button */
.navbar-toggler {
    border-color: rgba(45, 110, 255, 0.5);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(45, 110, 255, 0.25);
}

/* Nav links */
.nav-link {
    color: #9aa3b0 !important;
    font-weight: 500;
    transition: 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: white !important;
}

/* Buttons */
.btn-outline-accent {
    border: 1px solid #2d6eff;
    background: transparent;
    color: #2d6eff;
    border-radius: 40px;
    padding: 6px 20px;
    font-weight: 500;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-outline-accent:hover {
    background: #2d6eff;
    color: white;
}

.btn-accent-solid {
    background: linear-gradient(95deg, #2d6eff, #1a4fcc);
    border: none;
    color: white;
    border-radius: 40px;
    padding: 6px 24px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-accent-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 110, 255, 0.3);
}

/* Mobile menu buttons */
@media (max-width: 768px) {
    .btn-outline-accent, .btn-accent-solid {
        padding: 4px 12px;
        font-size: 0.8rem;
    }
    
    .d-flex.gap-2 {
        margin-top: 0.5rem;
        justify-content: center;
    }
}

/* Collapse menu styling */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(7, 9, 14, 0.98);
        border-radius: 16px;
        padding: 1rem;
        margin-top: 0.5rem;
        border: 1px solid rgba(45, 110, 255, 0.2);
    }
    
    .navbar-nav {
        margin-bottom: 0.5rem;
    }
    
    .nav-item {
        text-align: center;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('./../../images/logo.jpg') no-repeat center center;    background-size: cover;
    background-attachment: fixed;
    padding: 120px 0 80px;
    overflow-x: hidden;
}

/* Dark overlay for text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Hero Title - Responsive */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

@media (max-width: 992px) {
    .hero-title { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; text-align: center; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 1.6rem; text-align: center; }
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero-subtitle { font-size: 1rem; text-align: center; }
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #2d6eff, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Stats Boxes */
.stat-box {
    background: rgba(20, 24, 31, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1rem 0.5rem;
    text-align: center;
    border: 1px solid rgba(45, 110, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: #2d6eff;
}

.stat-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d6eff;
    margin-bottom: 0;
}

.stat-box p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

@media (max-width: 768px) {
    .stat-box h3 { font-size: 1.2rem; }
    .stat-box p { font-size: 0.7rem; }
}

/* Buttons */
.hero-buttons {
    margin-top: 2rem;
}

.btn-accent-solid {
    background: linear-gradient(95deg, #2d6eff, #1a4fcc);
    border: none;
    color: white;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-accent-solid:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(45, 110, 255, 0.3);
    color: white;
}

.btn-outline-accent {
    background: transparent;
    border: 2px solid #2d6eff;
    color: #2d6eff;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-outline-accent:hover {
    background: #2d6eff;
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero-buttons { text-align: center; }
    .btn-accent-solid, .btn-outline-accent { padding: 8px 20px; font-size: 0.9rem; }
}

/* Live Prices Card */
.live-prices-card {
    background: rgba(20, 24, 31, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid rgba(45, 110, 255, 0.2);
}

.live-prices-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-item:last-child {
    border-bottom: none;
}

.price-item span {
    color: rgba(255, 255, 255, 0.7);
}

.price-item strong {
    color: #2d6eff;
}

@media (max-width: 768px) {
    .live-prices-card { margin-top: 2rem; }
}

/* Mobile Background Fix */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
}


/* Service Cards */
.services-section {
    padding: 80px 0;
}

.service-card {
    background: var(--dark-card);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: 0.3s;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Investment Plans */
.plans-section {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent, rgba(45, 110, 255, 0.03));
}

.subsidiary-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.subsidiary-title i {
    color: var(--primary);
    font-size: 2rem;
}

.plan-card {
    background: var(--dark-card);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.plan-header {
    background: linear-gradient(135deg, rgba(45, 110, 255, 0.1), transparent);
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-header h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.risk-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.risk-low { background: rgba(0, 200, 83, 0.2); color: #00c853; }
.risk-medium { background: rgba(255, 149, 0, 0.2); color: #ff9500; }
.risk-high { background: rgba(255, 59, 48, 0.2); color: #ff3b30; }

.plan-body {
    padding: 1.5rem;
}

.plan-price {
    text-align: center;
    margin-bottom: 1.5rem;
}

.plan-price .currency {
    font-size: 1.2rem;
    vertical-align: top;
}

.plan-price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.plan-price .period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plan-features {
    margin: 1rem 0;
}

.plan-features .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.plan-features .feature i {
    color: var(--primary);
    font-size: 1rem;
}

.plan-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.plan-footer {
    padding: 1rem 1.5rem 1.5rem;
}

.btn-invest {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 40px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-invest:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Markets Grid */
.markets-section {
    padding: 80px 0;
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.market-item {
    background: var(--dark-card);
    padding: 1rem;
    text-align: center;
    border-radius: 12px;
    transition: 0.3s;
    cursor: pointer;
}

.market-item:hover {
    background: var(--dark-hover);
    transform: translateY(-3px);
}

.market-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 0.5rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent, rgba(45, 110, 255, 0.05));
}

.awards {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.award-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.award-item i {
    font-size: 2rem;
    color: var(--secondary);
}

.award-item strong {
    display: block;
}

.award-item small {
    color: var(--text-muted);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.stat-circle {
    position: relative;
    width: 150px;
    height: 150px;
}

.stat-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.stat-circle circle {
    fill: none;
    stroke: rgba(45, 110, 255, 0.1);
    stroke-width: 8;
}

.stat-circle circle:last-child {
    stroke: var(--primary);
    stroke-dasharray: 283;
}

.stat-circle .stat-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.stat-circle .stat-text span {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

.stat-circle .stat-text small {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Modal styles */
.bg-dark-modal {
    background: var(--dark-card);
    border: 1px solid rgba(45, 110, 255, 0.3);
}

.modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.modal-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.modal-body h6 {
    color: var(--primary);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.modal-body h6:first-of-type {
    margin-top: 0;
}

.modal-body .alert {
    background: rgba(45, 110, 255, 0.1);
    border: 1px solid rgba(45, 110, 255, 0.2);
    color: var(--text-light);
}

.legal-links a {
    cursor: pointer;
    text-decoration: none;
}

.legal-links a:hover {
    color: var(--primary) !important;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.accordion-item {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
    border-radius: 12px !important;
    overflow: hidden;
}

.accordion-button {
    background: var(--dark-card);
    color: var(--text-light);
    font-weight: 600;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background: var(--dark-hover);
    color: var(--primary);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.accordion-body {
    background: var(--dark-card);
    color: var(--text-muted);
    padding: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Footer */
.footer {
    background: #05070c;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(45, 110, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand i {
    font-size: 2rem;
    color: var(--primary);
}

.footer-brand h3 {
    font-size: 1.3rem;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--primary);
}

.footer h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.footer ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
}

/* Modals */
.bg-dark-modal {
    background: var(--dark-card);
    border: 1px solid rgba(45, 110, 255, 0.3);
}

.modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.modal-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.form-control, .form-select {
    background: rgba(10, 12, 16, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.form-control:focus, .form-select:focus {
    background: rgba(10, 12, 16, 0.9);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(45, 110, 255, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-stats .stat-box h3 {
        font-size: 1.25rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        margin-top: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}