/* assets/css/style.css */

/* 1. Import Fonts & Setup Variables */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #1E3A8A;       /* Royal Blue */
    --primary-dark: #0F172A;  /* Dark Slate Navy */
    --secondary: #10B981;     /* Teal Green */
    --secondary-dark: #059669;
    --accent: #F59E0B;        /* Golden Amber */
    --text-main: #334155;     /* Slate Grey Text */
    --text-muted: #64748B;
    --bg-light: #F8FAFC;      /* Soft Light Blue-Grey */
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 25px -5px rgba(30, 58, 138, 0.08), 0 8px 10px -6px rgba(30, 58, 138, 0.05);
    --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* 2. Resets & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* 3. Common Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--bg-white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: var(--radius-sm);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* 4. Buttons & Badges */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-new { background-color: rgba(30, 58, 138, 0.1); color: var(--primary); }
.badge-contacted { background-color: rgba(245, 158, 11, 0.1); color: var(--accent); }
.badge-pending { background-color: #FEF3C7; color: #D97706; }
.badge-review { background-color: #EDE9FE; color: #7C3AED; }
.badge-approved { background-color: rgba(16, 185, 129, 0.1); color: var(--secondary); }
.badge-rejected { background-color: #FEE2E2; color: #EF4444; }
.badge-disbursed { background-color: #D1FAE5; color: #065F46; }

/* 5. Header / Navigation */
.top-header {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-header-contacts {
    display: flex;
    gap: 20px;
}

.top-header-contacts span, .top-header-contacts a {
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.main-nav {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 95px;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-socials {
    display: flex;
    gap: 12px;
    border-left: 1px solid var(--border-color);
    padding-left: 15px;
    align-items: center;
}

.logo-socials a {
    color: var(--text-muted);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
}

.logo-socials a:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.logo-socials svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .logo-socials {
        display: none;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px; /* Reduced from 25px to fit all items on a single line */
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-dark);
    padding: 8px 0;
    font-size: 0.92rem; /* Adjusted from 16px to prevent line wrapping */
    white-space: nowrap; /* Prevent individual text items from wrapping */
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

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

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    list-style: none;
    padding: 10px 0;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary);
}

/* 6. Hero Banner */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%), var(--bg-white);
    padding: 100px 0 120px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-content h1 span {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 600px;
}

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

.hero-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    border: 1px solid rgba(30, 58, 138, 0.05);
}

.hero-card h3 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.4rem;
}

/* 7. Loan Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(30, 58, 138, 0.15);
}

.service-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background-color: rgba(30, 58, 138, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: var(--transition-normal);
}

.service-card:hover .service-card-icon {
    background-color: var(--primary);
    color: var(--bg-white);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card-rate {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-dark);
    margin-bottom: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.service-card-link {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    gap: 6px;
}

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

/* 8. Calculators Section */
.calculator-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.calc-inputs {
    padding: 40px;
}

.calc-results {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-group {
    margin-bottom: 30px;
}

.calc-label-row {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.calc-label-row input[type="text"], .calc-label-row input[type="number"] {
    border: none;
    border-bottom: 2px solid var(--primary);
    text-align: right;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    width: 120px;
    padding-bottom: 2px;
}

.calc-range {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    outline: none;
    border-radius: 3px;
    -webkit-appearance: none;
}

.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: var(--transition-fast);
}

.calc-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-results-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.calc-result-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.calc-result-val {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.25rem;
}

.calc-emi-display {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: var(--radius-md);
}

.calc-emi-val {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
    display: block;
    margin-top: 5px;
}

/* 9. Forms (Apply, Partner, Contact) */
.form-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-full {
    grid-column: span 2;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--primary-dark);
}

.form-control {
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    transition: var(--transition-fast);
    background-color: var(--bg-light);
}

.form-control:focus {
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

.form-check {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.form-check input {
    margin-top: 5px;
    cursor: pointer;
}

.form-check label {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
}

.file-upload-box {
    border: 2px dashed var(--border-color);
    padding: 20px;
    text-align: center;
    border-radius: var(--radius-md);
    cursor: pointer;
    background-color: var(--bg-light);
    transition: var(--transition-fast);
}

.file-upload-box:hover {
    border-color: var(--primary);
    background-color: rgba(30, 58, 138, 0.02);
}

.file-upload-box input[type="file"] {
    display: none;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.file-upload-label svg {
    width: 35px;
    height: 35px;
    color: var(--primary);
    margin-bottom: 5px;
}

/* 10. FAQ Accordions (Details/Summary) */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
    border-color: rgba(30, 58, 138, 0.15);
}

.faq-item summary {
    padding: 20px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--primary-dark);
    cursor: pointer;
    list-style: none;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition-normal);
}

.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 20px 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.95rem;
    background-color: rgba(248, 250, 252, 0.5);
}

/* 11. Testimonials Slide/Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 35px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-stars {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 25px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-user-info h4 {
    font-size: 1.05rem;
}

.testimonial-user-info p {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: normal;
}

/* 12. Blog & Dynamic Service Detail Page Layouts */
.detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.detail-content {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.detail-content h2, .detail-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.detail-content h2:first-of-type {
    margin-top: 0;
}

.detail-content p {
    margin-bottom: 20px;
}

.detail-content ul {
    list-style: none;
    margin-bottom: 25px;
}

.detail-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.detail-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-box {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.sidebar-box h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.sidebar-service-list {
    list-style: none;
}

.sidebar-service-list li {
    border-bottom: 1px solid var(--border-color);
}

.sidebar-service-list li:last-child {
    border-bottom: none;
}

.sidebar-service-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5px;
    font-weight: 500;
}

.sidebar-service-list a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* 13. Sticky Action Floaters */
.floaters {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floater-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: var(--transition-normal);
}

.floater-btn:hover {
    transform: scale(1.1);
}

.floater-whatsapp {
    background-color: #25D366;
    animation: heartbeat 2s infinite alternate;
}

.floater-call {
    background-color: var(--primary);
}

@keyframes heartbeat {
    0% { transform: scale(1); box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3); }
    100% { transform: scale(1.08); box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6); }
}

.sticky-apply-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 12px 0;
    z-index: 998;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
    display: none; /* Controlled dynamically */
}

.sticky-apply-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 14. Footer Layout */
.footer {
    background-color: var(--primary-dark);
    color: #94A3B8;
    padding: 80px 0 20px 0;
    border-top: 5px solid var(--secondary);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

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

.footer-links {
    list-style: none;
}

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

.footer-links a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact-info svg {
    width: 20px;
    color: var(--secondary);
    flex-shrink: 0;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 30px;
    margin-bottom: 30px;
    font-size: 0.82rem;
    line-height: 1.6;
    text-align: justify;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 10px;
}

/* 15. Admin Panel Dashboard Elements */
.admin-body {
    background-color: var(--bg-light);
    min-height: 100vh;
    display: flex;
}

.admin-sidebar {
    width: 260px;
    background-color: var(--primary-dark);
    color: #94A3B8;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: fixed;
    z-index: 100;
}

.admin-sidebar-logo {
    padding: 25px 20px;
    font-size: 1.4rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--bg-white);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-sidebar-menu {
    list-style: none;
    padding: 20px 0;
    flex-grow: 1;
    overflow-y: auto;
}

.admin-sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 0.95rem;
    border-left: 4px solid transparent;
}

.admin-sidebar-menu li a:hover, .admin-sidebar-menu li a.active {
    color: var(--bg-white);
    background-color: rgba(255,255,255,0.03);
    border-left-color: var(--secondary);
}

.admin-sidebar-menu li a svg {
    width: 18px;
    height: 18px;
}

.admin-main {
    margin-left: 260px;
    flex-grow: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-nav-bar {
    background-color: var(--bg-white);
    height: 70px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.admin-nav-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-nav-user-info {
    text-align: right;
}

.admin-nav-user-info h4 {
    font-size: 0.95rem;
}

.admin-nav-user-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.admin-content {
    padding: 40px;
    flex-grow: 1;
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.admin-stat-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-stat-info h3 {
    font-size: 2rem;
    font-weight: 800;
}

.admin-stat-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.admin-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(30, 58, 138, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.admin-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/* Admin Table Design */
.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
}

.admin-table th, .admin-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 600;
    background-color: var(--bg-light);
}

.admin-table tbody tr:hover {
    background-color: rgba(30, 58, 138, 0.01);
}

/* Lead Log Timeline */
.timeline {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--border-color);
    margin-top: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    left: -26px;
    top: 6px;
}

.timeline-time {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.timeline-text {
    font-size: 0.92rem;
    font-weight: 500;
}

/* Filters & Search bar */
.filter-row {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-row .form-control {
    width: auto;
    min-width: 200px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    list-style: none;
    margin-top: 30px;
}

.pagination a, .pagination span {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    font-size: 0.9rem;
    font-weight: 500;
}

.pagination a:hover, .pagination .active {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

/* Login Page Layout */
.login-body {
    background-color: var(--primary-dark);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    background-color: var(--bg-white);
    width: 100%;
    max-width: 420px;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.login-card-logo {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 30px;
}

.login-card-logo span {
    color: var(--secondary);
}

/* 16. Responsiveness */
@media (max-width: 992px) {
    .hero-grid, .calculator-grid, .detail-layout, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-content {
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .admin-sidebar {
        width: 70px;
    }
    .admin-sidebar-logo {
        padding: 20px 10px;
        text-align: center;
        font-size: 0.85rem;
    }
    .admin-sidebar-logo span {
        display: none;
    }
    .admin-sidebar-menu li a {
        padding: 15px;
        justify-content: center;
    }
    .admin-sidebar-menu li a span {
        display: none;
    }
    .admin-main {
        margin-left: 70px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-full {
        grid-column: span 1;
    }
}

@media (max-width: 1150px) {
    .nav-toggle {
        display: block;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        display: none; /* Controlled dynamically */
    }
    .nav-links.show {
        display: flex;
    }
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        box-shadow: none;
        background-color: var(--bg-light);
        margin-top: 10px;
        display: none;
    }
    .nav-links li:hover .dropdown-menu {
        display: block;
    }
    .top-header-contacts {
        justify-content: center;
        width: 100%;
        margin-bottom: 5px;
    }
    .top-header-socials {
        justify-content: center;
        width: 100%;
    }
}

/* Homepage Enhancements - Premium Designs */

.section-tag-badge {
    display: inline-block;
    background-color: rgba(30, 58, 138, 0.08);
    color: var(--primary);
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    border: 1px solid rgba(30, 58, 138, 0.15);
}

/* 2. Welcome Story */
.about-story-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border-bottom: 1px solid var(--border-color);
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-story-highlight {
    font-size: 1.25rem;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}

.about-bullet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.about-bullet-item {
    display: flex;
    gap: 15px;
}

.bullet-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bullet-icon i {
    width: 20px;
    height: 20px;
}

.about-bullet-item h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.about-bullet-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Stats Styling */
.about-stats-container {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.stat-card {
    background: var(--bg-light);
    padding: 25px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(30, 58, 138, 0.2);
}

.stat-icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: rgba(30, 58, 138, 0.06);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.stat-icon-wrapper i {
    width: 22px;
    height: 22px;
}

.stat-number-wrapper {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Core Services */
.core-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.core-service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.core-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 58, 138, 0.15);
}

.core-service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(30, 58, 138, 0.08);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-normal);
}

.core-service-card:hover .core-service-icon {
    background-color: var(--primary);
    color: var(--bg-white);
}

.core-service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.core-service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

.core-service-link {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
    margin-top: auto;
}

.core-service-link i {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

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

.highlighted-service-card {
    border: 2px solid var(--secondary);
    background: linear-gradient(180deg, var(--bg-white) 0%, rgba(16, 185, 129, 0.02) 100%);
    box-shadow: var(--shadow-md);
}

.card-ribbon {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary);
    color: var(--bg-white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.highlighted-service-card .core-service-icon {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
}

.highlighted-service-card:hover .core-service-icon {
    background-color: var(--secondary);
    color: var(--bg-white);
}

/* Why Choose Section */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.why-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(16, 185, 129, 0.2);
}

.why-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.why-icon i {
    width: 22px;
    height: 22px;
}

.why-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Mission, Ambition & Vision */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.mv-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.mv-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(30, 58, 138, 0.06);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.mv-icon i {
    width: 26px;
    height: 26px;
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.mv-card p {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.mv-footer-note {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: 10px;
}

/* Student Loan CTA Card */
.student-loan-cta-section {
    padding: 60px 0;
    background-color: var(--primary-dark);
}

.student-loan-cta-box {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(16, 185, 129, 0.85) 100%);
    border-radius: var(--radius-lg);
    padding: 60px 50px;
    color: var(--bg-white);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.student-loan-content {
    max-width: 800px;
    margin: 0 auto;
}

.student-loan-content h2 {
    font-size: 2.5rem;
    color: var(--bg-white);
    margin-bottom: 20px;
}

.student-loan-content p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
    line-height: 1.6;
}

.student-loan-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Confidence Banner */
.confidence-banner-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.confidence-box {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.confidence-main-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.confidence-main-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.confidence-bullets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.conf-bullet {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    padding: 15px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.conf-icon {
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.conf-bullet span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
}

/* Bank Partners Grid Styling */
.bank-partners-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.bank-logo-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 15px 25px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

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

/* Home Blogs */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 58, 138, 0.15);
}

.blog-card-content {
    padding: 30px;
}

.blog-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--primary-dark);
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.blog-link {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-link i {
    transition: var(--transition-fast);
}

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

/* Responsive Overrides */
@media (max-width: 992px) {
    .about-story-grid, .confidence-box {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
@media (max-width: 576px) {
    .about-bullet-grid, .about-stats-grid, .confidence-bullets-grid {
        grid-template-columns: 1fr;
    }
    .student-loan-cta-box {
        padding: 40px 20px;
    }
    .student-loan-content h2 {
        font-size: 1.8rem;
    }
}

/* Advisor Card and Student CTA Image Styling */
.about-story-advisor-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px dashed var(--secondary);
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.about-story-advisor-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.about-story-advisor-card h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
    color: var(--primary-dark);
    font-family: var(--font-heading);
}

.about-story-advisor-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.student-loan-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.student-loan-img-wrapper {
    display: flex;
    justify-content: center;
}

.student-cta-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition-normal);
}

.student-cta-img:hover {
    transform: scale(1.03);
    border-color: var(--bg-white);
}

@media (max-width: 768px) {
    .student-loan-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .student-loan-actions {
        justify-content: center;
    }
}


