:root {
    --primary-accent: #00dfeb;
    --secondary-accent: #00c7e0;
    --primary-peach: #FF9A8B;
    --secondary-peach: #FF6A88;
    --neutral-dark: #0d1b2a;
    --cta: linear-gradient(135deg, #FF9A8B, #FF6A88);
    --cta-hover: linear-gradient(135deg, #FF6A88, #FF9A8B);
    --footerbg: linear-gradient(135deg, #00c3da, #1273ae);
    --text: #2b2b2b;
    --light-bg: #f9f9f9;
    --card-bg: #ffffff;
    --dark-green: #0a5c6d;
    --medium-green: #0c7c95;
    --light-green: #e6f4f7;
    --accent-color: #3498db;

}

/* body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
} */

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--neutral-dark);
    line-height: 1.6;
    background-color: var(--neutral-gray);
}

a {
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Header Styles */
.navbar {
    background-color: var(--card-bg) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: var(--cta) !important;
}

.nav-link {
    font-weight: 600;
    color: var(--text) !important;
    margin: 0 8px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
}

.dropdown-item {
    padding: 8px 20px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(0, 223, 235, 0.1);
    color: var(--cta);
}

.dropdown-divider {
    margin: 5px 0;
}

.btn-login {
    border: 1px solid var(--cta);
    color: var(--cta);
    font-weight: 600;
    border-radius: 50px;
    padding: 8px 20px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: var(--secondary-accent);
    color: white !important;
    border-color: var(--secondary-accent);
}

.btn-apply {
    background: var(--cta);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    padding: 8px 20px;
    border: none;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 106, 136, 0.3);
}

/* Mobile Menu */
.offcanvas {
    max-width: 300px;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.offcanvas-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: var(--cta);
}

.mobile-menu .nav-link {
    padding: 12px 20px;
    margin: 0;
}

.mobile-menu .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    padding: 0;
}

.mobile-menu .dropdown-item {
    padding: 10px 30px;
}

.mobile-menu-buttons {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* News Grid Section */
.news-grid {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    color: var(--text);
}

.news-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--primary-accent);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.news-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text);
}

.news-card-title a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-card-title a:hover {
    color: var(--primary-accent);
}

.news-excerpt {
    color: #666;
    margin-bottom: 20px;
}

.news-read-more {
    color: var(--primary-accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.news-read-more:hover {
    color: var(--secondary-accent);
}

.news-read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.news-read-more:hover i {
    transform: translateX(5px);
}

.news-tag {
    display: inline-block;
    background: var(--cta);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 15px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background-color: var(--card-bg);
}

.newsletter-box {
    background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
    border-radius: 16px;
    padding: 50px;
    color: white;
    text-align: center;
}

.newsletter-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.newsletter-text {
    margin-bottom: 30px;
    font-size: 18px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-family: 'Open Sans', sans-serif;
}

.newsletter-btn {
    background: var(--cta);
    color: white;
    border: none;
    border-radius: 0 50px 50px 0;
    padding: 0 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--cta-hover);
}

/* Footer */
footer {
    background: var(--footerbg);
    color: white;
    padding: 60px 0 0;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 20px;
    display: block;
    color: white !important;
    text-decoration: none;
}

.footer-about {
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact i {
    width: 20px;
    text-align: center;
}

.footer-bottom {
    background-color: #0f6193;
    padding: 20px 0;
    margin-top: 60px;
    text-align: center;
    font-size: 12px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-step {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }

    .timeline-step:nth-child(even) {
        margin-left: 0;
        padding-left: 70px;
    }

    .timeline-step:nth-child(even) .step-number {
        left: 10px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .rbf-hero {
        padding: 150px 0 100px;
    }
}

/* Smart Financing Section Styles */
.smart-financing {
    padding: 80px 0;
}

.financing-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.financing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    transition: all 0.4s ease;
}

.card-title {
    position: relative;
    z-index: 2;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin: 0;
    transition: all 0.4s ease;
}

.card-hover-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cta);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 3;
}

.card-hover-content p {
    color: white;
    font-size: 18px;
    text-align: center;
    margin: 0;
}

.financing-card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.financing-card:hover .card-title {
    transform: translateY(-40px);
}

.financing-card:hover .card-hover-content {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .card-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .smart-financing {
        padding: 60px 0;
    }

    .card-image {
        height: 220px;
        padding: 20px;
    }

    .card-title {
        font-size: 20px;
    }

    .card-hover-content p {
        font-size: 16px;
    }
}