/* Custom styles for DenverTrust Bank */
:root {
    --primary: #006d77;
    --primary-dark: #065159;
    --accent: #fca311;
    --accent-dark: #e39111;
    --background: #f8f9fa;
    --text: #212529;
    --text-light: #495057;
    --text-lighter: #6c757d;
    --gradient-start: #006d77;
    --gradient-end: #83c5be;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--background);
    padding-top: 76px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

.display-4 {
    font-weight: 700;
    line-height: 1.2;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary) !important;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.navbar .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.navbar .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--gradient-end);
    border-color: var(--gradient-end);
    transform: translateY(-2px);
}

/* Cards */
.card {
    border: none;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.card.hover-lift:hover {
    transform: translateY(-5px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(0,109,119,0.95) 0%, rgba(20,33,61,0.95) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease-in-out;
}

.hero-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.hero-content.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-title, .hero-subtitle {
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    transform: translateY(0);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero-section {
        height: 400px;
        padding: 3rem 0;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: -1;
}

.hero-title {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    color: rgba(255,255,255,0.9);
}

.hero-section .btn-light {
    background: white;
    color: var(--primary);
    border: none;
    font-weight: 600;
}

.hero-section .btn-light:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.hero-section .btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Features */
.feature-card {
    padding: 2rem;
    text-align: center;
    background: white;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Stats */
.stats-counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 2rem;
}

.testimonial-card img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

/* Call to Action */
.cta-section {
    background: linear-gradient(45deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 4rem 0;
    color: white;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Footer */
/* Footer styles */
footer {
    background: #14213d;
}

.hover-accent {
    transition: all 0.3s ease;
}

.hover-accent:hover {
    color: var(--accent) !important;
}

.text-accent {
    color: var(--accent) !important;
}

/* Additional utility classes */
.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}

/* Button enhancements */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

:root {
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
}

/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6rem 0;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Account Balance Cards */
.balance-card {
    border-left: 4px solid var(--primary);
    background: #f8f9fa;
}

/* Custom Button Styles */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Table Styles */
.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* Feature Icons */
.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    border-top: 1px solid #dee2e6;
}

footer a {
    color: #6c757d;
}

footer a:hover {
    color: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}