/* General Styles */
:root {
    --primary-color: #0b3b6a;      /* Darker blue for financial trust */
    --primary-light: #1f5688;      /* Lighter blue */
    --secondary-color: #333f4d;    /* Dark slate */
    --dark-color: #0a192f;         /* Nearly black blue */
    --light-color: #f4f8fb;        /* Off-white blue tint */
    --success-color: #28a745;      /* Green */
    --danger-color: #dc3545;       /* Red */
    --neutral-color: #e7edf3;      /* Light blue-gray */
    --gold-color: #c3973d;         /* Sophisticated gold for accent */
    --accent-color: #ffc84e;       /* Accent yellow gold */
    --border-radius: 4px;          /* Sharper corners for professional look */
    --box-shadow: 0 10px 25px rgba(11, 59, 106, 0.08), 0 6px 10px rgba(11, 59, 106, 0.04);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333f4d;
    background-color: var(--light-color);
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    padding: 0.75rem 1.75rem;
    font-weight: 500;
    transition: var(--transition);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-sm {
    padding: 0.4rem 1.25rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(11, 59, 106, 0.15);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(11, 59, 106, 0.15);
}

.btn-light, .btn-outline-light {
    font-weight: 500;
}

.btn-light:hover, .btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(11, 59, 106, 0.15);
}

.rounded-pill {
    border-radius: 50rem !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.display-4 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.display-5 {
    font-weight: 700;
    letter-spacing: -0.3px;
}

.lead {
    font-weight: 400;
    line-height: 1.6;
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-gold { color: var(--gold-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-light { background-color: var(--light-color) !important; }
.bg-dark { background-color: var(--dark-color) !important; }
.bg-primary-subtle { background-color: rgba(11, 59, 106, 0.1) !important; }
.bg-gradient-primary { 
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
}
.bg-gradient-dark { 
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%) !important;
}
.bg-opacity-10 { background-color: rgba(255, 255, 255, 0.1) !important; }
.shadow-sm { box-shadow: 0 3px 6px rgba(11, 59, 106, 0.08) !important; }
.shadow-md { box-shadow: var(--box-shadow) !important; }
.shadow-lg { box-shadow: 0 15px 30px rgba(11, 59, 106, 0.12), 0 8px 12px rgba(11, 59, 106, 0.08) !important; }
.rounded-3 { border-radius: 0.5rem !important; }
.rounded-4 { border-radius: 1rem !important; }
.fw-medium { font-weight: 500 !important; }
.py-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.py-lg-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.z-index-1 { z-index: 1 !important; }
.z-index-2 { z-index: 2 !important; }
.z-index-3 { z-index: 3 !important; }
.opacity-90 { opacity: 0.9 !important; }
.opacity-75 { opacity: 0.75 !important; }
.opacity-50 { opacity: 0.5 !important; }
.opacity-25 { opacity: 0.25 !important; }
.opacity-10 { opacity: 0.1 !important; }

/* Hover Animations */
.hover-translate-y {
    transition: var(--transition);
}

.hover-translate-y:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 20px rgba(11, 59, 106, 0.15);
}

.hover-scale {
    transition: var(--transition);
}

.hover-scale:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 20px rgba(11, 59, 106, 0.15);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section .position-relative {
    z-index: 2;
}

/* Text shadow styles for better readability */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-shadow-sm {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Object fit utilities */
.object-fit-cover {
    object-fit: cover;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Opacity utilities */
.opacity-40 {
    opacity: 0.4 !important;
}

/* Backgrounds */
.bg-warning {
    background-color: #ffc107 !important;
}

.text-warning {
    color: #ffc107 !important;
}

/* Rounded corners */
.rounded-top-4 {
    border-top-left-radius: 1rem !important;
    border-top-right-radius: 1rem !important;
}

/* Card & Service Styles */
.card {
    overflow: hidden;
    transition: var(--transition);
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(11, 59, 106, 0.15);
}

.service-img-wrapper {
    overflow: hidden;
}

.service-img-wrapper img {
    transition: transform 0.6s ease;
}

.card:hover .service-img-wrapper img {
    transform: scale(1.05);
}

/* Stats Counter */
.counter-value {
    font-weight: 700;
    transition: all 2s ease;
}

/* Testimonial Cards */
.testimonial-section .card {
    transition: var(--transition);
}

.testimonial-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(11, 59, 106, 0.15);
}

/* FAQ Accordion */
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(11, 59, 106, 0.1);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(11, 59, 106, 0.05);
    box-shadow: none;
}

/* Sticky Bottom CTA */
.sticky-bottom-cta {
    transform: translateY(100%);
    transition: transform 0.4s ease;
    z-index: 990;
}

.sticky-bottom-cta.show {
    transform: translateY(0);
}

/* Back to Top Button */
.back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    font-size: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    animation: pulse 1.5s infinite;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: #fff;
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #22c15e;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 575.98px) {
    .whatsapp-tooltip {
        display: none;
    }
}

/* Team Member Styles */
.team-member {
    text-align: center;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-8px);
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    position: relative;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(11, 59, 106, 0.15);
    transition: all 0.3s ease;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-member:hover .team-avatar {
    border-color: var(--primary-light);
    box-shadow: 0 8px 20px rgba(11, 59, 106, 0.25);
}

.team-member:hover .team-avatar img {
    transform: scale(1.05);
}

.team-member h5 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-member .text-muted {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.team-member .social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 1rem;
}

.team-member .social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--neutral-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.team-member .social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .py-lg-6 { 
        padding-top: 3rem !important; 
        padding-bottom: 3rem !important;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .display-4 {
        font-size: 2.25rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .hero-section .btn {
        padding: 0.6rem 1.5rem;
    }
    
    .sticky-bottom-cta {
        padding: 0.75rem 0;
    }
}

@media (max-width: 575.98px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .hero-section .btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .back-to-top, .whatsapp-btn {
        width: 45px !important;
        height: 45px !important;
    }
    
    .whatsapp-btn {
        bottom: 75px !important;
    }
}
