/* 
   Nirpun Financial Services Pvt Ltd - Complete Stylesheet
   Theme: Deep Blue and Yellow/Gold
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary: #0d223d;
    --primary-dark: #071527;
    --primary-light: #16365f;
    --secondary: #eab308;
    --secondary-dark: #ca8a04;
    --secondary-light: #fef9c3;
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success: #10b981;
    --error: #ef4444;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, Cambria, "Times New Roman", Times, serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --border-radius-sm: 4px;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Colors & Utility */
.text-secondary { color: var(--secondary) !important; }
.text-light { color: var(--text-light) !important; }
.text-muted { color: var(--text-muted) !important; }

.py-5 { padding: 80px 0; }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary-dark);
    font-weight: 700;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: #ffffff;
}

.btn-outline-white {
    background: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

.btn-outline-white:hover {
    background-color: #ffffff;
    color: var(--primary);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 8px 0;
}

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

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right a {
    color: var(--text-light);
    transition: var(--transition);
}

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

/* Header & Nav */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-dark);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    padding: 10px 0;
    list-style: none;
    min-width: 180px;
    display: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item a {
    display: block;
    padding: 8px 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.dropdown-item a:hover {
    background-color: var(--bg-light);
    color: var(--secondary-dark);
}

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

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 520px;
    overflow: hidden;
    background-color: var(--primary-dark);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    max-width: 650px;
    color: #ffffff;
}

.slide-superheadline {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: inline-block;
}

.slide-content h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.15;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.btn-group {
    display: flex;
    gap: 15px;
}

/* Stats Counter Section */
.stats-section-bg {
    background-color: var(--primary);
    color: var(--text-light);
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    font-family: var(--font-serif);
}

.stat-label {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Feature Pillars Section */
.bg-white-section {
    background-color: var(--bg-white);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pillar-card {
    background: var(--bg-light);
    padding: 35px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-light);
    color: var(--secondary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.pillar-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.pillar-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer Section */
.site-footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 60px 0 20px 0;
}

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

.footer-logo-img {
    height: 45px;
    width: auto;
    margin-bottom: 15px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

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

.footer-socials a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-socials a:hover {
    background-color: var(--secondary);
    color: var(--primary-dark);
}

.footer-heading {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-contact-info {
    list-style: none;
}

.footer-contact-info li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a {
    margin-left: 20px;
    color: rgba(255, 255, 255, 0.6);
}

/* About Page Styles */
.about-hero {
    background-color: var(--primary);
    color: #ffffff;
    padding: 50px 0;
    text-align: center;
}

.about-hero h1 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.about-hero-breadcrumbs {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.about-me-hero {
    background: var(--primary);
    color: #ffffff;
    padding: 60px 0;
}

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

@media (max-width: 992px) {
    .about-me-container {
        grid-template-columns: 1fr;
    }
}

.about-me-super {
    display: inline-block;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.about-me-name {
    color: #ffffff;
    margin-bottom: 15px;
}

.about-me-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.about-me-subdesc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.75);
}

.about-me-photo-wrapper {
    text-align: center;
}

.about-me-photo {
    max-width: 100%;
    max-height: 300px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* History Section */
.history-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr 220px;
    gap: 25px;
    align-items: center;
    margin-bottom: 40px;
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .timeline-item {
        grid-template-columns: 1fr;
    }
}

.timeline-badge {
    background: var(--secondary);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 1.2rem;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    text-align: center;
}

.timeline-panel h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-panel p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.timeline-image-wrapper {
    text-align: center;
}

.timeline-img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.timeline-image-caption {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.timeline-img-placeholder {
    width: 100%;
    height: 140px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary);
}

/* Leadership Section */
.leadership-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.leadership-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.leadership-img-wrapper {
    height: 260px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leadership-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leadership-img-placeholder {
    font-size: 4rem;
    color: var(--secondary);
}

.leadership-info {
    padding: 25px;
}

.leadership-name {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.leadership-title {
    display: inline-block;
    color: var(--secondary-dark);
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 12px;
}

.leadership-bio {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Philosophy Section */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.philosophy-card {
    background: var(--bg-light);
    padding: 35px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.philosophy-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-light);
    color: var(--secondary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px auto;
}

.philosophy-card h4 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.philosophy-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* Services & Contact Pages */
.services-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card-detailed {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.service-card-icon {
    font-size: 1.8rem;
    color: var(--secondary-dark);
}

.service-card-body ul {
    margin-top: 15px;
    padding-left: 20px;
    color: var(--text-muted);
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.contact-card-icon {
    font-size: 2rem;
    color: var(--secondary-dark);
    margin-bottom: 15px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-box {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-sans);
    outline: none;
}

.form-control:focus {
    border-color: var(--secondary-dark);
}

/* EquityWala Partner & Team Member Card Styles */
.equitywala-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.equitywala-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 20px 20px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--accent-stripe, #10b981);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.equitywala-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(13, 34, 61, 0.12);
}

.equitywala-avatar-ring {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 16px auto;
    padding: 4px;
    background: #ffffff;
    border: 3px solid var(--ring-color, #dcfce7);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.equitywala-avatar-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.equitywala-avatar-ring .avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary);
}

.equitywala-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.equitywala-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--secondary-dark);
    margin-bottom: 6px;
}

.equitywala-location {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.equitywala-bio {
    font-size: 0.86rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 15px;
}

.equitywala-divider {
    border: 0;
    border-top: 1px solid #f1f5f9;
    margin: 15px 0 12px 0;
}

.equitywala-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

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

