/* ============================================
   BS FINANCE - MICROFINANCE WEBSITE
   Professional Design System
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    /* Primary Palette - Deep teal/emerald financial theme */
    --primary-50: #e6f5f0;
    --primary-100: #b3e0d1;
    --primary-200: #80ccb3;
    --primary-300: #4db894;
    --primary-400: #26a87d;
    --primary-500: #009966;
    --primary-600: #008a5c;
    --primary-700: #007850;
    --primary-800: #006644;
    --primary-900: #004a30;

    /* Accent - Warm amber/gold for CTAs */
    --accent-50: #fff8e6;
    --accent-100: #ffedb3;
    --accent-200: #ffe180;
    --accent-300: #ffd54d;
    --accent-400: #ffcc26;
    --accent-500: #ffc300;
    --accent-600: #e6b000;
    --accent-700: #cc9c00;
    --accent-800: #b38900;
    --accent-900: #8c6b00;

    /* Neutrals */
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Semantic */
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;

    /* Typography */
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12), 0 10px 20px rgba(0, 0, 0, 0.08);

    /* Borders */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-800);
    background-color: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
    overflow: hidden;
}

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

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

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    color: var(--gray-900);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-align: center;
}

.btn-sm {
    padding: 0.55rem 1.3rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2.4rem;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--primary-600);
    color: #fff;
    border-color: var(--primary-600);
}

.btn-primary:hover {
    background: var(--primary-700);
    border-color: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background: var(--accent-500);
    color: var(--gray-900);
    border-color: var(--accent-500);
    font-weight: 700;
}

.btn-accent:hover {
    background: var(--accent-600);
    border-color: var(--accent-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--primary-600);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--primary-600);
    border-color: var(--primary-400);
}

.btn-outline-light:hover {
    background: var(--primary-50);
    color: var(--primary-700);
}

.btn-white {
    background: #fff;
    color: var(--primary-700);
    border-color: #fff;
}

.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-slow);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 0.6rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 1001;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-600);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-900);
}

.brand-highlight {
    color: var(--primary-600);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    padding: 0.5rem 1rem;
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--primary-500);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-links a.active {
    color: var(--primary-600);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Slider ---------- */
.hero-slider {
    position: relative;
    width: 100%;
    padding-top: 70px;
    /* navbar height */
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(0, 40, 20, 0.82) 0%,
            rgba(0, 40, 20, 0.55) 50%,
            rgba(0, 40, 20, 0.2) 100%);
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.slide-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
    max-width: 600px;
}

.slide-content h1 .highlight {
    color: var(--accent-400);
}

.slide-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2rem;
    max-width: 520px;
    line-height: 1.7;
}

.slide-content .hero-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    backdrop-filter: blur(6px);
}

.slide-content .btn-primary {
    box-shadow: 0 4px 20px rgba(0, 120, 80, 0.4);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.08);
}

.slider-btn-prev {
    left: 2rem;
}

.slider-btn-next {
    right: 2rem;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.75rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.slider-dot.active {
    background: var(--accent-400);
    border-color: var(--accent-400);
    width: 32px;
    border-radius: 8px;
}

/* ---------- Hero Info Bar ---------- */
.hero-info-bar {
    background: var(--primary-700);
    padding: 0;
    position: relative;
    z-index: 5;
}

.hero-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: background var(--transition-base);
}

.hero-info-item:last-child {
    border-right: none;
}

.hero-info-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.hero-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-400);
    font-size: 1.2rem;
}

.hero-info-text h3 {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    line-height: 1.2;
}

.hero-info-text p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--primary-50);
    color: var(--primary-700);
    border: 1px solid var(--primary-100);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    font-size: 0.75rem;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ---------- Intro Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0faf5 0%, #e6f5f0 30%, #fff 70%, #fff8e6 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,153,102,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,195,0,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.hero-title .highlight {
    color: var(--primary-600);
    position: relative;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 520px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.hero-stat h3 {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-600);
    margin-bottom: 0.15rem;
}

.hero-stat p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0;
}

.hero-visual {
    position: relative;
}

.hero-card-stack {
    position: relative;
    padding: 2rem;
}

.hero-main-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.hero-card-header h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gray-600);
}

.hero-card-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    font-size: 1.2rem;
}

.hero-amount {
    font-family: var(--font-body);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.hero-amount-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.hero-progress {
    margin-bottom: 1rem;
}

.hero-progress-bar {
    height: 8px;
    background: var(--gray-100);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.hero-progress-fill {
    height: 100%;
    width: 72%;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
    border-radius: 4px;
    transition: width 1.5s ease;
}

.hero-progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.hero-floating-card {
    position: absolute;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-lg);
    z-index: 3;
}

.float-card-1 {
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: floatY 4s ease-in-out infinite;
}

.float-card-2 {
    bottom: 1rem;
    left: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: floatY 5s ease-in-out infinite 1s;
}

.float-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.float-icon.green {
    background: #e6f9f0;
    color: var(--success);
}

.float-icon.gold {
    background: var(--accent-50);
    color: var(--accent-700);
}

.float-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-800);
}

.float-info span {
    font-size: 0.78rem;
    color: var(--gray-500);
}

/* ---------- Section Common ---------- */
.section {
    padding: var(--space-4xl) 0;
}

.section-dark {
    background: var(--gray-900);
    color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #fff;
}

.section-dark p {
    color: var(--gray-400);
}

.section-light {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-600);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.section-label::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--primary-400);
    border-radius: 1px;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--gray-600);
}

/* ---------- Services Section ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-500);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-600);
    margin-bottom: 1.25rem;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--primary-600);
    color: #fff;
}

/* Image-based service icons (Indian illustrations) */
.service-icon.service-icon-img {
    width: 100%;
    height: 180px;
    background: transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    padding: 0;
}

.service-icon.service-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: transform var(--transition-base);
}

.service-card:hover .service-icon.service-icon-img {
    background: transparent;
}

.service-card:hover .service-icon.service-icon-img img {
    transform: scale(1.08);
}

.service-card h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.925rem;
    color: var(--gray-600);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-600);
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 0.7rem;
}

/* ---------- About / Why Choose Section ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-experience {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--primary-600);
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience h3 {
    font-family: var(--font-body);
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.15rem;
}

.about-experience p {
    color: var(--primary-100);
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
}

.about-content .section-label {
    justify-content: flex-start;
}

.about-content h2 {
    margin-bottom: 1.25rem;
    text-align: left;
}

.about-content>p {
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.about-feature-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--primary-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    font-size: 0.9rem;
}

.about-feature-text h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.about-feature-text p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0;
}

/* ---------- Stats Counter ---------- */
.stats-section {
    background: var(--primary-600);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-family: var(--font-body);
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.25rem;
}

.stat-item p {
    color: var(--primary-100);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

/* ---------- Loan Products ---------- */
.loans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.loan-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.loan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.loan-card.featured {
    border: 2px solid var(--primary-500);
    position: relative;
}

.loan-card.featured::after {
    content: 'Popular';
    position: absolute;
    top: 1rem;
    right: -2.2rem;
    background: var(--accent-500);
    color: var(--gray-900);
    padding: 0.25rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
}

.loan-header {
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
}

.loan-header h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.loan-rate {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-600);
}

.loan-rate span {
    font-size: 1rem;
    color: var(--gray-500);
    font-weight: 400;
}

.loan-header p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0.25rem 0 0;
}

.loan-body {
    padding: 1.5rem 2rem 2rem;
}

.loan-features {
    margin-bottom: 1.5rem;
}

.loan-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-50);
}

.loan-features li:last-child {
    border-bottom: none;
}

.loan-features li i {
    color: var(--primary-500);
    font-size: 0.8rem;
    width: 20px;
    text-align: center;
}

.loan-body .btn {
    width: 100%;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    position: relative;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-quote {
    font-size: 2.5rem;
    color: var(--primary-200);
    line-height: 1;
    margin-bottom: 0.75rem;
    font-family: serif;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-stars {
    color: var(--accent-500);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-800);
}

.testimonial-info span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 195, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--primary-100);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Process Steps ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--gray-200);
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-number {
    width: 80px;
    height: 80px;
    background: var(--primary-50);
    border: 3px solid var(--primary-500);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-600);
    font-family: var(--font-body);
    transition: all var(--transition-base);
}

.process-step:hover .process-number {
    background: var(--primary-600);
    color: #fff;
}

.process-step h4 {
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

/* ---------- Contact Page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
}

.contact-info-list {
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    font-size: 1.1rem;
}

.contact-info-text h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.contact-info-text p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

.contact-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px rgba(0, 153, 102, 0.1);
    background: #fff;
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

/* ---------- Page Banner ---------- */
.page-banner {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner h1 {
    color: #fff;
    margin-bottom: 0.75rem;
    position: relative;
}

.page-banner p {
    color: var(--primary-100);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    position: relative;
}

.breadcrumb a {
    color: var(--primary-200);
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: var(--primary-300);
}

.breadcrumb .current {
    color: #fff;
    font-weight: 500;
}

/* ---------- Team Section ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.team-photo {
    height: 260px;
    background: var(--gray-100);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

.team-photo .placeholder-avatar {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    background: var(--primary-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-600);
    font-weight: 700;
}

.team-info {
    padding: 1.25rem;
}

.team-info h4 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.team-info p {
    font-size: 0.85rem;
    color: var(--primary-600);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.team-social a {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 0.8rem;
    transition: all var(--transition-fast);
}

.team-social a:hover {
    background: var(--primary-500);
    color: #fff;
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item.active {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-800);
    background: #fff;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-body);
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-600);
}

.faq-question i {
    font-size: 0.85rem;
    color: var(--gray-400);
    transition: transform var(--transition-base);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-500);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.25rem;
    max-height: 300px;
}

.faq-answer p {
    font-size: 0.925rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ---------- Login & Register ---------- */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 2rem;
    background: var(--gray-50);
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .brand-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
}

.auth-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.auth-header p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.auth-form .form-group {
    margin-bottom: 1.2rem;
}

.auth-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--gray-400);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.auth-footer a {
    color: var(--primary-600);
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.form-check input[type="checkbox"] {
    accent-color: var(--primary-600);
}

.form-row-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-link {
    font-size: 0.85rem;
    color: var(--primary-600);
    font-weight: 500;
}

.form-link:hover {
    text-decoration: underline;
}

/* ---------- EMI Calculator ---------- */
.calculator-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
}

.range-group {
    margin-bottom: 1.5rem;
}

.range-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.range-header label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.range-header span {
    font-weight: 700;
    color: var(--primary-600);
}

input[type="range"] {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--gray-200);
    border-radius: 3px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-600);
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: var(--shadow-md);
}

.emi-result {
    text-align: center;
    padding: 1.5rem;
    background: var(--primary-50);
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
}

.emi-result h3 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.emi-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-600);
    font-family: var(--font-body);
}

/* ---------- Alert / Flash Messages ---------- */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 0.925rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #e6f9f0;
    color: #155724;
    border: 1px solid #b3e6cc;
}

.alert-danger {
    background: #fce4e4;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ---------- Footer ---------- */
.footer {
    position: relative;
    color: var(--gray-400);
}

.footer-wave {
    color: var(--gray-900);
    line-height: 0;
    margin-bottom: -1px;
}

.footer-wave svg {
    width: 100%;
    height: 80px;
}

.footer-content {
    background: var(--gray-900);
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.footer-brand .brand-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
}

.footer-brand span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gray-400);
}

.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-600);
    color: #fff;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.25rem;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--primary-400);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem !important;
}

.footer-contact li i {
    color: var(--primary-400);
    margin-top: 3px;
    font-size: 0.85rem;
    min-width: 16px;
}

.footer-contact li span {
    font-size: 0.9rem;
    color: var(--gray-400);
}

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

.footer-bottom p {
    color: var(--gray-500);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--gray-500);
    font-size: 0.85rem;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 2.5rem;
    }

    .services-grid,
    .loans-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 3rem;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 3rem;
    }

    .process-grid::before {
        display: none;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right var(--transition-slow);
        gap: 1rem;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links a {
        padding: 0.75rem 0;
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        padding-top: 1rem;
    }

    .nav-actions .btn {
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-desc {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-card-stack {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-content .section-label,
    .about-content h2 {
        text-align: center;
        justify-content: center;
    }

    .services-grid,
    .loans-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

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

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .float-card-1,
    .float-card-2 {
        display: none;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Back to Top Button ---------- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    background: var(--primary-600);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-700);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ---------- EMI Calculator Breakdown ---------- */
.emi-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.emi-breakdown-item {
    text-align: center;
    padding: 1rem;
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
}

.emi-breakdown-item span {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.emi-breakdown-item strong {
    font-size: 1.15rem;
    color: var(--gray-800);
}

/* ---------- Contact Map ---------- */
.contact-map {
    margin-top: 1.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* ---------- Contact Sidebar Refinement ---------- */
.contact-sidebar h3 {
    margin-bottom: 0.75rem;
}

.contact-sidebar>p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

/* ---------- Counter Animation Text ---------- */
.counter {
    display: inline;
}

/* ---------- Scroll offset for anchor links ---------- */
section[id] {
    scroll-margin-top: 80px;
}

/* ---------- Responsive: Slider & Info Bar ---------- */
@media (max-width: 992px) {
    .slider-wrapper {
        height: 450px;
    }

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

    .hero-info-item:nth-child(2) {
        border-right: none;
    }

    .hero-info-item {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .slide-content h1 {
        font-size: clamp(1.6rem, 4vw, 2.4rem);
    }
}

@media (max-width: 576px) {
    .slider-wrapper {
        height: 380px;
    }

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

    .hero-info-item {
        border-right: none;
        padding: 1rem 1.5rem;
    }

    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .slider-btn-prev { left: 0.75rem; }
    .slider-btn-next { right: 0.75rem; }

    .slide-content h1 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 0.95rem;
    }
}