: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);
    --container-width: 1280px;
    --header-height: 72px;
    --success: #28a745;
    --error: #dc3545;
}

/* --- Resets & Base --- */
* {
    box-sizing: border-box;
    outline: none;
}

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);
}

ul, li {
    padding: 0;
    margin: 0;
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s linear;
}

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: 60px 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("../images/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: 30px;
}

.desktop-nav a {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
    line-height: 41px;
}

.desktop-nav a:hover, 
.desktop-nav a.active {
    color: var(--primary-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-cta {
    background-color: var(--accent-gold);
    color: var(--white);
    padding: 0 15px;
    height: 40px;
    line-height: 40px;
    border-radius: 4px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s;
    cursor: pointer;
}

.btn-cta:hover {
    background-color: #a8832a;
    text-decoration: none;
}

.burger-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 38px;
}

/* --- Mobile Sidenav --- */
.sidenav {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 1001;
    top: 0;
    right: -252px;
    background-color: rgba(91, 192, 235, 0.98);
    overflow-x: hidden;
    transition: right 0.3s ease;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    padding-top: 60px;
    display: flex;
    flex-direction: column;
}

.sidenav.open {
    right: 0;
}

.sidenav a {
    padding: 10px 30px;
    text-decoration: none;
    font-size: 18px;
    color: var(--primary-blue);
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    border-bottom: none;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 400px;
    background-image: url("../images/s1.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    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(--white);
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.7);
    max-width: 600px;
    padding: 0 20px;
    line-height: 1.2;
}

/* --- Content Sections --- */
.mission-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    text-align: center;
    margin-top: 20px;
}

.feature-item img {
    max-width: 180px;
    margin-bottom: 15px;
}

.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);
}
.mission-card h3, .mission-card p {
    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;
}

.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;
}

.swipe-hint {
    text-align: center;
    color: var(--text-light);
    margin-top: 10px;
    opacity: 0.7;
}

/* 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;
}

.chart-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(var(--accent-gold) 0% 70%, rgba(255,255,255,0.2) 70% 100%);
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.circle-inner {
    width: 110px;
    height: 110px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
}

.range-group {
    margin-bottom: 25px;
}

.range-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
}

.slider-input {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    accent-color: var(--accent-gold); /* Modern CSS */
    cursor: pointer;
}

.range-values {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-top: 5px;
}

/* =================================================================
   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);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.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;
}

/* 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 --- */
.bank-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.bank-grid li {
    width: 140px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid transparent;
}

.bank-grid li:nth-child(1) { background-image: url("../images/br1.png"); }
.bank-grid li:nth-child(2) { background-image: url("../images/br2.png"); }
.bank-grid li:nth-child(3) { background-image: url("../images/br3.png"); }
.bank-grid li:nth-child(4) { background-image: url("../images/br4.png"); }
.bank-grid li:nth-child(5) { background-image: url("../images/br5.png"); }
.bank-grid li:nth-child(6) { background-image: url("../images/br6.png"); }
.bank-grid li:nth-child(7) { background-image: url("../images/br7.png"); }
.bank-grid li:nth-child(8) { background-image: url("../images/br8.png"); }

/* --- Footer --- */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 50px;
    padding-bottom: 30px;
    background-color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    background-image: url("../images/lci.PNG");
    background-position: top left;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 120px;
    display: block;
}

.footer-col h4 {
    margin-bottom: 15px;
    color: var(--primary-blue);
    font-size: 16px;
}

.footer-col a {
    display: block;
    color: #666;
    line-height: 2.2;
    font-size: 14px;
}
#blogfooterlist a{
	width: 210px;
    height: 30px;
	overflow:hidden;
	margin:0px;
}
#blogfooterlist a:after{
	Content:" ..."
}
.footer-col a:hover {
    text-decoration: underline;
    color: var(--primary-blue);
}

.developer-credit {
    background-image: url("../images/welldoer.png");
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 50px;
    width: 150px;
    display: block;
    margin-top: 10px;
}

.copyright {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    color: #666;
    font-size: 13px;
}

/* --- Responsive Media Queries --- */
@media screen and (max-width: 1140px) {
    .desktop-nav, 
    .header-actions .hide-mobile {
        display: none;
    }
    
    .burger-menu {
        display: block;
    }
    
    .header-actions {
        margin-left: auto;
    }
	
}

@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;
    }
    
    .bank-grid li {
        width: 45%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo, .developer-credit {
        background-position: center;
        margin: 0 auto;
    }

    /* 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;
	}
}