/* 
    Heritage Fin Corp Design System
    Theme: Modern, Trustworthy, Premium Finance
*/

:root {
    --primary-color: #0F172A;
    /* Deep Navy */
    --secondary-color: #10B981;
    /* Emerald Green */
    --accent-color: #3B82F6;
    /* Vibrant Blue */
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.025em;
}

.text-accent {
    color: var(--secondary-color) !important;
}

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

/* Header & Nav */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar-brand img {
    height: 80px;
    transition: var(--transition);
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    margin: 0 12px;
    position: relative;
    font-size: 0.95rem;
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 64, 175, 0.85)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 140px 0;
    color: var(--white);
    position: relative;
}

.hero h1 {
    color: var(--white);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.85;
    max-width: 600px;
}

/* Cards & Components */
.card-premium {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.card-premium:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(16, 185, 129, 0.2);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-size: 28px;
    transition: var(--transition);
}

.card-premium:hover .icon-box {
    background: var(--secondary-color);
    color: var(--white);
    transform: rotate(10deg);
}

/* Forms */
.form-glass {
    background: rgb(57 98 159);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 45px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-control {
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    background-color: #F8FAFC;
    font-weight: 500;
}

.form-control:focus {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
    border-color: var(--secondary-color);
    background-color: var(--white);
}

/* Buttons */
.btn-primary-fin {
    background-color: var(--secondary-color);
    border: none;
    color: var(--white);
    padding: 14px 35px;
    border-radius: 14px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

.btn-primary-fin:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.4);
    color: var(--white);
}

.btn-secondary-fin {
    background-color: var(--primary-color);
    border: none;
    color: var(--white);
    padding: 14px 35px;
    border-radius: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-secondary-fin:hover {
    background-color: #1E293B;
    transform: translateY(-2px);
    color: var(--white);
}

/* Sections */
.section-padding {
    padding: 100px 0;
}

.bg-texture {
    background-image: radial-gradient(#cbd5e1 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    background-color: var(--bg-light);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 30px;
}

footer h5 {
    color: var(--white);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
}

footer a {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    display: inline-block;
    margin-bottom: 12px;
}

footer a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Floating Buttons */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.f-btn {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.f-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

.whatsapp-btn {
    background-color: #25D366;
}

.call-btn {
    background-color: var(--secondary-color);
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 60px 0;
    }
}

/* About Intro Enhancements */
.about-text-wrapper {
    background: var(--white);
    border-left: 5px solid var(--secondary-color);
    padding: 2.5rem;
    border-radius: 0 24px 24px 0;
    box-shadow: var(--shadow-md);
}

.feature-box {
    padding: 1.5rem;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-icon {
    background: rgba(16, 185, 129, 0.1) !important;
    color: var(--secondary-color) !important;
}

.text-warning {
    color: var(--secondary-color) !important;
}

.btn-warning {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: var(--white) !important;
}

.btn-warning:hover {
    background-color: #059669 !important;
    border-color: #059669 !important;
}