/* Custom Styles for Btrade Website */

/* Body and Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
    line-height: 1.6;
}

/* Animated Underline Effect for Navigation */
header nav ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background-color: #d4af37;
    transition: width 0.3s;
}

header nav ul li a:hover::after {
    width: 100%;
}

/* Custom Hover Effects */
.hover-grow {
    transition: transform 0.3s ease;
}

.hover-grow:hover {
    transform: scale(1.03);
}

/* Custom Shadow */
.custom-shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(90deg, #0a3161 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Button Styles */
.btn-primary {
    background-color: #0a3161;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #072548;
}

.btn-secondary {
    background-color: #d4af37;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #b3942f;
}

/* Image Overlay for Cards */
.card-image-container {
    position: relative;
    overflow: hidden;
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-image-container:hover .card-image-overlay {
    opacity: 1;
}

/* Custom Section Padding */
.section-padding {
    padding: 5rem 0;
}

/* Mobile Menu Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

#mobile-menu {
    animation: fadeIn 0.3s ease-out;
}

/* Back to Top Button Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(10, 49, 97, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(10, 49, 97, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(10, 49, 97, 0);
    }
}

#back-to-top {
    animation: pulse 2s infinite;
}

/* Form Input Focus Styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 49, 97, 0.2);
}

/* Custom List Styling */
.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.custom-list li:before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #d4af37;
}

/* Responsive Font Sizes */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0a3161;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #072548;
}

/* Loading Animation for Images */
img.loading {
    filter: blur(5px);
    transition: filter 0.3s ease;
}

img.loaded {
    filter: blur(0);
}

/* Custom blockquote style */
blockquote {
    border-left: 4px solid #d4af37;
    padding-left: 1rem;
    font-style: italic;
    color: #555;
}

/* Privacy Policy and Terms Pages Typography */
.prose h2 {
    color: #0a3161;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose h3 {
    color: #0a3161;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose ul, 
.prose ol {
    margin-bottom: 1.5rem;
}

/* Print Styles */
@media print {
    header, 
    footer, 
    #back-to-top {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    .prose {
        max-width: 100%;
    }
} 