/* Custom Color Variables */
:root {
    --primary-color: #003366;
    /* Classic Trust Navy */
    --secondary-color: #ffffff;
    --accent-color: #C5A059;
    /* Wealth/Prestige Gold */
    --accent-light: #F7F3E8;
    /* Warm Light Beige */
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

/* Utilities */
.text-accent {
    color: var(--accent-color) !important;
}

.bg-accent-light {
    background-color: var(--accent-light) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-accent-light {
    color: #FFE4B5 !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #153c61;
    border-color: #153c61;
    transform: translateY(-2px);
}

.btn-outline-dark:hover {
    transform: translateY(-2px);
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.ls-1 {
    letter-spacing: 2px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section */
#hero {
    min-height: 90vh;
    padding-top: 80px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e6fffa 100%);
    overflow: hidden;
}

.hero-img {
    max-height: 500px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

/* About Section */
.about-img {
    border-color: #fff !important;
    max-width: 350px;
}

/* Services */
.service-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #ffffff;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .1) !important;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Forms */
.form-control:focus,
.form-select:focus {
    box-shadow: none;
    border: 1px solid var(--accent-color);
    background-color: #fff !important;
}

/* Footer */
footer a:hover {
    color: var(--accent-color) !important;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff !important;
    /* Force white initially */
    font-size: 1.5rem;
    margin: 0 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff !important;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Animations */
/* Removed custom fadeUp/fadeIn in favor of AOS library */

/* Enhanced Hero Section */
#hero {
    background: linear-gradient(135deg, #F9FBFD 0%, #EDF2F7 100%);
    position: relative;
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-shape svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.hero-shape .shape-fill {
    fill: #f8f9fa;
    /* Matches bg-light of next section */
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism / Modern Cards */
.card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(10, 37, 64, 0.1) !important;
    border-color: var(--accent-light);
}

.service-card .learn-more {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.service-card:hover .learn-more {
    opacity: 1;
    transform: translateY(0);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    /* Softer square */
    background: linear-gradient(135deg, var(--accent-light) 0%, #ffffff 100%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

/* Navbar Glass Effect */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.9) !important;
}

/* Badge Styling */
.badge {
    padding: 0.6em 1em;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 30px;
}

/* Section Dividers - Wave */
.wave-divider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .shape-fill {
    fill: #f8f9fa;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Hero Background Pattern */
#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#003366 0.5px, transparent 0.5px), radial-gradient(#003366 0.5px, #F9FBFD 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.05;
    z-index: 0;
}

/* Abstract Money/Finance Background Pattern */
.bg-money-pattern {
    position: relative;
    /* Ensure content is above background */
    z-index: 1;
}

.bg-money-pattern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1620714223084-8fcacc6dfd8d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    /* Gold Coins / Bitcoin Abstract */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    /* Very faint */
    z-index: -1;
    pointer-events: none;
}

/* Quote styling enhancement */
.blockquote {
    border-left: 5px solid var(--accent-color);
    padding-left: 20px;
    background: rgba(255, 255, 255, 0.05);
    /* subtle background */
}

@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 50px 0;
    }
}