/* ===================================
   Direct Lending Connection - Modern Styles
   =================================== */

:root {
    --gold-accent: #bd9028;
    --growth-green: #7ea62f;
    --deep-forest: #034f35;
    --ocean-blue: #00393e;
    --background-creme: #f8f3e6;

    --primary-color: var(--deep-forest);
    --primary-dark: var(--ocean-blue);
    --secondary-color: var(--gold-accent);
    --accent-green: var(--growth-green);
    --dark-color: #1f2a24;
    --light-color: #fcf9f2;
    --text-color: #1f2a24;
    --text-muted: #66736d;
    --border-radius: 12px;
    --box-shadow: 0 4px 12px rgba(3, 79, 53, 0.12);
    --box-shadow-lg: 0 18px 40px rgba(0, 57, 62, 0.18);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: var(--ocean-blue);
    transition: var(--transition);
}

a:hover,
a:focus {
    color: var(--gold-accent);
}

body {
    font-family: 'Noto Serif Ethiopic', serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--background-creme);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif Ethiopic', serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: #fefbf5;
    padding: 1rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background-color: rgba(252, 249, 242, 0.95);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-logo {
    height: 52px;
    width: auto;
    display: block;
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 44px;
    }
}

.brand-text {
    color: var(--primary-color);
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    color: var(--ocean-blue) !important;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--gold-accent) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: var(--transition);
}

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

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

.bg-primary {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.bg-secondary {
    background-color: rgba(0, 57, 62, 0.1) !important;
    color: var(--primary-color) !important;
}

.bg-success {
    background-color: rgba(126, 166, 47, 0.18) !important;
    color: var(--accent-green) !important;
}

.bg-warning {
    background-color: rgba(189, 144, 40, 0.2) !important;
    color: var(--secondary-color) !important;
}

.bg-info {
    background-color: rgba(0, 57, 62, 0.12) !important;
    color: var(--ocean-blue) !important;
}

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

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

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

.text-info {
    color: var(--ocean-blue) !important;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.badge.bg-secondary {
    background-color: rgba(0, 57, 62, 0.1) !important;
    color: var(--primary-color) !important;
}

.card {
    background: #ffffff;
    border: 1px solid rgba(3, 79, 53, 0.08);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.btn-link {
    color: var(--ocean-blue);
}

.btn-link:hover {
    color: var(--gold-accent);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: var(--primary-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 57, 62, 0.08);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 79, 53, 0.55);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.text-accent {
    color: var(--gold-accent);
}

.hero-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
    margin-top: 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(253, 249, 240, 0.25);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(189, 144, 40, 0.45);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--primary-color);
    color: #ffffff;
}

.stat-item {
    padding: 1rem;
}

.stat-item h2 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.service-card .btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-card .btn-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* Why Choose Section */
.why-choose-section {
    padding: 5rem 0;
}

.feature-box {
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background: white;
}

.process-step {
    position: relative;
    padding: 2rem;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: var(--box-shadow);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: bold;
}

.stars {
    color: #ffc107;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: white;
}

.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius) !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    background: white;
    border: none;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--primary-color);
    color: #ffffff;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: var(--primary-dark);
    color: #fdfaf2;
}

.footer a {
    transition: var(--transition);
}

.footer a:hover {
    color: var(--secondary-color) !important;
}

.social-links a {
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--secondary-color) !important;
}

/* Live Chat */
.live-chat-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--box-shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.live-chat-btn:hover,
.live-chat-btn:focus {
    transform: scale(1.1);
    background: var(--gold-accent);
    color: var(--dark-color);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(189, 144, 40, 0.55);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(189, 144, 40, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(189, 144, 40, 0);
    }
}

.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 2rem;
    width: 350px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
    z-index: 1001;
    display: none;
    flex-direction: column;
    max-height: 500px;
}

.chat-widget.show {
    display: flex;
}

.chat-header {
    background: var(--primary-color);
    color: #ffffff;
    padding: 1rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-body {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
}

.chat-options {
    margin-top: 1rem;
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--gold-accent);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Form Styles */
.form-control,
.form-select {
    border-radius: var(--border-radius);
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(3, 79, 53, 0.25);
}

.form-range {
    height: 8px;
}

.form-range::-webkit-slider-thumb {
    background: var(--primary-color);
    width: 20px;
    height: 20px;
}

.form-range::-moz-range-thumb {
    background: var(--primary-color);
    width: 20px;
    height: 20px;
    border: none;
}

/* Result Box */
.result-box {
    background: var(--light-color);
    border: 2px solid rgba(3, 79, 53, 0.12);
    border-radius: var(--border-radius);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .stat-item h2 {
        font-size: 2.5rem;
    }

    .hero-card {
        margin-top: 2rem;
        padding: 1.5rem;
    }

    .chat-widget {
        width: calc(100% - 2rem);
        right: 1rem;
        left: 1rem;
    }

    .live-chat-btn {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Navbar Scroll Effect */
.navbar.scrolled {
    background: rgba(248, 243, 230, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
}

/* Page Header */
.page-header {
    padding: 6rem 0 4rem;
    background: var(--primary-color);
    color: #ffffff;
}

/* Service Category Cards */
.service-category-card {
    display: block;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-category-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.service-category-card h6 {
    color: var(--text-color);
    margin: 0;
}

/* Service Detail Cards */
.service-detail-card {
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
    transition: var(--transition);
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}

.service-detail-card .service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Case Study Cards */
.case-study-card {
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.case-study-card:hover {
    transform: translateX(10px);
    box-shadow: var(--box-shadow-lg);
}

.case-study-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Article Cards */
.article-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.article-card.featured {
    box-shadow: var(--box-shadow-lg);
}

.article-image {
    width: 100%;
}

.article-content {
    padding: 1.5rem;
}

.value-card {
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.value-icon {
    margin-bottom: 1rem;
}

