:root {
    --primary-blue: #0A2C5A;
    --primary-hover: #001a3d;
    --accent-gold: #C39B3C;
    --accent-light: #e8d095;
    --text-dark: #333333;
    --text-light: #737373;
    --white: #ffffff;
    --bg-light: #f4f6f8;
    --border-color: rgba(10, 44, 90, 0.1);
	--blue-shade:rgba(91, 192, 235, 0.2);
	--green-shade:rgba(192, 235, 91, 0.2);
	--orange-shade:rgba(235, 192,91, 0.2);
    --container-width: 1280px;
    --header-height: 72px;
    --success: #28a745;
    --error: #dc3545;
}

/* --- Resets & Base --- */
* {
    box-sizing: border-box;
    outline: none;
}
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 1,   /* 0 for outline, 1 for filled */
  'wght' 400, /* thickness from 100 to 700 */
  'GRAD' 0,   /* thickness adjustment (-25 to 200) */
  'opsz' 20;  /* optical size (usually 20, 24, 40, or 48) */
  font-size:20px;
  vertical-align: middle;
  /*padding-right:5px;*/
}

body {
    font-family: "Maven Pro", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    padding-top: var(--header-height);
	text-align:center;
}

ul, li {
    padding: 0;
    margin: 0;
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s linear;
	cursor: pointer;
}

h1, h2, h3, h4, p {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Utilities --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 40px 0;
}

.title-main {
    font-size: 30px;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 40px;
}

/* --- Header --- */
.site-header {
    height: var(--header-height);
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    background-image: url("../img/logo.png");
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    width: 68px;
    height: 41px;
    display: block;
}

.desktop-nav ul {
    display: flex;
    gap: 15px;
}

.desktop-nav a, .header-actions a {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
    line-height: 41px;
}

.desktop-nav a:hover, .header-actions a:hover,
.desktop-nav a.active, .header-actions a.active {
    color: var(--primary-blue);
}

/* --- Desktop Nav Dropdown Styling (New) --- */

/* Wrapper for the dropdown item */
.nav-dropdown-wrapper {
    position: relative;
}

/* Hide the submenu by default */
.nav-dropdown-menu {
    position: absolute;
    top: 100%; /* Position right below the main link */
    left: 50%;
    transform: translateX(-50%); /* Center the dropdown */
    min-width: 600px;
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--accent-gold); /* Accent line */
    padding: 10px 0;
    z-index: 1010;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border-radius: 0 0 6px 6px;
    /* Reset gap from .desktop-nav ul */
    /*display: block; */
	gap:0px !important;
	align-items: center;
    justify-content: center;
    align-content: space-between;
    flex-direction: row;
	flex-wrap: wrap;
}

/* Show on hover or when the 'active' class is toggled (for click/tap) */
.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper.dropdown-active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

/* Styling for submenu list items */
.nav-dropdown-menu li {
    padding: 10px 5px;
    margin: 0;
    border-bottom: 1px solid var(--bg-light);
}

.nav-dropdown-menu li:last-child {
    border-bottom: none;
}

/* Styling for submenu links */
.nav-dropdown-menu a {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 400;
    padding: 5px;
    line-height: 1.4;
/*    display: block; */
    white-space: nowrap; /* Prevent wrapping */
}

.nav-dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary-blue);
    text-decoration: none;
}

/* Add an arrow/indicator to the main link */
.nav-dropdown-toggle::after {
    content: " \25BC"; /* Unicode for a small down arrow */
    font-size: 10px;
    margin-left: 5px;
    vertical-align: middle;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Rotate the arrow when active/hovered */
.nav-dropdown-wrapper:hover .nav-dropdown-toggle::after,
.nav-dropdown-wrapper.dropdown-active .nav-dropdown-toggle::after {
    transform: rotate(180deg);
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-cta {
	background-image: url("../img/whatsapp.png");
    background-size: 20px auto;
    background-position:15px center;
	background-repeat:no-repeat;
    padding: 0 15px 0 42px ;
    height: 40px;
    line-height: 40px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
	letter-spacing: 0.5px;
	background-color: var(--success);
    color: var(--white) !important;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
	display:block;
}

.btn-cta:hover {
    background-color: var(--accent-light);
    color: var(--primary-blue) !important;
    /*padding-left: 40px; /* Reset hover movement for the button */
    transform: translateY(-2px);
}

.burger-menu {
    display: block;
    font-size: 24px;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 38px;
}

/* =================================================================
   MOBILE SIDENAV (UPDATED DESIGN)
   ================================================================= */
   
/* Overlay effect when side-menu is open */
body.sidenav-active::after {
	content: '';
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.3);
	z-index: 999;
}

.sidenav {
    height:calc(100vh-72px);
    width: 280px; /* Slightly wider for better readability */
    position: fixed;
    z-index: 2000; /* Ensure it sits above the header */
    top: 71px;
    right: -285px; /* Hidden by default */
    background-color: rgba(255, 255, 255,0.98); /* Deep Blue Background */
    overflow-x: hidden;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth slide effect */
    box-shadow: -5px 15px 15px rgba(0, 0, 0, 0.3); /* Shadow for depth */
    padding: 10px 0px;
    display: flex;
    flex-direction: column;
}

body.sidenav-active .sidenav {
    right: -1px;
}

/* General Link Styling */
.sidenav a {
    padding: 9px 20px;
    text-decoration: none;
    font-size: 14px;
    color: var(--accent-gold);
    display: block;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--bg-light); /* Subtle separator */
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Hover State */
.sidenav a:hover {
    background-color:rgba(235, 192,91, 0.1);
    /*color: var(--prime-blue);*/
    padding-left: 30px; /* Subtle movement on hover */
}

/* --- Specific Elements --- */

/* 1. Close Button (X) */
.sidenav .closebtn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 32px;
    color: var(--white); /* Gold color for the close icon */
    background: transparent;
    border: none;
    padding: 0;
    height: auto;
    width: auto;
    line-height: 1;
    margin: 0;
	font-weight: 100;
	transform-origin: center center;
	transition:all 0.05s linear;
}

.sidenav .closebtn:hover {
	color: var(--white);
    background: transparent;
    transform: scale(1.15);
	padding-left:0px;
}

/* 2. Quick Loan CTA Button (The WhatsApp Link) */
/* Targeted by the href since specific classes weren't added to the HTML */
.sidenav a[href*="wa.me"] {
    background-color: var(--success);
    color: var(--white);
    font-weight: 600;
    text-align: center;
    margin: 40px 20px 20px 20px; /* Spacing: Top accounts for Close Btn */
    border-radius: 4px;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
	background-image: url("../img/whatsapp.png");
    background-size: 20px auto;
    background-position:40px center;
	background-repeat:no-repeat;
}

.sidenav a[href*="wa.me"]:hover {
    background-color: var(--accent-light);
    color: var(--primary-blue);
    padding-left: 22px; /* Reset hover movement for the button */
    transform: translateY(-2px);
}

/* Add spacing before specific links to create the "groups" visually 
   (Home, Knowledge Base) based on your HTML order */
/*.sidenav a[href="./home"], */
.sidenav a[href="./knowledge-base"] {
    /*margin-top: 15px;*/
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Brighter line for section breaks */
    position: relative;
}
.sidenav a[href="./terms-and-policies"] {
	border-bottom:none;
}
/* Optional: Add a tiny label-like effect for sections */
/*.sidenav a[href="./home"]::before {
    content: "MENU";
    display: block;
    font-size: 10px;
    color: var(--accent-gold);
    margin-bottom: 5px;
    opacity: 0.7;
}

.sidenav a[href="./knowledge-base"]::before {
    content: "RESOURCES";
    display: block;
    font-size: 10px;
    color: var(--accent-gold);
    margin-bottom: 5px;
    opacity: 0.7;
}*/

/* --- Hero Section --- */
.home-hero{
/*	height: 350px;*/
	background-image: url("../img/b1.jpg");
}
.about-hero{
/*	height: 350px;*/
	background-image: url("../img/b2.jpg");
}
.contact-hero{
/*	height: 350px;*/
	background-image: url("../img/b3.jpg");
}
.careers-hero {
    /*background-image: linear-gradient(rgba(10, 44, 90, 0.7), rgba(10, 44, 90, 0.7)), url("../img/s3.png"); 
    background-blend-mode: overlay;*/
	background-image: url("../img/b4.jpg");
}
.terms-hero{
/*	height: 350px;*/
	background-image: url("../img/b5.jpg");
}
.homeloan-hero{
/*	height: 350px;*/
	background-image: url("../img/b6.jpg");
}
.perloan-hero{
/*	height: 350px;*/
	background-image: url("../img/b7.jpg");
}
.busiloan-hero{
/*	height: 350px;*/
	background-image: url("../img/b8.jpg");
}
.carloan-hero{
/*	height: 350px;*/
	background-image: url("../img/b9.jpg");
}
.proloan-hero{
/*	height: 350px;*/
	background-image: url("../img/b10.jpg");
}
.hltransfer-hero{
/*	height: 350px;*/
	background-image: url("../img/b11.jpg");
}
.debt-hero{
/*	height: 350px;*/
	background-image: url("../img/b12.jpg");
}
.eduloan-hero{
/*	height: 350px;*/
	background-image: url("../img/b13.jpg");
}
.blogpage01-hero{
/*	height: 350px;*/
	background-image: url("../img/b14.jpg");
}
.blogpage02-hero{
/*	height: 350px;*/
	background-image: url("../img/b15.jpg");
}
.blogpage03-hero{
/*	height: 350px;*/
	background-image: url("../img/b16.jpg");
}
.blogpage04-hero{
/*	height: 350px;*/
	background-image: url("../img/b17.jpg");
}
.blogpage05-hero{
/*	height: 350px;*/
	background-image: url("../img/b18.jpg");
}


.hero-section {
    position: relative;
    height: 540px;
    background-size: cover;
    background-position:top center;
    display: flex;
    align-items:self-end;
    justify-content: center;
}

.hero-section::before, 
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -12px;
    width: 50%;
    height: 24px;
    background: var(--white);
    z-index: 2;
}
.hero-section::before { left: 0; transform: skewY(2deg);/* transform-origin: bottom right; */}
.hero-section::after { right: 0; transform: skewY(-2deg);/* transform-origin: bottom left; */}

.hero-text {
    color: var(--primary-blue);
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    text-shadow: 0px 0px 5px rgba(255,255,255,1);
    max-width: 600px;
    padding: 0 20px 40px;
    line-height: 1.2;
}

.about-hero .hero-text, .product-hero .hero-text{
	font-size: 1.5rem;
}

/* --- Content Sections --- */
.mission-text p {
    font-size: 1.0rem;
    line-height: 1.8;
    color: var(--primary-blue);
}


/* --- Features Carousel Styling (New) --- */

.features-carousel-section {
    position: relative; /* Container for absolute buttons */
}

/* 1. Carousel Container: Enables horizontal scrolling and snap */
.features-carousel {
    display: flex;
    overflow-x: auto; /* Enables horizontal scroll/swipe */
    scroll-snap-type: x mandatory; /* Enables snapping to the start of each item */
    gap: 30px; /* Space between features */
    margin-top: 20px;
    padding-bottom: 20px; /* Space for a subtle scrollbar if it appears */
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

/* Hide scrollbar for WebKit browsers (Chrome, Safari, Edge) */
.features-carousel::-webkit-scrollbar { 
    display: none; 
} 

/* 2. Individual Feature Items (Slides) */
.features-carousel .feature-item {
    flex: 0 0 calc(100% / 3 - 20px); /* DESKTOP: Show 3 items (minus gap compensation) */
    min-width: 280px; /* Ensure a minimum size */
    scroll-snap-align: start; /* Snap to the start of the item */
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.features-carousel .feature-item:hover {
    box-shadow: 0 8px 20px rgba(10, 44, 90, 0.1);
}

/* Inherit existing styles for image and text */
.feature-item img {
    max-width: 180px;
    margin-bottom: 15px;
}

/* 3. Navigation Buttons (Desktop Only) */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 5%;
    pointer-events: none; /* Allows clicks to pass through to the slider content */
    z-index: 10;
}

.carousel-btn {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    position: absolute;
    top: 0;
    pointer-events: auto; /* Re-enable clicks for the button itself */
}

.carousel-btn:hover {
    background-color: var(--primary-hover);
    transform: scale(1.1);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* --- New Carousel Styling Additions --- */

/* 1. Disabled Button State */
.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background-color: #ccc; /* Gray out the button */
    pointer-events: none;   /* Prevent clicks */
}

/* 2. Indicators (Dots) Container */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

/* 3. Individual Dot Style */
.carousel-dot {
    width: 12px;
    height: 12px;
    background-color: #e0e0e0; /* Inactive color */
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
}

/* 4. Active Dot Style */
.carousel-dot.active {
    background-color: var(--primary-blue);
    transform: scale(1.2); /* Slight pop effect */
}

.carousel-dot:hover {
    background-color: var(--accent-gold);
}



.feature-item h4 {
    color: #0e273c;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-item p {
    color: #0e273c;
    font-size: 16px;
}

/* =================================================================
   NEW SECTION 1: ABOUT BENTO GRID
   ================================================================= */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
}

.bento-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(10, 44, 90, 0.1);
}

/* Cell Spanning */
.main-about {
    grid-column: span 6; /* Takes half width */
}
.mission-card {
    grid-column: span 6; /* Takes other half */
    background-color: var(--primary-blue);
    color: var(--white);
}

.stat-card {
    grid-column: span 4; /* 3 cards take full width (4+4+4=12) */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Styles inside Grid */
.sub-badge {
    display: inline-block;
    background-color: rgba(195, 155, 60, 0.15);
    color: var(--accent-gold);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.bento-card h3 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    line-height: 1.3;
}

.mission-card h3, .mission-card p {
    color: var(--white);
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.blue-stat .stat-number { color: var(--primary-blue); }
.gold-stat .stat-number { color: var(--accent-gold); }

/* =================================================================
   NEW SECTION 2 & 3: SPLIT LAYOUT (SPECIALIZATION + EMI)
   ================================================================= */
.split-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
}

.split-col {
    flex: 1;
    min-width: 300px;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* Left Col: Specialization Slider */
.specialization-wrapper {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spec-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}
.spec-slider::-webkit-scrollbar { display: none; } /* Hide scrollbar Chrome */

.spec-slide {
    flex: 0 0 85%; /* Shows part of next slide */
    scroll-snap-align: start;
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    position: relative;
    user-select: none;
}

.slide-num {
    font-size: 60px;
    font-weight: 900;
    color: rgba(10, 44, 90, 0.05); /* Very subtle watermark */
    position: absolute;
    top: 10px;
    right: 20px;
}

.spec-slide h3 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

/* --- Specialization Slider Control Additions --- */

/* Wrapper for the slider and buttons to establish relative positioning */
.spec-slider-container {
    position: relative;
}

/* Base style for controls wrapper (Desktop only) */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding: 0 10px; 
    box-sizing: border-box;
    pointer-events: none; /* Allows click-through to the slides */
    z-index: 10;
}

/* Button Styling */
.slider-btn {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 35px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    position: absolute;
    top: 0;
    z-index: 11;
    pointer-events: auto; /* Re-enable clicks for the button */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background-color: var(--primary-hover);
    transform: scale(1.1);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background-color: #ccc;
    transform: none;
}

.prev-btn {
    left: -18px; /* Position slightly outside the slider card */
}

.next-btn {
    right: -18px; /* Position slightly outside the slider card */
}

/* Indicators Styling */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background-color: var(--border-color); /* Light background for inactive */
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot.active {
    background-color: var(--primary-blue);
    border-color: var(--accent-gold);
    transform: scale(1.2);
}

.slider-dot:hover {
    background-color: var(--accent-gold);
}


.swipe-hint {
    text-align: center;
    color: var(--text-light);
    margin-top: 10px;
    opacity: 0.7;
}

/**/
/* --- New Services & Stats Section Styling --- */

/* Ensure the right column looks like a card (matching the left column) */
.services-wrapper {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Custom List Styling */
.included-list {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.included-list li {
    position: relative;
    padding-left: 30px;
    color: var(--primary-blue);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 8px;
}

.included-list li:last-child {
    border-bottom: none;
}

/* Gold Checkmark Icon */
.included-list li::before {
    content: "✔"; 
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-gold); /* Gold checkmarks */
    font-size: 16px;
    font-weight: bold;
}

/* Stats Container */
.stats-container {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.stat-box {
    margin-bottom: 20px;
}

.stat-box:last-child {
    margin-bottom: 0;
}

/* Stat Text Labels */
.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent-gold);
}

/* Progress Bar Track (Background) */
.progress-track {
    width: 100%;
    height: 10px;
    background-color: rgba(10, 44, 90, 0.1); /* Low opacity primary blue */
    border-radius: 10px;
    overflow: hidden;
}

/* Progress Bar Fill (Foreground) */
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-gold) 100%);
    border-radius: 10px;
    position: relative;
    /* Optional: Simple animation on load */
    animation: fillBar 1.5s ease-out forwards;
    transform-origin: left;
}

/* Animation Keyframes */
@keyframes fillBar {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}


/* Right Col: EMI Calculator */
.calculator-wrapper {
/*    background: linear-gradient(to bottom right, var(--primary-blue), #001a3d);
    color: var(--white);
    position: relative;
    overflow: hidden;*/
}

.emi-container {
/*    position: relative;
    z-index: 2;*/
}

/* --- EMI Calculator Specific Styles --- */

.calculator-wrapper {
    /* Ensures the card maintains the gradient from your original CSS */
    background: linear-gradient(to bottom right, var(--primary-blue), #001a3d);
    color: var(--white);
    padding: 30px;
}

/* Chart Styling */
.chart-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    /* Default gradient, will be updated by JS */
    background: conic-gradient(var(--accent-gold) 0deg, rgba(255,255,255,0.1) 0deg);
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    transition: background 0.3s ease;
}

.circle-inner {
    width: 140px;
    height: 140px;
    background-color: #051d3b; /* Slightly darker than primary for contrast */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: inset 0 5px 15px rgba(0,0,0,0.5);
}

.emi-output {
    display: flex;
    flex-direction: column;
}

.emi-label {
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

.emi-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
}

/* Form Controls */
.range-group {
    margin-bottom: 25px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.range-group label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.input-wrapper input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--accent-gold);
    border-radius: 4px;
    padding: 5px 10px;
    width: 100px;
    text-align: right;
    font-weight: 700;
    font-family: inherit;
}

/* Remove arrows from number input for cleaner look */
.input-wrapper input::-webkit-outer-spin-button,
.input-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.input-wrapper input {
    -moz-appearance: textfield;
}

/* Slider Styling */
.slider-input {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-gold);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

.slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider-input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-gold);
    cursor: pointer;
    border: none;
}

/* Results Grid at Bottom */
.emi-results-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.result-item {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
}

.result-item.full-width {
    flex: 1 1 100%;
    margin-top: 10px;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    align-items: center;
}

.res-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 4px;
}

.res-val {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.res-val.highlight-gold {
    color: var(--accent-gold);
}


/* --- Loan Consolidation Section Styles --- */
.consolidation-intro {
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 16px;
    color: #555;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    text-align: left;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-light);
}

.benefit-card h3 {
    color: var(--primary-blue);
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.info-split {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    text-align: left;
}

.info-col {
    flex: 1;
    min-width: 300px;
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-gold);
}

.info-col h3 {
    color: var(--primary-blue);
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 15px;
}

.info-list{
	display: flex;
    gap: 5px;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.info-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.info-list li::before {
    content: "✔";
    color: var(--success);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 14px;
}

/**/

/**/
/* --- Loan Consolidation - Full Page Styles --- */

/* =================================================================
   RESPONSIVE SECONDARY PAGE NAVIGATION
   ================================================================= */

/* Base Styles (Desktop/Tablet Default) */
.page-nav {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    /* Adjust top value based on your main header height */
    top: var(--header-height); 
    z-index: 890;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.page-nav .container {
    position: relative;
}

/* The List Container */
.page-nav-list {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
    margin: 0;
    list-style: none;
    overflow-x: auto; /* Allows swiping on tablets if content overflows */
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.page-nav-list::-webkit-scrollbar { 
    display: none; /* Hide scrollbar Chrome/Safari */
}

/* Link Styles */
.nav-link {
    display: inline-block;
    padding: 8px 16px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    border-radius: 50px; /* Pill shape */
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: var(--primary-blue);
    background-color: var(--bg-light);
}

/* Active State */
.nav-link.active {
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(10, 44, 90, 0.2);
    border-color: var(--primary-blue);
}

/* Mobile Trigger (Hidden on Desktop) */
.page-nav-trigger {
    display: none;
    width: 100%;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    text-align: left;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-blue);
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px;
    margin: 10px 0;
}

.page-nav-trigger .trigger-icon {
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

/* General Content Typography */
.content-section p {
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
}

.section-title {
    color: var(--primary-blue);
    font-size: 28px;
    margin-bottom: 30px;
    border-left: 5px solid var(--accent-gold);
    padding-left: 15px;
    text-align: left;
}

.subsection-title {
    color: var(--text-dark);
    font-size: 20px;
    margin: 30px 0 15px 0;
    font-weight: 700;
    text-align: left;
}

/* Data Tables */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Forces scroll on mobile */
    background: var(--white);
    text-align: left;
}

.data-table th {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:nth-child(even) {
    background-color: var(--bg-light);
}

/* Scenario Cards */
.scenario-card {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.scenario-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--accent-gold);
}

.scenario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.scenario-badge {
    background: var(--primary-blue);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.compare-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
}

.result-box {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid var(--success);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    color: #155724;
}

/* Document Lists */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.doc-category {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
}

.doc-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
}

.doc-list li::before {
    content: "📄";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 14px;
}

/* Timeline */
.timeline-list {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding-left: 20px;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 15px;
    height: 15px;
    background: var(--accent-gold);
    border-radius: 50%;
    z-index: 2;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 20px;
    width: 1px;
    height: 100%;
    background: #ddd;
    z-index: 1;
}

.timeline-item:last-child::after {
    display: none;
}
/**/

/*Blog - Homepage*/
/* --- Blog Section Styles --- */

/* Grid Layout */
.blog-grid {
    display: grid;
    /* Creates a responsive grid (2 or 3 per row depending on screen width) */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Card Styling */
.blog-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* Image Wrapper */
.blog-thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #eee;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.05);
}

/* Content Area */
.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.blog-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes footer down */
}

/* Footer Area (Link + Share) */
.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: auto;
}

.read-more {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
}

.read-more:hover {
    color: var(--accent-gold);
}

.share-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
    font-family: inherit;
}

.share-btn:hover {
    color: var(--primary-blue);
}

/* --- Featured Post Logic (First Item) --- */

/* Only apply layout changes on larger screens */
@media (min-width: 900px) {
    .blog-grid > .blog-card:first-child {
        grid-column: 1 / -1; /* Spans full width */
        flex-direction: row; /* Horizontal layout */
        min-height: 350px;
    }

    .blog-grid > .blog-card:first-child .blog-thumb {
        width: 55%; /* Image takes 55% width */
        height: auto;
    }

    .blog-grid > .blog-card:first-child .blog-content {
        width: 45%;
        justify-content: center;
        padding: 40px;
    }

    .blog-grid > .blog-card:first-child h3 {
        font-size: 28px; /* Larger title for featured */
    }
}
/*Blog - Homepage*/


/*Blog - Articles*/
/* Force vertical stacking for the myth cards */
    .myth-stack { flex-direction: column; }
    .myth-title { color: var(--error); font-size: 1.2rem; margin-bottom: 10px; display: block; font-weight: bold; }
    .myth-header { text-align: left; margin-bottom: 20px; }
    .myth-header h3 { font-size: 24px; color: var(--primary-blue); margin-bottom: 10px; }
    .reality-text { font-size: 16px; color: var(--text-dark); margin-bottom: 20px; text-align: left; }
    .reality-label { font-weight: bold; color: var(--success); }
    .section-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 5px; display: block;}
	
/* Slight adjustment to make list text fit better in cards */
    .tip-card .info-list li {
        font-size: 13px; /* Slightly smaller than body text for density */
        margin-bottom: 8px;
        line-height: 1.5;
    }
    
    .tip-card h3 {
        min-height: 54px; /* Aligns titles if they wrap to 2 lines */
        display: flex;
        align-items: center;
    }

    /* Optional: Add a numbered badge style using the accent color */
    .tip-number {
        color: var(--accent-gold);
        font-weight: 800;
        margin-right: 8px;
    }
	
/*Blog - Articles*/



/* =================================================================
   NEW SECTION 4: LOAN APPLICATION FORM
   ================================================================= */
.form-container-width {
    max-width: 800px;
}

.app-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.split-col .app-form {
    background-color: var(--white);
    padding: 0px;
    border: none;
    box-shadow:none;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
	flex-wrap:wrap;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
	min-width:220px;
	/*margin-bottom:15px;*/
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.form-group input, 
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.2s;
}

.form-group textarea {
    resize: vertical;
}

/* ADDED: Styling for the new select dropdown */
.form-group select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.2s;
    /* Reset default system appearance */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="%230A2C5A" viewBox="0 0 16 16"><path d="M7.247 11.14 2.451 5.658C1.885 5.014 2.345 4 3.204 4h9.592c.86 0 1.32 1.014.753 1.659l-4.796 5.483a1 1 0 0 1-1.506 0z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-color: var(--white);
}

.form-group select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(10, 44, 90, 0.1);
}

/* Re-apply the valid state to select */
.form-group select:valid:not([value=""]) {
    border-color: var(--success);
    /* Remove the default checkmark image for select */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="%230A2C5A" viewBox="0 0 16 16"><path d="M7.247 11.14 2.451 5.658C1.885 5.014 2.345 4 3.204 4h9.592c.86 0 1.32 1.014.753 1.659l-4.796 5.483a1 1 0 0 1-1.506 0z"/></svg>');
}

/* Validation Styles */
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(10, 44, 90, 0.1);
}

.form-group input:valid:not(:placeholder-shown) {
    border-color: var(--success);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%2328a745" viewBox="0 0 16 16"><path d="M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: var(--error);
}

.error-msg {
    color: var(--error);
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-group input:invalid:not(:placeholder-shown) + .error-msg {
    display: block;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: var(--primary-hover);
}

/* --- Bank Logos Grid --- */

.association-wrapper{
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.bank-grid, .nbfc-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
	margin-bottom:20px;
}

.bank-grid li, .nbfc-grid li {
    width: 100px;
    height: 80px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid transparent;
}

.bank-grid li:nth-child(1) { background-image: url("../img/bank01.png"); }
.bank-grid li:nth-child(2) { background-image: url("../img/bank02.png"); }
.bank-grid li:nth-child(3) { background-image: url("../img/bank03.png"); }
.bank-grid li:nth-child(4) { background-image: url("../img/bank04.png"); }
.bank-grid li:nth-child(5) { background-image: url("../img/bank05.png"); }
.bank-grid li:nth-child(6) { background-image: url("../img/bank06.png"); }
.bank-grid li:nth-child(7) { background-image: url("../img/bank07.png"); }
.bank-grid li:nth-child(8) { background-image: url("../img/bank08.png"); }
.bank-grid li:nth-child(9) { background-image: url("../img/bank09.png"); }
.bank-grid li:nth-child(10) { background-image: url("../img/bank10.png"); }
.bank-grid li:nth-child(11) { background-image: url("../img/bank11.png"); }
.bank-grid li:nth-child(12) { background-image: url("../img/bank12.png"); }
.bank-grid li:nth-child(13) { background-image: url("../img/bank13.png"); }
.bank-grid li:nth-child(14) { background-image: url("../img/bank14.png"); }
.nbfc-grid li:nth-child(1) { background-image: url("../img/nbfc01.png"); }
.nbfc-grid li:nth-child(2) { background-image: url("../img/nbfc02.png"); }
.nbfc-grid li:nth-child(3) { background-image: url("../img/nbfc03.png"); }
.nbfc-grid li:nth-child(4) { background-image: url("../img/nbfc04.png"); }
.nbfc-grid li:nth-child(5) { background-image: url("../img/nbfc05.png"); }
.nbfc-grid li:nth-child(6) { background-image: url("../img/nbfc06.png"); }
.nbfc-grid li:nth-child(7) { background-image: url("../img/nbfc07.png"); }
.nbfc-grid li:nth-child(8) { background-image: url("../img/nbfc08.png"); }
.nbfc-grid li:nth-child(9) { background-image: url("../img/nbfc09.png"); }
.nbfc-grid li:nth-child(10) { background-image: url("../img/nbfc10.png"); }
.nbfc-grid li:nth-child(11) { background-image: url("../img/nbfc11.png"); }
.nbfc-grid li:nth-child(12) { background-image: url("../img/nbfc12.png"); }

/* --- Footer --- */
.site-footer {
    /*border-top: 1px solid var(--border-color);*/
    padding-top: 30px;
    padding-bottom: 150px;
    background-color: var(--blue-shade);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
	text-align:left;
}

.footer-logo {
    background-image: url("../img/logo.png");
    background-position: top left;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 120px;
    display: block;
}

.footer-menu, #blogfooterlist{
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:left;
}
#blogfooterlist{
    flex-direction: column;
}
.footer-col h4 {
    margin-bottom: 15px;
    color: var(--primary-blue);
    font-size: 16px;
	width:100%;
}

.footer-col a {
    display: block;
    line-height: 2.2;
    font-size: 14px;
}
.footer-menu a{
	margin: 0px 1px 1px 0px;
    padding: 0px 10px 0px 0px;
    border-radius: 5px;
}
#blogfooterlist a{
	/*width: 210px;*/
    height: 30px;
	overflow:hidden;
	margin: 0px 0px 1px;
    padding: 0px 0px 0px 0px;
    border-radius: 5px;
}
#blogfooterlist a:after{
	Content:" ..."
}
.footer-col a:hover {
    text-decoration: underline;
    color: var(--primary-blue);
}

.developer-credit-text {
	text-align:center;
}

.developer-credit {
    background-image: url("../img/welldoer.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size:contain;
    height: 40px;
    width: 100%;
    display: block;
    margin-top: 10px;
}

.copyright {
    border-top: 1px solid var(--blue-shade);
    padding-top: 20px;
    color: #666;
    font-size: 13px;
}

/* --- Social Connect Section --- */
.social-connect-section {
    background-color: var(--blue-shade);
    border-top: 1px solid var(--border-color);
    padding: 30px 0px 0px;
}
nav .social-connect-section {
	background-color: unset;
    border-top: none;
    padding: 10px 0px;
}

.social-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap; /* Allows stacking on small screens */
	border-bottom: 1px solid var(--blue-shade);
    padding-bottom: 30px;
}
nav .social-inner {
	border-bottom: none;
    padding-bottom: 0px;
	justify-content:center;
}

/* Reusing text styling logic from your Career section for consistency */
.social-text {
    text-align: left;
    flex: 1;
    min-width: 280px; /* Ensures text doesn't get too squashed */
}

.social-text h3 {
    color: var(--primary-blue);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.social-text p {
    color: var(--text-light);
    font-size: 15px;
    margin: 0;
}

/* Icon List Container */
.social-icons-list {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}
nav .social-icons-list {
    gap: 10px;
}

/* SPRITE SETUP 
   Assumption: The sprite image is a horizontal strip.
   Each icon is 40px wide and 40px high.
*/
.social-link {
    display: block;
    width: 30px; 
    height: 30px;
    background-image: url("../img/social-media.png");
    background-repeat: no-repeat;
    background-size: 150px 30px; /* Total width (40px * 5 icons) x Height */
    border-radius: 6px; /* Soft edges matching your buttons */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
nav .social-link {
	border-bottom:none;
	padding:0px;
}

/* Hover Effect: Pop up and add a subtle glow using your accent color */
.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(195, 155, 60, 0.3); /* Shadow using --accent-gold rgb */
}
nav .social-link:hover {
	padding-left:0px;
}

/* SPRITE POSITIONS 
   We shift the background image to the left (negative value) 
   to reveal the correct icon.
*/

/* 1. Instagram (0px) */
.icon-insta {
    background-position: 0 0;
}

/* 2. Facebook (Shifted 40px) */
.icon-fb {
    background-position: -30px 0;
}

/* 3. X / Twitter (Shifted 80px) */
.icon-x {
    background-position: -60px 0;
}

/* 4. YouTube (Shifted 120px) */
.icon-yt {
    background-position: -90px 0;
}

/* 5. LinkedIn (Shifted 160px) */
.icon-li {
    background-position: -120px 0;
}

/* --- Mobile / Responsive Tweaks --- */
@media (max-width: 768px) {
    .social-inner {
        flex-direction: column;
        text-align: center;
    }

    .social-text {
        text-align: center;
    }
}


/* =================================================================
   CAREER INVITE SECTION
   ================================================================= */

.career-cta-section {
    background-color: var(--primary-blue);
    /* Adds a subtle accent line at the top to make it pop */
    border-top: 4px solid var(--accent-gold);
    padding: 35px 0;
    margin-top: 0px;
    position: relative;
    overflow: hidden;
}

.whatsapp-cta-section {
    background-color: var(--orange-shade);
    /* Adds a subtle accent line at the top to make it pop */
    border-top: none;
}

.career-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Text Styling */
.career-text {
    text-align: left;
    flex: 1; /* Allows text to take available space */
}

.career-text h3 {
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.career-text p {
    color: rgba(255, 255, 255, 0.85); /* Slightly transparent white for subtext */
    font-size: 15px;
    margin: 0;
}

.whatsapp-cta-section h3, .whatsapp-cta-section p{
	color: var(--text-dark);
}

/* Button Styling */
.btn-career {
    background-color: var(--accent-gold);
    color: var(--white);
    padding: 12px 35px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap; /* Prevents button text from wrapping */
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

.btn-career:hover {
    background-color: var(--accent-light);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

/* Careers Page */
/* --- Careers Page Specific Styles --- */


/* 2. File Input Styling Enhancements */
/* Makes the standard file input look cleaner */
input[type="file"] {
    padding: 10px;
    background-color: var(--bg-light);
    cursor: pointer;
}

.file-hint {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
    font-style: italic;
}

/* 3. Character Counter */
.char-count {
    text-align: right;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

/* 4. Form Status Messages */
.form-status {
    margin-top: 15px;
    padding: 15px;
    border-radius: 6px;
    display: none; /* Hidden by default */
    font-weight: 600;
    text-align: center;
}

.form-status.success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
    display: block;
}

.form-status.error {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--error);
    border: 1px solid var(--error);
    display: block;
}

/* --- Scroll to Top Button --- */
#scrollToTopBtn, #scrollToTopBtn:active, #scrollToTopBtn:focus {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1999; /* High z-index to ensure it sits above everything */
    border: none;
    outline: none;
    
    /* Style borrowed from .carousel-btn for consistency */
    background-color: var(--primary-blue);
    color: var(--white);
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Circle shape */
    font-size: 24px;
    line-height: 50px; /* Center text vertically */
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    
    /* Smooth transitions for hover and appearance */
    transition: background-color 0.3s ease, opacity 0.3s ease;
    opacity: 0; /* Used for the fade-in effect */
}

/* Hover Effect */
#scrollToTopBtn:hover {
    background-color: var(--accent-gold); /* Using your accent color */
    /*transform: translateY(-5px); /* Subtle lift effect */
    /*box-shadow: 0 8px 20px rgba(10, 44, 90, 0.3);*/
}

/* Visible State (toggled by JS) */
#scrollToTopBtn.show {
    display: block;
    opacity: 1;
}

/* 5. Mobile Adjustments for File Input */
@media screen and (max-width: 600px) {
    input[type="file"] {
        font-size: 12px;
    }
}

/* --- Responsive Media Queries --- */
@media screen and (max-width: 1200px) {
	
	/*.split-col .form-row {
        flex-direction: column;
        gap: 0;
    }*/
}

@media screen and (max-width: 1140px) {
    .desktop-nav, 
    .header-actions .hide-mobile {
        display: none;
    }
    
    .header-actions {
        margin-left: auto;
    }
	
	/* Tablet/Medium Screens: Show 2 features */
    .features-carousel .feature-item {
        flex: 0 0 calc(50% - 15px); /* Show 2 items (minus gap compensation) */
    }
	
}

@media screen and (max-width: 900px) {
    /* Stack Grid on Tablet */
    .main-about, .mission-card {
        grid-column: span 12;
    }
    .stat-card {
        grid-column: span 4;
    }
}

@media screen and (max-width: 768px) {
    .hero-text {
        font-size: 2.5rem;
    }
    .about-hero .hero-text, .product-hero .hero-text{
		font-size: 1.2rem;
		padding:0px 20px 25px
	}
	
	.info-split {
        flex-direction: column;
    }
	
	/* Mobile Screens: Show 1 feature */
    .features-carousel .feature-item {
        flex: 0 0 100%; /* Show 1 item */
    }
    
    /* Hide the navigation buttons on mobile to encourage swiping */
    .hide-on-mobile {
        display: none;
    }
	
    .bank-grid li, .nbfc-grid li {
        width: 30%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
	.footer-menu, #blogfooterlist{
		justify-content: center;
	}
	
	.developer-credit-text {
		text-align:center;
	}
	
    .footer-logo, .developer-credit {
        background-position: center;
        margin: 0 auto 20px;
    }

    /* New Section Mobile Adjustments */
    .bento-card, .stat-card {
        grid-column: span 12;
    }
    
    /*.form-row {
        flex-direction: column;
        gap: 0;
    }*/

    /*.form-group {
        margin-bottom: 15px;
    }*/
	#blogfooterlist a{
		margin:0px auto 1px;
	}
	
	.career-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .career-text {
        text-align: center;
    }

    .career-text h3 {
        font-size: 20px;
    }
    
    .btn-career {
        width: 100%; /* Make button full width on mobile for easier tapping */
        text-align: center;
    }
	
	.services-wrapper {
        padding: 30px 20px;
    }
    
    .included-list li {
        font-size: 14px;
    }
	
	.slider-controls {
        display: none; 
    }
	
	.page-nav {
        padding: 0 5%; /* Align with container padding */
    }

    .page-nav-trigger {
        display: flex; /* Show the dropdown trigger */
    }

    /* Transform the list into a dropdown menu */
    .page-nav-list {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        border: 1px solid var(--border-color);
        border-top: none;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-radius: 0 0 8px 8px;
        padding: 0;
        max-height: 0; /* Hidden by default */
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        flex-direction: column;
        width: 100%; /* Ensure it spans full width */
        margin: 0 auto;
        z-index: 900;
    }

    /* When the menu is open */
    .page-nav-list.open {
        max-height: 400px; /* Arbitrary large height */
        opacity: 1;
        padding: 10px 0;
    }

    /* Rotate arrow when open */
    .page-nav-trigger.open .trigger-icon {
        transform: rotate(180deg);
    }

    /* Mobile Link Styles */
    .page-nav-list li {
        width: 100%;
        text-align: left;
    }

    .nav-link {
        display: block;
        width: 100%;
        border-radius: 0;
        padding: 12px 20px;
        border: none;
        border-left: 4px solid transparent;
    }

    .nav-link.active {
        background-color: var(--bg-light);
        color: var(--primary-blue);
        border-left-color: var(--accent-gold);
        box-shadow: none;
    }
	
	#scrollToTopBtn, #scrollToTopBtn:active, #scrollToTopBtn:focus {
        width: 40px;
        height: 40px;
        font-size: 20px;
        line-height: 40px;
        bottom: 20px;
        right: 20px;
    }
}