/*
Theme Name: Jhapa Technical Cooperative Pro
Theme URI: https://jhapatechnical.network/themes/cooperative-pro

Author: Jhapa Technical Pvt. Ltd.
Author URI: https://jhapatechnical.network

Description: Jhapa Technical Cooperative Pro is a premium enterprise-grade WordPress theme developed by Jhapa Technical Pvt. Ltd. for Cooperatives, Credit Unions, Savings & Credit Cooperatives, Multipurpose Cooperatives, Microfinance Organizations, SACCOs, Financial Institutions, NGOs, and Community-Based Organizations. The theme includes advanced customization options, one-click demo import, responsive design, WooCommerce support, Elementor compatibility, custom widgets, cooperative management layouts, performance optimization, SEO-friendly architecture, and multilingual support. Designed and maintained by Jhapa Technical Pvt. Ltd.

Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.2

License: Commercial
License URI: https://jhapatechnical.network/licenses

Text Domain: jhapa-technical-cooperative-pro
Domain Path: /languages

Tags: cooperative, credit-union, microfinance, financial, business, multipurpose, responsive, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, woocommerce-ready, block-styles, wide-blocks, accessibility-ready, rtl-language-support, dark-mode

Developer: Jhapa Technical Pvt. Ltd.
Developer URI: https://jhapatechnical.network
Support Email: support@jhapatechnical.network
Support Phone: +977 9823808249
Website: https://jhapatechnical.network

Copyright © 2026 Jhapa Technical Pvt. Ltd.
All Rights Reserved.
*/

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
:root {
    --jtc-primary: #0066cc;
    --jtc-primary-dark: #004999;
    --jtc-secondary: #ff6b35;
    --jtc-accent: #00a86b;
    --jtc-danger: #dc3545;
    --jtc-warning: #ffc107;
    --jtc-success: #28a745;
    --jtc-info: #17a2b8;
    --jtc-light: #f8f9fa;
    --jtc-dark: #212529;
    --jtc-text: #333;
    --jtc-text-light: #6c757d;
    --jtc-border: #dee2e6;
    --jtc-shadow: 0 5px 20px rgba(0,0,0,0.08);
    --jtc-shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --jtc-radius: 8px;
    --jtc-radius-lg: 15px;
    --jtc-transition: all 0.3s ease;
    --jtc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --jtc-heading-font: 'Poppins', var(--jtc-font);
}

[data-theme="dark"] {
    --jtc-light: #1a1d23;
    --jtc-dark: #f8f9fa;
    --jtc-text: #e0e0e0;
    --jtc-text-light: #b0b0b0;
    --jtc-border: #2a2d33;
    --jtc-shadow: 0 5px 20px rgba(0,0,0,0.4);
    --jtc-shadow-lg: 0 10px 40px rgba(0,0,0,0.6);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--jtc-font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--jtc-text);
    background-color: var(--jtc-light);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--jtc-primary);
    text-decoration: none;
    transition: var(--jtc-transition);
}

a:hover {
    color: var(--jtc-primary-dark);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--jtc-heading-font);
    font-weight: 700;
    line-height: 1.3;
    color: var(--jtc-dark);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.jtc-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.jtc-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.jtc-col {
    padding: 0 15px;
    flex: 1;
}

.jtc-section {
    padding: 80px 0;
    position: relative;
}

.jtc-section-sm { padding: 50px 0; }
.jtc-section-lg { padding: 100px 0; }

.jtc-bg-light { background-color: var(--jtc-light); }
.jtc-bg-dark { background-color: var(--jtc-dark); color: #fff; }
.jtc-bg-primary { background-color: var(--jtc-primary); color: #fff; }
.jtc-bg-gradient {
    background: linear-gradient(135deg, var(--jtc-primary) 0%, var(--jtc-primary-dark) 100%);
    color: #fff;
}

.jtc-text-center { text-align: center; }
.jtc-text-left { text-align: left; }
.jtc-text-right { text-align: right; }

.jtc-flex { display: flex; }
.jtc-flex-center { display: flex; align-items: center; justify-content: center; }
.jtc-flex-between { display: flex; align-items: center; justify-content: space-between; }
.jtc-grid { display: grid; gap: 30px; }
.jtc-grid-2 { grid-template-columns: repeat(2, 1fr); }
.jtc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.jtc-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.jtc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--jtc-radius);
    cursor: pointer;
    transition: var(--jtc-transition);
    white-space: nowrap;
    user-select: none;
}

.jtc-btn-primary {
    background-color: var(--jtc-primary);
    color: #fff;
    border-color: var(--jtc-primary);
}

.jtc-btn-primary:hover {
    background-color: var(--jtc-primary-dark);
    border-color: var(--jtc-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--jtc-shadow);
}

.jtc-btn-secondary {
    background-color: var(--jtc-secondary);
    color: #fff;
    border-color: var(--jtc-secondary);
}

.jtc-btn-outline {
    background-color: transparent;
    color: var(--jtc-primary);
    border-color: var(--jtc-primary);
}

.jtc-btn-outline:hover {
    background-color: var(--jtc-primary);
    color: #fff;
}

.jtc-btn-lg { padding: 16px 36px; font-size: 16px; }
.jtc-btn-sm { padding: 8px 20px; font-size: 13px; }
.jtc-btn-block { display: block; width: 100%; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.jtc-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    z-index: 999;
}

.jtc-header-top {
    background-color: var(--jtc-primary);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.jtc-header-top a { color: #fff; }
.jtc-header-top a:hover { color: rgba(255,255,255,0.8); }

.jtc-header-main {
    padding: 20px 0;
}

.jtc-header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.jtc-header-transparent {
    position: absolute;
    width: 100%;
    background-color: transparent;
    box-shadow: none;
}

.jtc-logo {
    display: inline-block;
    max-width: 200px;
}

.jtc-logo img {
    max-height: 60px;
    width: auto;
}

.jtc-nav {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 5px;
}

.jtc-nav li { position: relative; }

.jtc-nav a {
    display: block;
    padding: 10px 18px;
    color: var(--jtc-dark);
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--jtc-radius);
    transition: var(--jtc-transition);
}

.jtc-nav a:hover,
.jtc-nav .current-menu-item > a {
    color: var(--jtc-primary);
    background-color: rgba(0,102,204,0.08);
}

.jtc-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: #fff;
    box-shadow: var(--jtc-shadow-lg);
    border-radius: var(--jtc-radius);
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--jtc-transition);
    z-index: 100;
}

.jtc-nav li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.jtc-nav .sub-menu a {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 0;
}

.jtc-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--jtc-dark);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.jtc-hero {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--jtc-primary) 0%, var(--jtc-primary-dark) 100%);
    color: #fff;
    overflow: hidden;
}

.jtc-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>') repeat;
    opacity: 0.5;
}

.jtc-hero-content {
    position: relative;
    z-index: 2;
}

.jtc-hero h1 {
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.jtc-hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 600px;
}

.jtc-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.jtc-hero-image {
    position: relative;
    z-index: 2;
    text-align: center;
}

.jtc-hero-slider .slick-slide {
    padding: 0 15px;
}

/* ==========================================================================
   SECTIONS COMMON
   ========================================================================== */
.jtc-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.jtc-section-title h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.jtc-section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--jtc-primary);
    border-radius: 2px;
}

.jtc-section-title p {
    color: var(--jtc-text-light);
    max-width: 700px;
    margin: 0 auto;
}

.jtc-section-title-left {
    text-align: left;
}

.jtc-section-title-left h2::after {
    left: 0;
    transform: none;
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.jtc-card {
    background-color: #fff;
    border-radius: var(--jtc-radius-lg);
    padding: 30px;
    box-shadow: var(--jtc-shadow);
    transition: var(--jtc-transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.jtc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--jtc-shadow-lg);
}

.jtc-card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,102,204,0.1);
    color: var(--jtc-primary);
    border-radius: var(--jtc-radius);
    font-size: 32px;
    margin-bottom: 20px;
    transition: var(--jtc-transition);
}

.jtc-card:hover .jtc-card-icon {
    background-color: var(--jtc-primary);
    color: #fff;
    transform: rotateY(180deg);
}

.jtc-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.jtc-card p {
    color: var(--jtc-text-light);
    margin-bottom: 15px;
}

.jtc-card-link {
    color: var(--jtc-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.jtc-card-link:hover {
    gap: 10px;
}

/* ==========================================================================
   STATS / COUNTER
   ========================================================================== */
.jtc-counter {
    text-align: center;
    padding: 30px 20px;
}

.jtc-counter-icon {
    font-size: 48px;
    color: var(--jtc-primary);
    margin-bottom: 15px;
}

.jtc-counter-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--jtc-dark);
    line-height: 1;
    margin-bottom: 10px;
    font-family: var(--jtc-heading-font);
}

.jtc-counter-label {
    color: var(--jtc-text-light);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   FORMS
   ========================================================================== */
.jtc-form-group {
    margin-bottom: 20px;
}

.jtc-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--jtc-dark);
    font-size: 14px;
}

.jtc-form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--jtc-text);
    background-color: #fff;
    border: 2px solid var(--jtc-border);
    border-radius: var(--jtc-radius);
    transition: var(--jtc-transition);
}

.jtc-form-control:focus {
    outline: none;
    border-color: var(--jtc-primary);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.jtc-form-control.error {
    border-color: var(--jtc-danger);
}

.jtc-form-message {
    margin-top: 8px;
    font-size: 13px;
}

.jtc-form-message.error { color: var(--jtc-danger); }
.jtc-form-message.success { color: var(--jtc-success); }

textarea.jtc-form-control {
    min-height: 120px;
    resize: vertical;
}

/* ==========================================================================
   CALCULATOR
   ========================================================================== */
.jtc-calculator {
    background-color: #fff;
    border-radius: var(--jtc-radius-lg);
    padding: 40px;
    box-shadow: var(--jtc-shadow);
}

.jtc-calculator h3 {
    margin-bottom: 25px;
    text-align: center;
}

.jtc-calculator-result {
    background: linear-gradient(135deg, var(--jtc-primary), var(--jtc-primary-dark));
    color: #fff;
    padding: 30px;
    border-radius: var(--jtc-radius);
    margin-top: 30px;
    text-align: center;
}

.jtc-calculator-result h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.jtc-calculator-result .amount {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
}

/* ==========================================================================
   TABLES
   ========================================================================== */
.jtc-table {
    width: 100%;
    background-color: #fff;
    border-radius: var(--jtc-radius);
    overflow: hidden;
    box-shadow: var(--jtc-shadow);
    border-collapse: collapse;
}

.jtc-table th,
.jtc-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--jtc-border);
}

.jtc-table th {
    background-color: var(--jtc-primary);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jtc-table tbody tr:hover {
    background-color: rgba(0,102,204,0.03);
}

.jtc-table tbody tr:last-child td {
    border-bottom: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.jtc-footer {
    background-color: #1a1d23;
    color: #b0b0b0;
    padding: 60px 0 0;
}

.jtc-footer-widget {
    margin-bottom: 30px;
}

.jtc-footer-widget h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.jtc-footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--jtc-primary);
}

.jtc-footer-widget ul {
    list-style: none;
    padding: 0;
}

.jtc-footer-widget ul li {
    margin-bottom: 10px;
}

.jtc-footer-widget a {
    color: #b0b0b0;
    transition: var(--jtc-transition);
}

.jtc-footer-widget a:hover {
    color: #fff;
    padding-left: 5px;
}

.jtc-footer-bottom {
    background-color: #13151a;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #2a2d33;
    text-align: center;
    font-size: 14px;
}

.jtc-social {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.jtc-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    transition: var(--jtc-transition);
}

.jtc-social a:hover {
    background-color: var(--jtc-primary);
    transform: translateY(-3px);
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.jtc-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.jtc-pagination a,
.jtc-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background-color: #fff;
    color: var(--jtc-text);
    border-radius: var(--jtc-radius);
    border: 1px solid var(--jtc-border);
    text-decoration: none;
    transition: var(--jtc-transition);
    font-weight: 500;
}

.jtc-pagination a:hover,
.jtc-pagination .current {
    background-color: var(--jtc-primary);
    color: #fff;
    border-color: var(--jtc-primary);
}

/* ==========================================================================
   LOADING & ANIMATIONS
   ========================================================================== */
.jtc-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.jtc-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--jtc-border);
    border-top-color: var(--jtc-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.jtc-fade-in {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.jtc-breadcrumb {
    background-color: var(--jtc-light);
    padding: 20px 0;
    margin-bottom: 40px;
    font-size: 14px;
}

.jtc-breadcrumb a {
    color: var(--jtc-text-light);
}

.jtc-breadcrumb .current {
    color: var(--jtc-primary);
    font-weight: 500;
}

.jtc-breadcrumb .separator {
    margin: 0 10px;
    color: var(--jtc-text-light);
}

/* ==========================================================================
   FLOATING BUTTONS
   ========================================================================== */
.jtc-floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.jtc-float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--jtc-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--jtc-shadow-lg);
    transition: var(--jtc-transition);
    text-decoration: none;
}

.jtc-float-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

.jtc-float-btn.whatsapp { background-color: #25d366; }
.jtc-float-btn.phone { background-color: var(--jtc-secondary); }

/* ==========================================================================
   DARK MODE TOGGLE
   ========================================================================== */
.jtc-dark-mode-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background-color: var(--jtc-dark);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 998;
    box-shadow: var(--jtc-shadow);
    transition: var(--jtc-transition);
}

.jtc-dark-mode-toggle:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
    .jtc-grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .jtc-section { padding: 60px 0; }
    .jtc-grid-3, .jtc-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .jtc-mobile-toggle { display: block; }
    .jtc-nav { 
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--jtc-shadow-lg);
    }
    .jtc-nav.active { display: flex; }
    .jtc-nav .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
    }
}

@media (max-width: 768px) {
    .jtc-grid-2, .jtc-grid-3, .jtc-grid-4 { grid-template-columns: 1fr; }
    .jtc-hero { padding: 60px 0; }
    .jtc-calculator { padding: 25px 20px; }
    .jtc-counter-number { font-size: 36px; }
    .jtc-floating-buttons { bottom: 10px; right: 10px; }
}

@media (max-width: 576px) {
    .jtc-section { padding: 40px 0; }
    .jtc-hero h1 { font-size: 2rem; }
    .jtc-btn { padding: 10px 20px; font-size: 14px; }
}
