/* ==========================================================================
   Financial Web - Global & Modern Corporate Blue Theme
   ========================================================================== */

:root {
    --primary-blue: #0d47a1;
    --secondary-blue: #1976d2;
    --accent-blue: #00b0ff;
    --dark-navy: #0a192f;
    --light-bg: #f4f8fb;
    --text-color: #333333;
    --transition-smooth: all 0.3s ease-in-out;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
    overflow-x: hidden;
    
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
    /* background-color: var(--dark-navy) !important; */
     background-color: #e7f0f8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff !important;
}

.navbar-brand span {
    color: var(--accent-blue);
}

.nav-link {
    color: #011a30 !important;
    font-weight: 500;
    margin: 0 5px;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--dark-navy) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-blue);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
}

.navbar-toggler-icon::before {
    content: "☰";
    font-size: 28px;
    color: #010b2b; 
}


/* ==========================================================================
   Hero Section with Gradient Overlay
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9), rgba(13, 71, 161, 0.85)), 
                url('../images/hero-bg.jpg') center/cover no-repeat;
    color: #ffffff;
    padding: 140px 0 100px 0;
    position: relative;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 30px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    border: none;
    color: #ffffff;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.4);
    transition: var(--transition-smooth);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.6);
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: #ffffff;
}

.btn-outline-custom {
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 50px;
    background: transparent;
    transition: var(--transition-smooth);
}

.btn-outline-custom:hover {
    background-color: var(--accent-blue);
    color: var(--dark-navy);
    transform: translateY(-2px);
}

/* ==========================================================================
   Cards & Feature Boxes
   ========================================================================== */
.feature-card, .service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    border-top: 4px solid var(--secondary-blue);
    height: 100%;
}

.feature-card:hover, .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(13, 71, 161, 0.12);
    border-top-color: var(--accent-blue);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-blue);
    margin-bottom: 20px;
}

/* ==========================================================================
   Calculator Section
   ========================================================================== */
.calculator-box {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* ==========================================================================
   Page Headers (Inner Pages)
   ========================================================================== */
.page-header {
    background: linear-gradient(135deg, var(--dark-navy), var(--primary-blue));
    color: #ffffff;
    padding: 90px 0;
    text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: var(--dark-navy);
    color: #94a3b8;
    padding: 70px 0 30px 0;
}

footer h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 20px;
}

footer ul.footer-links {
    list-style: none;
    padding: 0;
}

footer ul.footer-links li {
    margin-bottom: 10px;
}

footer ul.footer-links li a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition-smooth);
}

footer ul.footer-links li a:hover {
    color: var(--accent-blue);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}
.footer-text {
    color: #ffffff;
}

/* Hero Section Base */
.hero-section {
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    background: radial-gradient(circle at top right, rgba(41, 128, 185, 0.15), transparent 50%);
    z-index: 1;
}

.z-index-2 {
    z-index: 2;
}

/* Modern Media Grid Layout for Right Side */
.hero-media-grid {
    position: relative;
    height: 420px;
    width: 100%;
}

.media-card {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

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

/* Positioning and sizing each card for a modern overlapping/grid look */
.media-card-1 {
    width: 60%;
    height: 260px;
    top: 0;
    left: 0;
    z-index: 2;
}

.media-card-2 {
    width: 55%;
    height: 240px;
    bottom: 0;
    right: 0;
    z-index: 3;
}

.media-card-3 {
    width: 40%;
    height: 180px;
    top: 30px;
    right: 15px;
    z-index: 1;
    opacity: 0.85;
}

/* Responsive adjustments for mobile screens */
@media (max-width: 991.98px) {
    .hero-media-grid {
        height: 320px;
        margin-top: 2rem;
    }
}
/* Hero Section Styles for Background Video */
.hero-section {
    position: relative;
    background-color: #0b131f;
    min-height: 85vh;
}

/* Ensure video covers the full banner perfectly */
.hero-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Balanced overlay so video colors stay vibrant and clear */
.hero-overlay {
    background: linear-gradient(135deg, rgba(11, 19, 31, 0.6) 0%, rgba(26, 37, 55, 0.4) 100%);
    z-index: 1;
}

.z-index-2 {
    z-index: 2;
}