:root {
    --primary-color: #2962ff;
    --secondary-color: #0039cb;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
    --accent-color: #ffd700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 56px;
}

.navbar {
    backdrop-filter: blur(10px);
    background: rgba(26, 26, 46, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--accent-color) !important;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%232962ff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease 0.6s backwards;
}

.feature-card,
.service-card,
.testimonial-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover,
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(41, 98, 255, 0.2);
}

.feature-icon,
.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

.feature-icon i,
.service-icon i {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon i,
.service-card:hover .service-icon i {
    transform: scale(1.2) rotate(5deg);
}

.trade-smarter-section img {
    transition: transform 0.3s ease;
}

.trade-smarter-section img:hover {
    transform: scale(1.05);
}

.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
}

.stats-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
}

.stat-item h2 {
    color: var(--accent-color);
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(41, 98, 255, 0.3);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 98, 255, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

footer {
    background: var(--dark-bg) !important;
}

footer a:hover {
    color: var(--primary-color) !important;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .feature-icon,
    .service-icon {
        font-size: 2rem;
    }
}



/* News Feed Styles */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 80px 0 40px;
}

.news-section {
    background: #f8f9fa;
}

.news-article {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(41, 98, 255, 0.15);
}

.article-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-image:hover img {
    transform: scale(1.02);
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.article-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content strong {
    color: #1a1a2e;
    font-weight: 600;
}

hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

@media (max-width: 768px) {
    .news-article {
        padding: 20px;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
}


/* Privacy Policy Styles */
.privacy-content {
    background: #f8f9fa;
}

.privacy-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.policy-section {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 30px;
}

.policy-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    display: flex;
    align-items: center;
}

.section-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.subsection-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #16213e;
    position: relative;
    padding-left: 20px;
}

.subsection-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
}

.privacy-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.privacy-card a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.privacy-card a:hover {
    color: var(--secondary-color) !important;
}

.alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: none;
    border-left: 4px solid var(--primary-color);
}

@media (max-width: 768px) {
    .privacy-card {
        padding: 30px 20px !important;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .subsection-title {
        font-size: 1.1rem;
    }
    
    .privacy-card p {
        font-size: 1rem;
    }
}


/* Contact Page Styles */
.contact-section {
    background: #f8f9fa;
}

.contact-form-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    position: relative;
    padding-bottom: 15px;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.form-floating > label {
    color: #6c757d;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(41, 98, 255, 0.15);
}

.contact-info-wrapper {
    position: sticky;
    top: 80px;
}

.contact-info-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(41, 98, 255, 0.2);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.5rem;
    color: white;
}

.info-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.info-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0;
    line-height: 1.6;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--secondary-color);
}

.map-section {
    margin-top: 50px;
}

.map-placeholder iframe {
    width: 100%;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.map-placeholder:hover iframe {
    filter: grayscale(0%);
}

/* Form validation styles */
.was-validated .form-control:valid {
    border-color: #28a745;
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: none;
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 5px;
}

.was-validated .form-control:invalid ~ .invalid-feedback {
    display: block;
}

@media (max-width: 991px) {
    .contact-info-wrapper {
        position: relative;
        top: 0;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .contact-form-card {
        padding: 30px 20px !important;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .contact-info-card {
        padding: 20px;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
    }
    
    .info-icon i {
        font-size: 1.2rem;
    }
}
