/* Bayer Heritage Federal Credit Union - Professional Banking Theme */
:root {
    --primary-green: #2E6E49;
    --secondary-green: #6FAF73;
    --dark-green: #174B32;
    --primary-yellow: #F5C533;
    --light-yellow: #FFD96B;
    --white: #FFFFFF;
    --charcoal: #4A4A4A;
    --light-gray: #f8fafc;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px 0 rgba(46, 110, 73, 0.1), 0 1px 2px 0 rgba(46, 110, 73, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(46, 110, 73, 0.1), 0 4px 6px -2px rgba(46, 110, 73, 0.05);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    /* Legacy variables for compatibility */
    --primary-color: var(--primary-green);
    --primary-light: var(--secondary-green);
    --primary-dark: var(--dark-green);
    --accent-color: var(--primary-yellow);
    --text-dark: var(--charcoal);
    --text-light: #718096;
    --danger-color: #dc2626;
    --warning-color: #d97706;
    --success-color: var(--primary-green);
    --secondary-color: var(--light-gray);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background: linear-gradient(to bottom, var(--dark-green), var(--secondary-green));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

/* Language Selector */
.language-selector {
    position: relative;
    display: inline-block;
}

.language-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-btn:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.language-dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 160px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    z-index: 1001;
    top: 100%;
    right: 0;
    margin-top: 5px;
}

.language-dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.language-dropdown-content a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.language-selector:hover .language-dropdown-content {
    display: block;
}

.login-btn {
    background: var(--primary-color);
    color: var(--white) !important;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.login-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.hero-background {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    animation: fadeIn 1s ease;
    height: 100vh;
    max-height: 800px;
    padding-top: 80px;
    box-sizing: border-box;
    padding-bottom: 100px;
    text-align: center;
}

.hero-text {
    animation: slideInLeft 1s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 20px 0;
    text-align: center;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: slideInLeft 1s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.highlight {
    color: var(--accent-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    animation: underline 3s infinite;
}

@keyframes underline {
    0% {
        transform: scaleX(0);
        transform-origin: left;
    }
    50% {
        transform: scaleX(1);
        transform-origin: left;
    }
    51% {
        transform-origin: right;
    }
    100% {
        transform: scaleX(0);
        transform-origin: right;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
    animation: slideInLeft 1s ease 0.2s both;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: slideInLeft 1s ease 0.4s both;
    margin-bottom: 40px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    background: var(--primary-yellow);
    color: var(--dark-green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    animation: pulse 2s infinite;
}

.btn-primary:hover {
    background: var(--light-yellow);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    animation: none;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    animation: none;
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
    animation: bounce 3s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.btn-success:hover:not(:disabled) {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    animation: none;
}

/* Enhanced Hero Elements */
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 8px 20px;
    margin-bottom: 20px;
    animation: slideInLeft 0.8s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-left: auto;
    margin-right: auto;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    animation: slideInLeft 1s ease 0.6s both;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-images {
    position: relative;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: auto;
    z-index: 2;
    margin-bottom: 30px;
    order: -1;
}

.slide-imgs {
    position: relative;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    min-height: 350px;
    flex-wrap: wrap;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s ease;
    border: 5px solid rgba(255, 255, 255, 0.2);
    display: inline-block !important; /* Ensure images are always displayed */
    margin: 0 15px;
}

.card-img-container {
    width: 280px;
    height: 350px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: block !important;
    margin: 0 20px;
}

.iphone-img-container {
    width: 200px;
    height: 300px;
    right: auto;
    bottom: auto;
    z-index: 1;
    animation: float 6s ease-in-out infinite 0.5s;
    display: block !important;
    position: relative;
    margin: 0 20px;
}

.card-img, .iphone-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(30, 58, 138, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

.prev-slide, .next-slide {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-slide:hover, .next-slide:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* Scroll Down Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.wheel {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background: var(--white);
    border-radius: 3px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        top: 10px;
        opacity: 1;
    }
    50% {
        top: 20px;
        opacity: 0.5;
    }
    100% {
        top: 10px;
        opacity: 1;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    animation: modalOpen 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalOpen {
    0% {
        opacity: 0;
        transform: translateY(-100px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 20px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    animation: slideInLeft 0.5s ease;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.close {
    color: var(--white);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.close:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

.modal-body p {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 25px;
    animation: fadeIn 1s ease;
}

.modal-body .form-group {
    margin-bottom: 20px;
    animation: slideInUp 0.5s ease;
    animation-fill-mode: backwards;
}

@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-body .form-group:nth-child(1) { animation-delay: 0.1s; }
.modal-body .form-group:nth-child(2) { animation-delay: 0.2s; }
.modal-body .form-group:nth-child(3) { animation-delay: 0.3s; }
.modal-body .form-group:nth-child(4) { animation-delay: 0.4s; }
.modal-body .form-group:nth-child(5) { animation-delay: 0.5s; }
.modal-body .form-group:nth-child(6) { animation-delay: 0.6s; }

.modal-body .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.modal-body .form-control::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: 0.5s;
}

.modal-body .form-control:hover::before {
    left: 100%;
}

.modal-body .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    transform: scale(1.02);
}

.modal-body .btn {
    width: 100%;
    padding: 14px;
    font-weight: 600;
    margin-top: 10px;
    animation: fadeIn 1s ease;
    position: relative;
    overflow: hidden;
}

.modal-body .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.modal-body .btn:hover::before {
    left: 100%;
}

.modal-body .btn i {
    margin-right: 8px;
}

/* Success Animation */
.success-animation {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 1002;
    display: none;
    animation: popIn 0.5s ease;
}

@keyframes popIn {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.success-animation i {
    font-size: 48px;
    color: var(--success-color);
    margin-bottom: 20px;
    animation: checkmark 0.5s ease;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
    }
    70% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.success-animation h3 {
    margin: 0 0 10px 0;
    color: var(--text-dark);
}

.success-animation p {
    margin: 0 0 20px 0;
    color: var(--text-light);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--light-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.about-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.about-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-dark);
}

/* Rates Section */
.rates-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.rate-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.rate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.rate-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 25px;
    text-align: center;
}

.rate-header h3 {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
}

.rate-header i {
    font-size: 2rem;
}

.rate-content {
    padding: 25px;
}

.rate-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.rate-item:last-child {
    border-bottom: none;
}

.rate-item span {
    font-size: 1rem;
}

.rate-value {
    font-weight: 600;
    color: var(--primary-color);
}

.rate-footer {
    padding: 0 25px 25px;
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    color: var(--white);
    font-size: 1.2rem;
}

.author-info h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Trust Badges Section */
.trust-badges {
    padding: 60px 0;
    background: var(--white);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.badge-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.badge-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.badge-item:hover i {
    color: var(--white);
}

.badge-item span {
    font-weight: 600;
}

/* Member Care Section */
.member-care {
    padding: 80px 0;
    background: var(--white);
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.care-card {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.care-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.care-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.care-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.care-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.care-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.care-card .contact-info p {
    margin: 10px 0;
    font-weight: 600;
    color: var(--primary-color);
}

.care-card .btn {
    width: 100%;
    margin-top: 10px;
}

/* How Can We Help You Section */
.help-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
}

.help-section .section-header h2 {
    color: var(--white);
}

.help-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.help-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.help-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
}

.help-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.help-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.help-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
}

.help-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.help-card .btn {
    background: var(--white);
    color: var(--primary-color);
    border: none;
}

.help-card .btn:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Start Building Your Financial Strength Section */
.financial-strength {
    padding: 80px 0;
    background: var(--light-gray);
}

.strength-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.strength-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-dark);
}

.strength-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
    line-height: 1.6;
}

.strength-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.feature-item span {
    font-weight: 500;
    color: var(--text-dark);
}

.strength-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.strength-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo .logo {
    height: 35px;
}

.footer-logo .logo-text {
    font-size: 20px;
    color: var(--white);
}

.footer-section p {
    color: #9ca3af;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .quick-chat-container {
        width: calc(100% - 40px);
        bottom: 90px;
        right: 20px;
    }
    
    .quick-chat-bubble {
        max-width: 90%;
    }
}

/* Video Section */
.video-section {
    padding: 100px 0;
    background: var(--white);
}

.video-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-description h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.video-description p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
    line-height: 1.6;
}

.video-features {
    margin-bottom: 30px;
}

.video-section .feature-item {
    margin-bottom: 15px;
}

.video-section .btn {
    padding: 15px 30px;
}

@media (max-width: 768px) {
    .video-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .video-description h3 {
        font-size: 1.5rem;
    }
    
    .video-description p {
        font-size: 1rem;
    }
}

/* Hide navigation buttons on mobile */
@media (max-width: 768px) {
    .horizontal-gallery-nav {
        display: none;
    }
}

/* Video Gallery Section */
.video-gallery-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8fafc, #e2e8f0);
}

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-gallery-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.video-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.video-gallery-item:hover .video-thumb {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.video-gallery-item:hover .video-overlay {
    opacity: 1;
}

.play-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 20px;
}

.play-button:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.video-info p {
    color: var(--text-light);
    line-height: 1.5;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.video-modal-content {
    position: relative;
    background-color: transparent;
    margin: 5% auto;
    padding: 0;
    width: 80%;
    max-width: 800px;
    animation: zoomIn 0.3s ease;
}

.close-video-modal {
    color: var(--white);
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.close-video-modal:hover {
    color: var(--accent-color);
}

.video-modal-body video {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

@keyframes zoomIn {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

/* Responsive Video Gallery */
@media (max-width: 768px) {
    .video-gallery-section {
        padding: 60px 0;
    }
    
    .video-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .video-info h3 {
        font-size: 1.2rem;
    }
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    overflow: hidden;
}

.blog-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.blog-card:hover .blog-thumb {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-outline-primary {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Responsive Blog Section */
@media (max-width: 768px) {
    .blog-section {
        padding: 60px 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .blog-title {
        font-size: 1.2rem;
    }
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    
    .nav-container {
        height: 70px;
    }
    
    .logo {
        height: 50px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
        width: 100%;
        text-align: center;
        transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: var(--shadow-lg);
        padding: 20px 0;
        z-index: 1000;
        display: flex !important;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
        display: flex !important;
    }
    
    .nav-item {
        margin: 5px 0;
    }
    
    .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 1.3rem;
        color: var(--white) !important;
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin: 5px 20px;
    }
    
    .language-selector {
        position: relative;
        display: block;
        margin: 5px 20px;
    }
    
    .language-btn {
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: var(--white);
        font-weight: 600;
        padding: 15px 20px;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        font-size: 1.3rem;
    }
    
    .language-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateX(10px);
    }
    
    .language-dropdown-content {
        display: none;
        position: static;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        margin-top: 10px;
        padding: 10px 0;
        box-shadow: none;
    }
    
    .language-dropdown-content.show {
        display: block;
    }
    
    .language-dropdown-content a {
        color: var(--white);
        padding: 12px 20px;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: all 0.3s ease;
        font-size: 1.1rem;
    }
    
    .language-dropdown-content a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateX(5px);
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0.2);
        transform: translateX(10px);
        color: var(--white) !important;
    }
    
    .login-btn {
        background: rgba(255, 255, 255, 0.2) !important;
        color: var(--white) !important;
        border-radius: 30px;
        padding: 12px 25px !important;
        transition: all 0.3s ease;
    }
    
    .login-btn:hover {
        background: rgba(255, 255, 255, 0.3) !important;
        transform: translateY(-3px);
    }
    
    /* Mobile menu overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: flex;
        cursor: pointer;
        padding: 10px;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .bar {
        transition: all 0.3s ease;
    }

    .hero-content .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 120px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .hero-badge {
        margin: 0 auto 20px;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-images {
        order: -1;
        margin-bottom: 30px;
    }
    
    .slide-imgs {
        height: 450px;
    }
    
    .card-img-container {
        width: 260px;
        height: 320px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .iphone-img-container {
        width: 180px;
        height: 270px;
        right: -20px;
        bottom: -20px;
    }
    
    .slider-controls {
        padding: 0 15px;
    }
    
    .prev-slide, .next-slide {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .scroll-down-indicator {
        bottom: 20px;
    }
    
    .mouse {
        width: 25px;
        height: 40px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .badges-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content .container {
        padding-top: 90px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .about-card,
    .service-card,
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .slide-imgs {
        height: 380px;
    }
    
    .card-img-container {
        width: 220px;
        height: 280px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .iphone-img-container {
        width: 160px;
        height: 240px;
        right: -15px;
        bottom: -15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .logo {
        height: 45px;
    }
    
    .nav-link {
        padding: 12px 20px;
        font-size: 18px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded { border-radius: var(--border-radius); }
.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.transition { transition: var(--transition); }

/* Form Styles */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
    transition: var(--transition);
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--secondary-green);
    border-radius: 10px;
    font-size: 16px;
    transition: var(--transition);
    background: var(--white);
    color: var(--charcoal);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 110, 73, 0.1);
}

.form-control:hover {
    border-color: var(--secondary-green);
}

.form-control.error {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-control.success {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-error {
    color: var(--danger-color);
    font-size: 14px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-success {
    color: var(--success-color);
    font-size: 14px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Enhanced Input with Icons */
.input-with-icon {
    position: relative;
}

.input-with-icon .form-control {
    padding-left: 45px;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    transition: var(--transition);
    z-index: 2;
}

.input-with-icon .form-control:focus + i,
.input-with-icon .form-control:not(:placeholder-shown) + i {
    color: var(--primary-color);
}

/* Password Input Enhancement */
.password-input {
    position: relative;
}

.password-input .form-control {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    z-index: 3;
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--primary-color);
}

/* Input Group */
.input-group {
    display: flex;
    align-items: center;
}

.input-group .form-control {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    border-left: none;
}

.input-group-text {
    padding: 12px 16px;
    background: var(--light-gray);
    border: 2px solid var(--border-color);
    border-right: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-weight: 600;
    color: var(--text-dark);
}

.input-group .form-control:focus {
    border-left: 2px solid var(--primary-color);
}

/* Textarea Enhancement */
.form-control[type="textarea"],
textarea.form-control {
    min-height: 120px;
    resize: vertical;
    transition: var(--transition);
}

.form-control[type="textarea"]:focus,
textarea.form-control:focus {
    min-height: 150px;
}

/* Select Enhancement */
.form-control:not([type]),
.form-control[type="select"] {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* Checkbox and Radio Enhancement */
.checkbox-label,
.radio-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
    margin-bottom: 10px;
}

.checkbox-label:hover,
.radio-label:hover {
    color: var(--text-dark);
}

.checkbox-label input[type="checkbox"],
.radio-label input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkmark::after {
    content: "✓";
    color: var(--white);
    font-size: 12px;
    opacity: 0;
    transition: var(--transition);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    opacity: 1;
}

.form-text {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
    display: block;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    min-width: 120px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
}

.btn-success:hover:not(:disabled) {
    background: #047857;
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger-color);
    color: var(--white);
}

.btn-danger:hover:not(:disabled) {
    background: #991b1b;
    transform: translateY(-2px);
}

.btn-warning {
    background: var(--warning-color);
    color: var(--white);
}

.btn-warning:hover:not(:disabled) {
    background: #92400e;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    min-width: 80px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
    min-width: 150px;
}

.btn-block {
    width: 100%;
    display: flex;
}

/* Card Styles */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.card-body {
    padding: 0;
}

.card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 20px;
}

/* Table Styles */
.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table th,
.table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background: var(--light-gray);
    font-weight: 600;
    color: var(--text-dark);
}

.table tbody tr:hover {
    background: var(--light-gray);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Alert Styles */
.alert {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background: #f0fdf4;
    border-left-color: var(--success-color);
    color: #166534;
}

.alert-danger {
    background: #fef2f2;
    border-left-color: var(--danger-color);
    color: #991b1b;
}

.alert-warning {
    background: #fffbeb;
    border-left-color: var(--warning-color);
    color: #92400e;
}

.alert-info {
    background: #eff6ff;
    border-left-color: var(--primary-color);
    color: var(--primary-light);
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    background: var(--light-gray);
}

.sidebar {
    width: 260px;
    background: linear-gradient(180deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    transition: var(--transition);
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.15);
    position: fixed;
    height: 100vh;
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.sidebar-logo {
    height: 80px;
    width: auto;
    margin: 0 auto;
}

.sidebar-title {
    display: none;
}

.sidebar-menu {
    list-style: none;
    padding: 20px 0;
}

.menu-item {
    margin-bottom: 5px;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    min-height: 48px;
}

.menu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.menu-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-left: 3px solid var(--white);
}

.menu-link i {
    margin-right: 12px;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

/* Sidebar Menu Item Indicators */
.menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-item:hover::before {
    opacity: 0.5;
}

.menu-item.active::before {
    opacity: 1;
}

.main-content {
    flex: 1;
    margin-left: 260px;
    transition: var(--transition);
    background: linear-gradient(to bottom, var(--dark-green), var(--secondary-green));
    min-height: 100vh;
}

.topbar {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    padding: 15px 30px;
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-left .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.topbar-left .sidebar-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.topbar-left .sidebar-toggle:hover::before {
    transform: translateX(100%);
}

.topbar-left .sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-dark);
    cursor: pointer;
}

.page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.topbar-center {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-form {
    display: flex;
    width: 100%;
    position: relative;
}

.search-input {
    flex: 1;
    padding: 12px 20px 12px 45px;
    border: none;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    font-size: 16px;
}

.search-btn:hover {
    color: var(--white);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.notifications {
    position: relative;
}

.notification-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    font-size: 20px;
    color: var(--white);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.notification-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.notification-btn:hover::before {
    transform: translateX(100%);
}

.notification-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}



.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: var(--white);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
    font-weight: 600;
    border: 2px solid var(--dark-green);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding: 5px 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.user-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.user-menu:hover::before {
    transform: translateX(100%);
}

.user-menu:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.user-info {
    text-align: right;
}

.user-name {
    display: block;
    font-weight: 600;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 16px;
}

.user-role {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.user-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--light-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-green);
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.user-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.user-avatar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.profile-img-topbar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.dashboard-content {
    flex: 1;
    padding: 30px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.dashboard-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.card-header i {
    font-size: 24px;
    color: var(--primary-color);
}

.balance-amount {
    display: flex;
    align-items: baseline;
    margin-bottom: 20px;
}

.currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
}

.amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

.balance-details p {
    margin: 5px 0;
    color: var(--text-light);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: #d1fae5;
    color: #065f46;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-suspended {
    background: #fee2e2;
    color: #991b1b;
}

.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.status-failed {
    background: #fee2e2;
    color: #991b1b;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.action-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.action-btn i {
    font-size: 24px;
}

.summary-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.card-link {
    display: block;
    text-align: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition);
}

.card-link:hover {
    background: var(--light-gray);
}

.dashboard-section {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.welcome-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.welcome-content p {
    opacity: 0.9;
    font-size: 16px;
}

.welcome-time {
    text-align: right;
}

.current-time {
    font-size: 20px;
    margin-bottom: 10px;
}

.last-login {
    font-size: 14px;
    opacity: 0.8;
}

.transactions-list {
    space-y: 15px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    transition: var(--transition);
}

.transaction-item:hover {
    background: var(--light-gray);
}

.transaction-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.transaction-details {
    flex: 1;
}

.transaction-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 5px 0;
}

.transaction-details p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0 0 5px 0;
}

.transaction-date {
    font-size: 12px;
    color: var(--text-light);
}

.transaction-amount {
    text-align: right;
}

.transaction-amount .amount {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.amount.positive {
    color: var(--success-color);
}

.amount.negative {
    color: var(--danger-color);
}

.text-success { color: var(--success-color); }
.text-danger { color: var(--danger-color); }
.text-primary { color: var(--primary-color); }
.text-warning { color: var(--warning-color); }
.text-info { color: var(--primary-light); }

.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
}

.security-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
}

.security-item i {
    font-size: 24px;
    color: var(--primary-color);
    width: 40px;
    text-align: center;
}

.security-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 5px 0;
}

.security-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Enhanced Dashboard Styles */
.welcome-weather {
    margin-top: 15px;
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.weather-info i {
    font-size: 20px;
}

.login-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.8;
    margin-top: 5px;
}

.analytics-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

.chart-container {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: 300px;
    position: relative;
}

.chart-controls {
    display: flex;
    gap: 10px;
}

.chart-controls .btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card.enhanced {
    background: linear-gradient(135deg, var(--white) 0%, #f8fafc 100%);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-card.enhanced:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-change {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

.stat-change.positive {
    color: var(--success-color);
}

.stat-change.negative {
    color: var(--danger-color);
}

.stat-change.neutral {
    color: var(--text-light);
}

.notifications-list {
    space-y: 15px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.notification-item.unread {
    border-left-color: var(--primary-color);
    background: #f8fafc;
}

.notification-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 5px 0;
}

.notification-content p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.notification-time {
    font-size: 12px;
    color: var(--text-light);
}

.notification-actions {
    display: flex;
    gap: 10px;
}

.security-item.enhanced {
    padding: 25px;
    background: linear-gradient(135deg, var(--white) 0%, #f8fafc 100%);
    border: 1px solid var(--border-color);
}

.security-score {
    margin-top: 15px;
}

.score-label {
    font-size: 12px;
    color: var(--text-light);
    display: block;
    margin-bottom: 5px;
}

.score-bar {
    width: 100%;
    height: 8px;
    background: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success-color), var(--primary-color));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.score-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--success-color);
}

.quick-actions-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.action-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.action-card .action-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 24px;
}

.action-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 10px 0;
}

.action-card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0 0 15px 0;
}

.action-shortcut {
    font-size: 12px;
    color: var(--primary-color);
    background: var(--light-gray);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
    
    /* Dashboard Layout Mobile */
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .sidebar-toggle {
        display: block;
        background: rgba(255, 255, 255, 0.15);
        color: var(--white);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar-toggle:hover {
        background: rgba(255, 255, 255, 0.25);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .welcome-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .security-info {
        grid-template-columns: 1fr;
    }

    .transaction-item {
        flex-direction: column;
        text-align: center;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-actions-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }

    .notification-item {
        flex-direction: column;
        text-align: center;
    }

    .topbar {
        padding: 12px 20px;
    }

    .topbar-right {
        gap: 15px;
    }

    .user-name {
        font-size: 14px;
    }

    .user-role {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .d-sm-none { display: none !important; }
    .d-sm-block { display: block !important; }
    .d-sm-flex { display: flex !important; }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions-enhanced {
        grid-template-columns: 1fr;
    }
}

/* Horizontal Gallery Styles */
.horizontal-gallery {
    position: relative;
    padding: 20px 0;
}

.horizontal-gallery-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-gray);
}

.horizontal-gallery-container::-webkit-scrollbar {
    height: 8px;
}

.horizontal-gallery-container::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 4px;
}

.horizontal-gallery-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.horizontal-gallery-item {
    flex: 0 0 auto;
    width: 300px;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.horizontal-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.horizontal-gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.horizontal-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.8);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: all 0.4s ease;
    transform: scale(0.95);
}

.horizontal-gallery-item:hover .horizontal-gallery-overlay {
    opacity: 1;
    transform: scale(1);
}

.horizontal-gallery-info {
    text-align: center;
}

.horizontal-gallery-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.horizontal-gallery-info p {
    margin: 0;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.horizontal-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.horizontal-gallery-nav:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.horizontal-gallery-nav i {
    color: var(--primary-color);
    font-size: 18px;
}

.horizontal-gallery-nav--prev {
    left: 10px;
}

.horizontal-gallery-nav--next {
    right: 10px;
}

.horizontal-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.horizontal-gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.horizontal-gallery-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.horizontal-gallery-autoslide-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.horizontal-gallery-autoslide-indicator:hover {
    background: var(--white);
}

.horizontal-gallery-autoslide-indicator i {
    color: var(--primary-color);
    font-size: 14px;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    border: 5px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
    display: block;
}

.card-img:hover {
    transform: scale(1.03) rotate(2deg);
    animation: float 3s ease-in-out infinite;
}

.iphone-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 3;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite 0.5s;
    transition: all 0.3s ease;
    display: block;
}

.iphone-img:hover {
    transform: scale(1.1) rotate(5deg);
    animation: float 3s ease-in-out infinite;
}

/* Enhanced About Section for Family Business */
.family-business-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
}

.family-business-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.family-business-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
}

.family-business-text h2 .highlight {
    color: var(--accent-color);
}

.family-business-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.7;
    opacity: 0.9;
}

.family-business-text .family-values {
    margin: 30px 0;
}

.family-values h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--white);
}

.family-values ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.family-values li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1rem;
}

.family-values li i {
    color: var(--accent-color);
    margin-top: 5px;
}

.family-business-image {
    position: relative;
}

.family-business-img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.family-business-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .family-business-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .family-business-stats {
        grid-template-columns: 1fr;
    }
    
    .family-business-text h2 {
        font-size: 2rem;
    }
}

/* Trust Badges Section */
.trust-badges {
    padding: 60px 0;
    background: var(--white);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.badge-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.badge-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.badge-item:hover i {
    color: var(--white);
}

.badge-item span {
    font-weight: 600;
}

.trust-badge-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.trust-badge-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.trustpilot-rating {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.trustpilot-rating:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Loan Section */
.loan-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.loan-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.loan-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.loan-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-dark);
}

.loan-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
    line-height: 1.6;
}

.loan-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.feature-item span {
    font-weight: 500;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .loan-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .loan-text h2 {
        font-size: 2rem;
    }
}

/* Team Section */
.team {
    padding: 100px 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: var(--shadow);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder span {
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.member-bio {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.member-social-link {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.member-social-link:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

/* Quick Chat Widget */
.quick-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.quick-chat-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.quick-chat-widget i {
    color: white;
    font-size: 24px;
}

.quick-chat-widget .status-indicator {
    position: absolute;
    top: 0;
    right: 0;
    width: 15px;
    height: 15px;
    background-color: #4ade80;
    border: 2px solid white;
    border-radius: 50%;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.quick-chat-container {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 1001;
    width: 350px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.quick-chat-container.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.quick-chat-header {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quick-chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.quick-chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.quick-chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.quick-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    max-height: 300px;
    background: #f8fafc;
}

.quick-chat-message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.quick-chat-message.agent {
    align-items: flex-start;
}

.quick-chat-message.user {
    align-items: flex-end;
}

.quick-chat-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.quick-chat-bubble.agent {
    background: #e2e8f0;
    color: #1e293b;
    border-bottom-left-radius: 5px;
}

.quick-chat-bubble.user {
    background: #3b82f6;
    color: white;
    border-bottom-right-radius: 5px;
}

.quick-chat-timestamp {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 5px;
}

.quick-chat-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid #e2e8f0;
    background: white;
}

.quick-chat-input input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 24px;
    outline: none;
    font-size: 0.9rem;
    transition: border 0.3s ease;
}

.quick-chat-input input:focus {
    border-color: #3b82f6;
}

.quick-chat-input button {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.quick-chat-input button:hover {
    background: #2563eb;
}

.quick-chat-input button i {
    font-size: 16px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .quick-chat-container {
        width: calc(100% - 40px);
        bottom: 90px;
        right: 20px;
    }
    
    .quick-chat-bubble {
        max-width: 90%;
    }
}

/* Video Section */
.video-section {
    padding: 100px 0;
    background: var(--white);
}

.video-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-description h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.video-description p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
    line-height: 1.6;
}

.video-features {
    margin-bottom: 30px;
}

.video-section .feature-item {
    margin-bottom: 15px;
}

.video-section .btn {
    padding: 15px 30px;
}

@media (max-width: 768px) {
    .video-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .video-description h3 {
        font-size: 1.5rem;
    }
    
    .video-description p {
        font-size: 1rem;
    }
}

/* Hide navigation buttons on mobile */
@media (max-width: 768px) {
    .horizontal-gallery-nav {
        display: none;
    }
}