/* Custom CSS for CryptoVault Pro Landing Page */

:root {
    --primary-dark: #0a0e1a;
    --secondary-dark: #1a1f2e;
    --accent-blue: #2563eb;
    --accent-gold: #f59e0b;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Text Colors */
.text-gold {
    color: var(--accent-gold) !important;
}

.text-blue {
    color: var(--accent-blue) !important;
}

.bg-gold {
  background: var(--accent-gold) !important;
}
/* Navigation */
.navbar {
    background: rgba(10, 14, 26, 0.98) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    z-index: 1050;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--text-light) !important;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-gold) !important;
}

/* Force navbar visibility on large screens - Critical Fix */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
    }

    .navbar-expand-lg .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        visibility: visible !important;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        display: block !important;
        color: var(--text-light) !important;
        visibility: visible !important;
    }

    .navbar-expand-lg .navbar-toggler {
        display: none !important;
    }

    /* Ensure right-side buttons are visible */
    .navbar-expand-lg .d-flex {
        display: flex !important;
        visibility: visible !important;
    }
}

/* Additional fallback for Bootstrap override */
.navbar-collapse {
    display: flex !important;
    flex-basis: auto !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse:not(.show) {
        display: none !important;
    }
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold), #ea580c);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    color: white;
}

.btn-outline-light {
    border: 2px solid var(--glass-border);
    color: var(--text-light);
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--glass-bg);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    padding: 100px 0 50px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 70%),
                radial-gradient(circle at 70% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.hero-stats {
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.hero-image-container {
    position: relative;
    z-index: 222;
}

/* .hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    /* border-radius: 20% 5px 5px 20%; */
    /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); */
} */

.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 20px;
    right: 20px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 100px;
    left: 20px;
    animation-delay: 1s;
}

.floating-card.card-3 {
    top: 50%;
    right: -20px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Section Styling */
.services-section,
.why-us-section,
.testimonials-section,
.faq-section,
.contact-section {
    background: var(--secondary-dark);
    position: relative;
}

.services-section::before,
.testimonials-section::before,
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 3rem;
}

/* Service Cards */
.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-gold), #ea580c);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.service-features li i {
    color: var(--accent-gold);
}

/* Why Us Section */
.why-us-section {
    background: var(--primary-dark);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-gold), #ea580c);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.feature-description {
    color: var(--text-muted);
    margin: 0;
}

.why-us-image {
    position: relative;
}

.why-us-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.stats-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 15px 20px;
    text-align: center;
    min-width: 120px;
}

.stat-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.testimonial-quote {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
}

.author-name {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 5px;
}

.author-title {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    background: var(--primary-dark);
}

.accordion-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px !important;
    margin-bottom: 1rem;
}

.accordion-button {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-weight: 600;
    padding: 1.5rem;
    border-radius: 15px !important;
}

.accordion-button:not(.collapsed) {
    background: var(--glass-bg);
    color: var(--accent-gold);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--accent-gold);
}

.accordion-body {
    color: var(--text-muted);
    padding: 0 1.5rem 1.5rem;
}

/* Contact Section */
.contact-form-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
}

.form-title {
    color: var(--text-light);
    font-weight: 600;
    text-align: center;
}

.form-control, .form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-light);
    padding: 12px 15px;
}

.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.25);
    color: var(--text-light);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.contact-benefits .benefit-item {
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    color: var(--text-light);
}

/* Footer */
.footer-section {
    background: var(--primary-dark);
    position: relative;
    border-top: 1px solid var(--glass-border);
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
}

.brand-description {
    color: var(--text-muted);
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-gold);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-gold);
}

.footer-divider {
    border-color: var(--glass-border);
    opacity: 1;
}

.footer-legal p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--accent-gold);
}

.footer-accent-image {
    width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 15px;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .stats-overlay {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 2rem;
    }


}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .service-card,
    .testimonial-card,
    .contact-form-container {
        padding: 1.5rem;
    }

    .legal-links {
        justify-content: center;
    }

    .footer-accent-image {
        width: 100%;
        margin-top: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}
