/*
Theme Name: Wezami Finance
Theme URI: https://wezami.com
Author: Wezami Finance and Loan Services Limited
Author URI: https://wezami.com
Description: Professional loan and finance theme for Wezami Finance and Loan Services Limited. Modern, trustworthy design for payday, business and IPPS loans with clear application flows, FAQ and contact forms.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wezami-finance
Tags: business, finance, loan, one-column, custom-menu, featured-images, translation-ready, responsive
*/

:root {
  --primary: #0b5cab;
  --primary-dark: #083d75;
  --primary-light: #1a7fd4;
  --accent: #00a86b;
  --accent-dark: #008a58;
  --light: #f4f8fc;
  --text: #1a2332;
  --text-muted: #5a6a7e;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(11, 92, 171, 0.12);
  --radius: 14px;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11,92,171,0.08);
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
}

.main-navigation ul {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-navigation a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  transition: color 0.2s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white !important;
  box-shadow: 0 6px 20px rgba(11,92,171,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(11,92,171,0.4);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white !important;
  box-shadow: 0 6px 20px rgba(0,168,107,0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
}

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

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

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

/* Hero */
.hero {
  padding: 150px 0 90px;
  background: linear-gradient(160deg, #e8f2fc 0%, #f0f7ff 40%, #e6f9f0 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  color: var(--primary-dark);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.hero-content .tagline {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-card {
  background: white;
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

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

/* Page Hero */
.page-hero {
  padding: 130px 0 60px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 580px;
  margin: 0 auto;
}

/* Sections */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--primary-dark);
  margin-bottom: 14px;
}

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

.badge {
  display: inline-block;
  background: rgba(11,92,171,0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Loan Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.product-card {
  background: white;
  border: 1px solid #e2eaf3;
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.product-card.featured {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #f8fbff 0%, white 100%);
}

.product-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.product-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

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

.product-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.product-meta strong {
  color: var(--primary);
  font-size: 1.15rem;
}

/* How it works */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 32px 24px;
  background: var(--light);
  border-radius: var(--radius);
  text-align: center;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.step h4 {
  margin: 18px 0 10px;
  color: var(--primary-dark);
}

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

/* Trust / Values */
.trust-bar {
  background: var(--primary-dark);
  color: white;
  padding: 50px 0;
}

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

.trust-item .number {
  font-size: 2.4rem;
  font-weight: 800;
  color: #7dd3a8;
  margin-bottom: 6px;
}

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

.faq-item {
  background: white;
  border: 1px solid #e2eaf3;
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 22px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary-dark);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  font-family: inherit;
}

.faq-answer {
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Contact & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(11,92,171,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-form-wrap {
  background: var(--light);
  padding: 40px;
  border-radius: 20px;
}

.account-notice {
  background: #fff8e6;
  border-left: 4px solid #f0b429;
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  font-size: 0.95rem;
}

.account-notice strong {
  color: #b45309;
}

/* CTA */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  padding: 70px 28px;
  border-radius: 24px;
}

.cta-banner h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 14px;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 26px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  background: #061e38;
  color: rgba(255,255,255,0.85);
  padding: 70px 0 28px;
}

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

.footer-brand h3 {
  color: white;
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 0.93rem; transition: color 0.2s; }
.footer-col a:hover { color: #7dd3a8; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.88rem;
}

/* Responsive */
@media (max-width: 900px) {
  .main-navigation { display: none; }
  .main-navigation.toggled {
    display: block;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow);
  }
  .main-navigation.toggled ul { flex-direction: column; gap: 14px; }
  .mobile-menu-toggle { display: block; }
  .hero-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 70px; }
  .hero-stats { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; }
}
