/* 
   Spring Bee Financial Consultancy Services
   Core Stylesheet
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #002663;
    /* Royal Deep Blue */
    --primary-hover: #001a44;
    --secondary-color: #e08200;
    /* Amber Gold */
    --secondary-hover: #c67300;
    --accent-color: #f1a80a;
    /* Golden Yellow */
    --light-bg: #f4f7fc;
    /* Soft Light Blue Background */
    --white: #ffffff;
    --dark-text: #2d3748;
    --muted-text: #718096;
    --border-color: #e2e8f0;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Override Bootstrap primary colors */
    --bs-primary: #002663;
    --bs-primary-rgb: 0, 38, 99;
}

/* Custom Theme Overrides for Bootstrap Utility Classes (Eliminating Crimson Red) */
.border-danger {
    border-color: var(--secondary-color) !important;
}
.text-danger {
    color: var(--secondary-color) !important;
}
.bg-danger {
    background-color: var(--secondary-color) !important;
}
.btn-danger {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: var(--white) !important;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background-color: var(--secondary-hover) !important;
    border-color: var(--secondary-hover) !important;
    color: var(--white) !important;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark-text);
    background-color: var(--white);
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--primary-color);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Top bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 2px solid var(--secondary-color);
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--accent-color);
}

.top-bar i {
    color: var(--accent-color);
}

/* Main Navbar */
.navbar-brand img {
    height: 55px;
    object-fit: contain;
}

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

.brand-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--primary-color);
}

.brand-subtitle {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--secondary-color);
}

.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    transition: var(--transition);
}

.navbar.sticky-top {
    box-shadow: var(--shadow-md);
}

.navbar-nav .nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--dark-text) !important;
    padding: 8px 16px !important;
    position: relative;
    transition: var(--transition);
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 16px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 32px);
}

.navbar-nav .nav-link.nav-btn-apply {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    border-radius: 4px;
    font-weight: 600;
    padding: 8px 20px !important;
    transition: var(--transition);
}

.navbar-nav .nav-link.nav-btn-apply:hover {
    background-color: var(--secondary-color) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.nav-btn-apply::after {
    display: none !important;
}

/* Hamburger menu toggle custom styling */
.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.toggler-icon {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    display: block;
    margin: 5px 0;
    transition: var(--transition);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ==========================================================================
   Hero Banner
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 90px 0;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(244, 247, 252, 0.85) 0%, rgba(255, 255, 255, 0.80) 100%); */
    z-index: 1;
}

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

.hero-tagline {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-lead {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 35px;
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.hero-feature-item {
    text-align: center;
    background: var(--white);
    padding: 15px 10px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.hero-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.hero-feature-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.hero-feature-text {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark-text);
    line-height: 1.3;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-custom {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    font-family: var(--font-primary);
}

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

.btn-primary-custom:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary-custom:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hero-img-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img,
#heroVideoCarousel {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.hero-img:hover,
#heroVideoCarousel:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.object-fit-cover {
    object-fit: cover;
}

/* ==========================================================================
   Loan Categories Row
   ========================================================================== */
.categories-bar {
    background-color: var(--primary-color);
    padding: 25px 0;
    color: var(--white);
    margin-top: -20px;
    position: relative;
    z-index: 10;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.categories-title {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    color: var(--white);
}

.categories-title::before,
.categories-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.4);
}

.categories-title::before {
    left: 25%;
}

.categories-title::after {
    right: 25%;
}

.category-flex-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.category-link {
    color: var(--white);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100px;
    transition: var(--transition);
    opacity: 0.85;
}

.category-link:hover {
    color: var(--accent-color);
    opacity: 1;
    transform: translateY(-5px);
}

.category-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-name {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-title-container {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-section {
    background-color: var(--white);
    padding: 80px 0;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px 25px;
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.service-card:hover::before {
    background-color: var(--secondary-color);
    height: 6px;
}

.service-card-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-card-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.service-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.service-card-desc {
    font-size: 0.88rem;
    color: var(--muted-text);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.service-card-link i {
    font-size: 0.75rem;
    margin-left: 5px;
    transition: var(--transition);
}

.service-card-link:hover {
    color: var(--primary-color);
}

.service-card-link:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   Why Choose Us & Get In Touch Section
   ========================================================================== */
.why-choose-section {
    background-color: var(--light-bg);
    padding: 80px 0;
    position: relative;
}

.why-choose-card {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 12px;
    padding: 40px;
    height: 100%;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.why-choose-card::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    bottom: -80px;
    right: -80px;
}

.why-choose-title {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.why-choose-title span {
    color: var(--accent-color);
}

.why-choose-list {
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
    margin-bottom: 30px;
}

.why-choose-list li {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.why-choose-list li i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 15px;
}

.why-choose-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

/* Contact Form CSS */
.contact-form-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--secondary-color);
}

.form-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-transform: uppercase;
    text-align: center;
}

.form-title span {
    color: var(--secondary-color);
}

.form-control,
.form-select {
    padding: 12px 16px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: #fafbfc;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 3px rgba(0, 38, 99, 0.15);
    border-color: var(--primary-color);
    background-color: var(--white);
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 6px;
}

.btn-submit {
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px;
    border-radius: 6px;
    border: none;
    width: 100%;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--secondary-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Partner Banks
   ========================================================================== */
.partners-section {
    padding: 70px 0;
    background-color: var(--white);
}

.marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 10px 0;
}

.partners-container {
    display: flex;
    align-items: center;
    gap: 30px;
    width: max-content;
    animation: scrolling 25s linear infinite;
}

.partners-container:hover {
    animation-play-state: paused;
}

@keyframes scrolling {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
    }
}

.partner-logo-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 150px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.partner-logo-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo-box:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.btn-view-more {
    font-size: 0.85rem;
    font-weight: 700;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-view-more:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* ==========================================================================
   EMI Calculator Specifics
   ========================================================================== */
/* Interactive Calculator Tabs (Premium UX Design & High Contrast) */
#calculatorTabs {
    background-color: #f1f5f9 !important;
    border-radius: 12px;
    padding: 6px !important;
    gap: 8px;
    border: none;
}

#calculatorTabs .nav-item {
    flex: 1;
    min-width: 200px;
}

#calculatorTabs .nav-link {
    border-radius: 8px !important;
    color: var(--dark-text) !important;
    background-color: transparent !important;
    font-weight: 600;
    transition: var(--transition);
    border: none !important;
    padding: 12px 15px !important;
    font-size: 0.88rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#calculatorTabs .nav-link::after {
    display: none !important;
}

#calculatorTabs .nav-link:hover:not(.active) {
    background-color: rgba(0, 38, 99, 0.05) !important;
    color: var(--primary-color) !important;
}

#calculatorTabs .nav-link.active {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    box-shadow: var(--shadow-md);
}

.calculator-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--primary-color);
}

.calc-slider-group {
    margin-bottom: 25px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.slider-label {
    font-weight: 600;
    color: var(--dark-text);
}

.slider-value-box {
    display: flex;
    align-items: center;
}

.slider-value-box span {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-right: 5px;
}

.slider-input-val {
    width: 110px;
    font-weight: 700;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 4px 8px;
    text-align: right;
}

.slider-input-val:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-range {
    height: 6px;
    background-color: var(--border-color);
    border-radius: 3px;
    outline: none;
}

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

.form-range::-webkit-slider-thumb:active {
    background-color: var(--secondary-color);
}

.calc-results-card {
    background-color: var(--light-bg);
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px dashed var(--primary-color);
}

.calc-result-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.calc-result-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.calc-result-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted-text);
    text-transform: uppercase;
}

.calc-result-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.calc-result-value.emi-amount {
    color: var(--secondary-color);
    font-size: 2.2rem;
}

.chart-container {
    position: relative;
    margin: 20px auto 0;
    width: 220px;
    height: 220px;
}

/* Table styling */
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.table thead {
    background-color: var(--primary-color);
    color: var(--white);
}

.table th {
    font-weight: 600;
    padding: 15px !important;
}

.table td {
    padding: 12px 15px !important;
    font-size: 0.9rem;
}

/* ==========================================================================
   Page Headers / Breadcrumbs
   ========================================================================== */
.page-header {
    background: linear-gradient(135deg, rgba(0, 38, 99, 0.9) 0%, rgba(0, 26, 68, 0.95) 100%),
        url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    padding: 60px 0;
    color: var(--white);
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
}

.breadcrumb-item.active {
    color: var(--white);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   WhatsApp and Apply Floating Buttons
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: var(--white);
    transform: scale(1.1) rotate(10deg);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: #25d366;
    color: var(--white);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    pointer-events: none;
    box-shadow: var(--shadow-sm);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #25d366;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.sticky-apply-btn {
    position: fixed;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px 8px 0 0;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 999;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    text-decoration: none;
}

.sticky-apply-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    right: -65px;
}



.text-primary {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer-section {
    background-color: #001233;
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 0;
    font-size: 0.88rem;
}

.footer-title {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-desc {
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social-link:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-links a i {
    font-size: 0.65rem;
    margin-right: 8px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 4px;
}

.footer-links a:hover i {
    color: var(--accent-color);
}

.footer-contact-item {
    display: flex;
    margin-bottom: 16px;
}

.footer-contact-icon {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-right: 15px;
    margin-top: 3px;
}

.footer-contact-text {
    line-height: 1.5;
}

.footer-qr-container {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-qr-code {
    width: 110px;
    height: 110px;
    background-color: var(--white);
    padding: 6px;
    border-radius: 4px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-qr-code svg {
    max-width: 100%;
    max-height: 100%;
}

.footer-qr-caption {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-bottom {
    background-color: #000b21;
    padding: 20px 0;
    margin-top: 50px;
    font-size: 0.78rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

/* ==========================================================================
   Responsive Overrides
   ========================================================================== */

@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .navbar-nav .nav-link {
        padding: 8px 10px !important;
        font-size: 0.95rem;
        white-space: nowrap;
    }

    .navbar-nav .nav-link.nav-btn-apply {
        padding: 8px 15px !important;
        font-size: 0.95rem;
    }

    /* Collapsed navbar styles moved here from 991px to make navbar collapse cleanly at 1024px */
    .navbar-collapse {
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px;
        z-index: 1000;
        border-top: 1px solid var(--border-color);
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-nav .nav-link {
        padding: 10px 0 !important;
    }

    .navbar-nav .nav-link.nav-btn-apply {
        display: inline-block;
        margin-top: 15px;
        text-align: center;
        padding: 10px 20px !important;
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    /* Stacking top-bar columns vertically at tablet sizes (768px-991px) to prevent wrapping overlaps */
    .top-bar .row {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }
    .top-bar .col-md-9 {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 6px;
    }
    .top-bar .col-md-3 {
        width: 100% !important;
        text-align: center !important;
    }
    .top-bar span {
        margin-right: 15px !important;
        display: inline-block;
        margin-bottom: 4px;
    }
    .top-bar span:last-child {
        margin-right: 0 !important;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-lead {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 25px;
    }

    .hero-features-grid {
        margin-bottom: 30px;
    }

    .hero-buttons {
        justify-content: center;
        margin-bottom: 40px;
    }

    .categories-bar {
        margin-top: 20px;
    }

    .categories-title::before,
    .categories-title::after {
        width: 30px;
    }

    .categories-title::before {
        left: 10%;
    }

    .categories-title::after {
        right: 10%;
    }

    .why-choose-card {
        margin-bottom: 30px;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 10px;
    }

    .footer-section {
        padding-top: 50px;
    }
}

@media (max-width: 767.98px) {
    .top-bar {
        text-align: center;
    }

    .top-bar .text-end {
        text-align: center !important;
        margin-top: 5px;
    }

    .brand-title {
        font-size: 1.25rem;
    }

    .brand-subtitle {
        font-size: 0.6rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .hero-feature-icon {
        font-size: 1.5rem;
    }

    .hero-feature-text {
        font-size: 0.75rem;
    }

    .categories-title::before,
    .categories-title::after {
        display: none;
    }

    .why-choose-card {
        padding: 30px 20px;
    }

    .contact-form-card {
        padding: 30px 20px;
    }

    .why-choose-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .calculator-card {
        padding: 20px;
    }

    .calc-result-value {
        font-size: 1.5rem;
    }

    .calc-result-value.emi-amount {
        font-size: 1.9rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-features-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .btn-custom {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }

    .category-flex-container {
        justify-content: center;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .category-link {
        width: auto;
    }

    .partner-logo-box {
        width: 130px;
        height: 60px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-tooltip {
        display: none;
        /* Hide tooltips on small devices */
    }

    .sticky-apply-btn {
        display: none;
        /* Hide sticky rotate button on extra small screens */
    }

    /* Table responsiveness for small mobile screens (320px) - Card Layout */
    .table-responsive .table, 
    .table-responsive .table tbody, 
    .table-responsive .table tr, 
    .table-responsive .table td {
        display: block;
        width: 100%;
    }

    .table-responsive .table thead {
        display: none; /* Hide standard headers */
    }

    .table-responsive .table tr {
        margin-bottom: 15px;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        background-color: #fff;
    }

    .table-responsive .table td {
        text-align: right;
        padding: 10px 15px;
        position: relative;
        border-bottom: 1px solid #eee;
        font-size: 0.95rem;
    }

    .table-responsive .table td:last-child {
        border-bottom: none;
    }

    .table-responsive .table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 45%;
        text-align: left;
        font-weight: 600;
        color: var(--primary-color);
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    /* 2-column grid layout for categories bar on mobile view to avoid wrapping overflows */
    .category-flex-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

@media (max-width: 360px) {
    /* Vertical-stacked card list layout for tables at 320px screens (Amazon style) */
    .table-responsive .table td {
        text-align: left !important;
        padding: 8px 12px 8px 12px !important;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid #eee;
    }
    
    .table-responsive .table td::before {
        position: static !important;
        width: 100% !important;
        text-align: left !important;
        margin-bottom: 4px;
        display: block;
        font-size: 0.78rem;
    }
}

/* ==========================================================================
   Founder & Leadership Profile Section
   ========================================================================== */
.founder-img-wrapper {
    position: relative;
    max-width: 260px;
    margin: 0 auto;
}

.founder-img {
    border: 8px solid var(--white);
    transition: var(--transition);
    object-fit: cover;
    aspect-ratio: 4/5;
    width: 100%;
}

.founder-img-wrapper:hover .founder-img {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.founder-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
    z-index: 2;
    animation: pulseBadge 3s infinite;
}

.founder-experience-badge .num {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
}

.founder-experience-badge .text {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes pulseBadge {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(224, 130, 0, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(224, 130, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(224, 130, 0, 0);
    }
}

.professional-summary-list .d-flex {
    transition: var(--transition);
    padding: 10px;
    border-radius: 8px;
}

.professional-summary-list .d-flex:hover {
    background-color: var(--light-bg);
}

.professional-summary-list i {
    font-size: 1.25rem;
    color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .founder-img-wrapper {
        margin-bottom: 40px;
    }
    .founder-experience-badge {
        bottom: -10px;
        right: 10px;
    }
}

/* Team Grid / Expert Cards Styling */
.expert-card {
    transition: var(--transition);
    border-radius: 12px;
    border-top: 4px solid var(--primary-color) !important;
    background-color: var(--white);
}

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

.expert-summary-list li {
    font-size: 0.88rem;
    color: var(--muted-text);
    line-height: 1.5;
}

.expert-summary-list li strong {
    color: var(--primary-color);
}

/* Call-To-Action (CTA) responsive layout */
.cta-panel h3 {
    font-size: 1.6rem;
}
@media (max-width: 575.98px) {
    .cta-panel h3 {
        font-size: 1.25rem !important;
    }
    .cta-panel p {
        font-size: 0.85rem !important;
    }
}