:root {
    --primary-color: #f9c313;
    --primary-color-text: #f9c313;
    --primary-text-color: #121212;
    --secondary-color: #c31711;
    --secondary-color-text: #c31711;
    --secondary-text-color: #fff;
    --footer-color: #2b1110;
    --body-bg: #efefef;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Manrope', sans-serif;
    background-color: var(--body-bg);
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    font-size: 16px;
}

/* Responsive Media */
img,
iframe,
video {
    max-width: 100%;
    height: auto;
}

/* Utilities */
.text-warning {
    color: var(--primary-color) !important;
}

.text-brand-red {
    color: var(--secondary-color) !important;
}

.bg-warning {
    background-color: var(--primary-color) !important;
}

.bg-brand-red {
    background-color: var(--secondary-color) !important;
}




.bg-purple-header,
.bg-purple-header th,
.bg-purple-header td {
    background-color: #8c0052 !important;
    /* Deep Magenta */
    color: #fff !important;
    border: 1px solid #fff;
}

.table-bordered {
    border: 2px solid #00bff3 !important;
    /* Cyan Blue Border */
}

.table-bordered td,
.table-bordered th {
    border: 1px solid #00bff3 !important;
    /* Cyan Blue Inner Borders */
}

.bg-purple-header th,
.bg-purple-header td {
    border: 1px solid #00bff3 !important;
    /* Cyan Blue Separator */
}

.bg-light-purple {
    background-color: #e6dce6 !important;
    color: #000;
}

/* Overdue */
.bg-light-yellow {
    background-color: #fff9d9 !important;
    color: #000;
}

/* NPA */
.bg-light-green {
    background-color: #eaf1dd !important;
    color: #000;
}

/* Audit Class */

.bg-light-orange {
    background-color: #fdeada !important;
    /* CD Ratio */
    color: #000;
}

/* Audit Score */
.bg-light-white {
    background-color: #f2f6fa !important;
    /* Pale Blue */
    color: #000;
}

/* Dividend */
.bg-gold {
    background-color: #ffc000 !important;
    /* Gold */
    color: #000;
}

.text-magenta {
    color: #8c0052 !important;
    font-weight: bold;
}

.bg-light-red {
    background-color: #ffebee;
}

.bg-light-blue {
    background-color: #e3f2fd;
}

.bg-light-cyan {
    background-color: #e0f7fa;
}

.bg-light-gray {
    background-color: #f5f5f5;
}

.bg-danger {
    background-color: var(--secondary-color) !important;
}

/* Blink Animation */
@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.blink-text {
    animation: blinker 1.5s linear infinite;
}

.dropdown-menu {
    border: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin-top: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    /* Start hidden */
}

/* Show on hover for desktop */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        /* Reveal */
    }
}

/* Ensure dropdowns are visible when toggled (mobile/click) */
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    position: static;
    /* Static positioning for mobile flow */
    float: none;
    width: 100%;
    margin-top: 0;
    background-color: transparent;
    /* Seamless integration */
    border: none;
    box-shadow: none;
    padding-left: 20px;
    /* Indent sub-items */
}

.dropdown-menu.show .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    /* Lighter text for sub-items */
}

.dropdown-menu.show .dropdown-item:hover {
    background-color: transparent;
    color: #fff;
}

.dropdown-item {
    padding: 12px 20px;
    font-weight: 700;
    /* Bold */
    font-size: 16px;
    /* 16px */
    color: var(--primary-text-color);
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #fff;
    /* Keep white bg */
    color: var(--secondary-color);
    padding-left: 25px;
    /* Shift text */
    border-left: 4px solid var(--secondary-color);
    /* Red accent */
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(209, 36, 32, 0.05);
    /* Very faint red bg */
    transition: width 0.3s ease;
    z-index: -1;
}

.dropdown-item:hover::before {
    width: 100%;
}

/* Top Header */
.top-header {
    background-color: var(--secondary-color);
    padding: 8px 0;
    font-size: 14px;
}

/* Logo Theme Responsive */
.logo-theme {
    height: 80px;
    /* Mobile height (Reduced by 20% from 100px) */
    width: auto;
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .logo-theme {
        height: 150px;
        /* Desktop height */
    }
}

/* Navbar */
.header {
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Sticky Header Logic update */
.header.sticky .nav-container {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    animation: slideDown 0.5s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.nav-container {
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: #fff !important;
    /* Force white text */
    font-weight: 700;
    /* Bold */
    font-size: 16px;
    /* 16px */
    padding: 15px 20px !important;
    position: relative;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-color) !important;
}

/* Branch Dropdown Button */
#branch-dropdown {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--footer-color) !important;
    font-weight: 700;
    padding: 8px 20px;
    transition: 0.3s;
}

#branch-dropdown:hover {
    background-color: #fff;
    color: var(--secondary-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important;
}

/* About Section */
.about-div {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-features h5 {
    color: var(--footer-color);
}

/* Services */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    border-bottom-color: var(--secondary-color);
}

/* Footer */
.footer-logo {
    max-width: 180px;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.social-icon.facebook {
    background-color: #3b5998;
}

.social-icon.instagram {
    background-color: #e1306c;
}

.social-icon.youtube {
    background-color: #ff0000;
}

.social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.footer-head::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.subscribe-form {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.subscribe-form input {
    width: 100%;
    background: #2e2e2e;
    border: none;
    color: #fff;
    padding: 12px 15px;
    padding-right: 50px;
}

.subscribe-form input:focus {
    outline: none;
}

.subscribe-form button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    background: var(--secondary-color);
    border: none;
    color: #fff;
    cursor: pointer;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .hero-caption h1 {
        font-size: 2rem;
    }

    .hero-caption p {
        font-size: 1rem;
    }
}

/* Loan Types Section */
.loan-cnt-box {
    background: #fff;
    border: 2px solid #e91e63;
    /* Pink/Red Border */
    border-radius: 50px;
    /* Rounded Pill */
    padding: 10px 20px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.loan-cnt-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.2);
}

.loan-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 15px;
    border: 2px solid #e91e63;
}

.loan-icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loan-details h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    /* Red Title */
    margin-bottom: 2px;
}

.loan-details p {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    /* Dark text for rate */
    margin-bottom: 0;
}

.loan-details span {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Vertical Divider for Services Page */
.vertical-divider {
    position: absolute;
    left: 50%;
    top: 10%;
    bottom: 10%;
    width: 2px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #efefef 40%, #efefef 60%, rgba(255, 255, 255, 0) 100%);
    transform: translateX(-50%);
    z-index: 1;
}

.service-list-item {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* Blinking Red Text */
@keyframes blink-red {
    0% {
        color: #dc3545;
        opacity: 1;
    }

    50% {
        color: #dc3545;
        opacity: 0.5;
    }

    100% {
        color: #dc3545;
        opacity: 1;
    }
}

.blink-red-text {
    color: #dc3545;
    /* Bootstrap danger color */
    animation: blink-red 1.5s infinite;
}



/* Phone Mockup CSS */
.phone-mockup {
    position: relative;
    width: 300px;
    max-width: 100%;
    /* Ensure it doesn't overflow on small screens */
    height: 600px;
    margin: 0 auto;
    background: #f0f0f0;
    border-radius: 36px;
    border: 12px solid #333;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: #333;
    border-radius: 0 0 15px 15px;
    z-index: 10;
}

.phone-screen {
    flex: 1;
    background: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Abstract Background Shapes inside phone */
.phone-screen::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(233, 30, 99, 0.05);
    /* Faint Pink */
    border-radius: 50%;
    z-index: 0;
}

.phone-screen::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: rgba(0, 191, 243, 0.05);
    /* Faint Blue */
    border-radius: 50%;
    z-index: 0;
}

.upi-header {
    margin-bottom: 20px;
    z-index: 1;
    text-align: center;
}

.upi-header img {
    height: 40px;
    margin-bottom: 10px;
}

.qr-container {
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    z-index: 1;
    border: 2px dashed #ddd;
    /* Placeholder border */
}

.scan-btn {
    background: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 10px 40px;
    border-radius: 30px;
    font-weight: 700;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.3);
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.person-illustration-left,
.person-illustration-right {
    position: absolute;
    bottom: 0;
    width: 120px;
    z-index: 5;
    pointer-events: none;
    display: none;
    /* Hidden on mobile by default */
}

@media (min-width: 992px) {
    .person-illustration-left {
        display: block;
        left: -80px;
    }

    .person-illustration-right {
        display: block;
        right: -80px;
    }
}

/* Brand Red Button */
.btn-brand-red {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-brand-red:hover,
.btn-brand-red:focus,
.btn-brand-red:active {
    background-color: #a0100b;
    border-color: #a0100b;
    color: #fff;
}


/* CTA Banner */
.cta-banner {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Mobile Menu Spacing Fixes */
@media (max-width: 991px) {
    .navbar-nav .nav-link {
        padding: 5px 15px !important;
        /* Reduced vertical padding significantly */
        font-size: 15px;
        /* Slightly smaller font for better fit if needed */
    }

    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0;
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    .dropdown-menu {
        display: none;
        /* Hide by default on mobile to remove gaps */
        opacity: 1;
        /* Reset opacity for when it is shown */
        visibility: visible;
        /* Reset visibility */
        transform: none;
        /* Reset transform */
        clip-path: none;
        /* Reset clip-path */
    }

    .dropdown-menu.show {
        display: block;
        /* Show only when active */
        padding-top: 0;
        padding-bottom: 10px;
    }

    .dropdown-item {
        padding: 8px 30px;
        /* Compact sub-menu items */
    }

    #branch-dropdown {
        margin-top: 10px;
        display: inline-block;
    }
}

/* Scroll To Top Button */
#scrollToTopBtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: var(--secondary-color);
    /* Brand Red */
    color: white;
    cursor: pointer;
    padding: 12px 16px;
    /* Adjust padding for round shape */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s, transform 0.3s;
    align-items: center;
    justify-content: center;
}

#scrollToTopBtn:hover {
    background-color: #a0100b;
    /* Darker red on hover */
    transform: translateY(-3px);
}

/* Position WhatsApp Chat Support button above Scroll To Top button */
.wcs_fixed_right {
    bottom: 85px !important;
}