:root {
    --green-primary: #006B3F;
    --green-dark: #004d2e;
    --orange-primary: #E67E22;
    --orange-dark: #b85e0a;
    --gray-bg: #F8F9FA;
    --shadow-sm: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    padding-top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Color helpers */
.text-green { color: var(--green-primary) !important; }
.text-orange { color: var(--orange-primary) !important; }
.bg-green { background-color: var(--green-primary) !important; }
.bg-orange { background-color: var(--orange-primary) !important; }
.bg-dark-green { background-color: #004d2e; }
.btn-green {
    background-color: var(--green-primary);
    border-color: var(--green-primary);
    color: white;
}
.btn-green:hover {
    background-color: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-2px);
    transition: all 0.2s;
}
.btn-orange {
    background-color: var(--orange-primary);
    border-color: var(--orange-primary);
    color: white;
}
.btn-orange:hover {
    background-color: var(--orange-dark);
    transform: translateY(-2px);
    transition: all 0.2s;
}
.btn-outline-green {
    border: 2px solid var(--green-primary);
    color: var(--green-primary);
}
.btn-outline-green:hover {
    background-color: var(--green-primary);
    color: white;
}

/* Navbar Styling */
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    padding: 0;
}

.bank-logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.bank-logo:hover {
    transform: scale(1.05);
}

.brand-text {
    line-height: 1.2;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.2s;
}
.nav-link:hover, .nav-link.active {
    color: var(--orange-primary) !important;
}

/* Hero Carousel */
.carousel-item {
    position: relative;
    height: 90vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 100, 0, 0.6), rgba(255, 165, 0, 0.5));
    z-index: 1;
}

.carousel-caption {
    bottom: 30%;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    z-index: 2;
    left: 0;
    right: 0;
    text-align: left;
    padding-left: 10%;
}

.carousel-caption h1 {
    font-weight: 700;
    animation: fadeInUp 0.6s ease-out;
}

@media (max-width: 768px) {
    .carousel-item { height: 70vh; }
    .carousel-caption { bottom: 20%; }
    .carousel-caption h1 { font-size: 2rem; }
}

/* Card and service styling */
.service-card, .team-card {
    transition: transform 0.3s ease, box-shadow 0.3s;
    border-radius: 1rem;
}
.service-card:hover, .team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -12px rgba(0,0,0,0.1);
}
.card-hover {
    transition: all 0.2s;
}
.card-hover:hover {
    transform: translateY(-5px);
}
.team-card img {
    object-fit: cover;
    border: 4px solid var(--orange-primary);
}

/* Footer Styles */
footer {
    background-color: #004d2e;
    color: white;
    padding: 50px 0 20px;
    margin-top: auto;
    width: 100%;
    clear: both;
}

footer h5 {
    color: #E67E22;
    font-weight: bold;
    margin-bottom: 20px;
}

footer p {
    color: white;
}

footer ul {
    list-style: none;
    padding-left: 0;
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li a {
    color: #dddddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #E67E22;
}

footer .footer-link {
    text-decoration: none;
    color: #ddd;
    transition: color 0.2s;
}

footer .footer-link:hover {
    color: var(--orange-primary);
}

footer a.text-white {
    color: white;
    transition: color 0.3s ease;
}

footer a.text-white:hover {
    color: #E67E22 !important;
}

footer hr {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

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

.transition {
    transition: all 0.3s ease;
}

/* Scroll reveal classes (added via JS) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Form styles */
.form-control:focus {
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 0.2rem rgba(230,126,34,0.25);
}
.btn:active {
    transform: scale(0.97);
}

/* Responsive helpers */
@media (max-width: 576px) {
    .display-5 { font-size: 1.8rem; }
    .navbar-brand { font-size: 1rem; }
    .bank-logo { height: 35px; }
    .brand-text .fs-6 { font-size: 0.7rem !important; }
}

@media (max-width: 768px) {
    .bank-logo { height: 40px; }
    .navbar-brand { font-size: 1.2rem; }
    .brand-text .fs-6 { font-size: 0.7rem !important; }
}

/* Favicon and Title Logo Styles */
link[rel="icon"] {
    border-radius: 0;
}

/* Ensure logo displays consistently across all browsers */
@media (prefers-color-scheme: dark) {
    link[rel="icon"] {
        filter: none;
    }
}

/* Optional: Add a custom title logo styling for the browser tab */
.browser-title-logo {
    display: none;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #006B3F 0%, #E67E22 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #E67E22 0%, #006B3F 100%);
}

.scroll-to-top:active {
    transform: translateY(0);
}

/* Show button when scrolled down */
.scroll-to-top.show {
    display: flex;
    animation: fadeInUp 0.3s ease;
}

/* Responsive adjustments for scroll button */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Ensure footer is always visible */
footer {
    background-color: #004d2e !important;
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    clear: both !important;
    width: 100% !important;
    margin-top: 50px !important;
}

/* Ensure all footer links are clickable */
footer a {
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* Fix for any potential z-index issues */
footer, .footer-nav-link, .footer-link {
    z-index: 1 !important;
}


/* Footer visibility fix */
footer {
    background-color: #004d2e !important;
    display: block !important;
    width: 100% !important;
    position: relative !important;
    clear: both !important;
    margin-top: 50px !important;
}

/* Ensure footer links are clickable */
footer a {
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* Modal visibility fix */
.modal {
    z-index: 1050 !important;
}

.modal-backdrop {
    z-index: 1040 !important;
}