/* 
 * MICROFINANCE CORPORATE WEBSITE
 * Production-Ready CSS
 * Author: Senior Frontend Engineer
 */

/* =============== ROOT VARIABLES =============== */
:root {
  --primary-green: #0F7B3D;
  --primary-green-dark: #095A2C;
  --primary-green-deep: #072314;
  --primary-green-light: #F0FDF4;
  --accent-orange: #E86F28;
  --accent-orange-hover: #D05E1A;
  --accent-gold: #C49A58;
  --white: #FFFFFF;
  --light-gray: #F8FAF8;
  --dark-text: #0B2118;
  --border-gray: #E2E8F0;
  --text-light: #475569;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12);
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --font-primary: 'Poppins', 'Inter', sans-serif;
  --radius: 6px;
  --radius-lg: 8px;
}

/* =============== GLOBAL STYLES =============== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

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

/* =============== TYPOGRAPHY =============== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-text);
}

h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  margin-bottom: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  margin-bottom: 1rem;
  font-weight: 600;
}

h4 {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

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

/* =============== BUTTONS =============== */
.btn {
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  font-family: var(--font-primary);
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-primary {
  background: var(--primary-green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--accent-orange);
  color: var(--primary-green-deep);
  font-weight: 700;
}

.btn-secondary:hover {
  background: var(--accent-orange-hover);
  color: var(--primary-green-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

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

.btn-white {
  background: var(--white);
  color: var(--primary-green);
  font-weight: 600;
}

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

/* =============== CONTAINER & SECTIONS =============== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

section {
  padding: clamp(36px, 5vw, 56px) 0;
}

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

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

section.dark-bg h2,
section.dark-bg h3,
section.dark-bg h4 {
  color: var(--white);
}

/* =============== NAVIGATION =============== */
nav {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

nav.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  border-bottom-color: rgba(15,123,61,0.12);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  height: 120px;
}

.navbar-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-green);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-logo:hover {
  color: var(--accent-orange);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-heading);
  transition: var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-green);
  transition: width 0.3s ease;
}

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

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--dark-text);
  transition: var(--transition);
  border-radius: 2px;
}

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

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

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

/* =============== DROPDOWN MENU =============== */
.nav-item.dropdown {
  position: relative;
}

.nav-item.dropdown > a::after {
  content: none;
}

.nav-item.dropdown:hover > a::after {
  transform: none;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--surface-white);
  list-style: none;
  min-width: 210px;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.07);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  padding: 0.5rem 0;
  z-index: 1000;
}

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

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 0.65rem 1.4rem;
  color: var(--text-heading);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
  position: relative;
  text-decoration: none;
}

.dropdown-menu a::before {
  content: '';
  width: 0;
  height: 2px;
  background: var(--primary-green);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: width 0.18s ease;
  border-radius: 0 2px 2px 0;
}

.dropdown-menu a:hover {
  background: var(--primary-green-light);
  color: var(--primary-green);
  padding-left: 1.8rem;
}

.dropdown-menu a:hover::before {
  width: 4px;
}

.dropdown-menu a.active {
  color: var(--primary-green);
  background: rgba(15, 123, 61, 0.06);
  font-weight: 600;
}

/* Team Card Styling */
.team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.team-photo {
  overflow: hidden;
}

/* =============== HERO SECTION =============== */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 120px);
  min-height: 500px;
  padding: 0;
  overflow: hidden;
}

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

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

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 8% 5%;
}

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

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.50) 35%,
      rgba(0, 0, 0, 0.18) 65%,
      rgba(0, 0, 0, 0.08) 100%
    ),
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.38) 0%,
      rgba(0, 0, 0, 0.10) 60%,
      rgba(0, 0, 0, 0.00) 100%
    );
  z-index: 1;
}

.slider-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 600px;
  animation: fadeInUp 0.9s ease 0.15s both;
  padding: 2.2rem 2.4rem;
  background: rgba(7, 35, 20, 0.88);
  border-radius: var(--radius-lg, 8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--accent-orange);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.slider-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-orange);
  letter-spacing: 3px;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

.slider-content h1 {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  color: var(--surface-white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.85), 0 6px 20px rgba(0,0,0,0.55);
  letter-spacing: -0.02em;
}

.slider-heading-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), #f7c948);
  border-radius: 2px;
  margin-bottom: 1rem;
  box-shadow: 0 0 8px rgba(247,148,29,0.5);
}

.slider-content p {
  font-size: clamp(0.9rem, 1.8vw, 1.02rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  margin-bottom: 1.6rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  font-weight: 400;
}

/* Slider CTA */
.slider-content .btn {
  margin-top: 0.25rem;
  box-shadow: 0 4px 18px rgba(0,0,0,0.45);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

/* =============== AWARD SLIDE =============== */
.slide-award {
  background: radial-gradient(ellipse at 75% 40%, #1a4a1a 0%, #0F7B3D 30%, #085c2b 60%, #03300f 100%);
  overflow: hidden;
}

/* ---- Professional award slide content ---- */
.award-content {
  max-width: 560px;
  margin-top: 80px;
}

.award-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.award-icon {
  font-size: 1.5rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(247,201,72,0.7));
}

.award-year {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gold);
  border-left: 3px solid var(--accent-gold);
  padding-left: 12px;
  text-shadow: 0 0 10px rgba(247,201,72,0.45);
}

.award-headline {
  font-size: clamp(1.6rem, 3.2vw, 2.45rem) !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  margin-bottom: 0 !important;
  color: var(--surface-white) !important;
  text-shadow: 0 3px 16px rgba(0,0,0,0.5) !important;
}

.award-headline em {
  font-style: normal;
  color: #F7C948;
  text-shadow: 0 0 24px rgba(247,201,72,0.4);
}

.award-divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, #F7941D, #F7C948);
  border-radius: 2px;
  margin: 1.4rem 0;
  box-shadow: 0 0 10px rgba(247,148,29,0.5);
}

.award-body {
  font-size: 1rem !important;
  color: rgba(255,255,255,0.88) !important;
  line-height: 1.85 !important;
  margin-bottom: 0 !important;
}

.award-body strong {
  color: var(--accent-orange);
  font-weight: 700;
}

.award-cta-row {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.award-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ---- Video background (mirrors Zenith Bank Ghana's video slide) ---- */
.swiper-slide--video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.banner-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  display: block;
}

.award-overlay {
  background: linear-gradient(
    135deg,
    rgba(3, 48, 15, 0.88) 0%,
    rgba(15, 123, 61, 0.55) 45%,
    rgba(247, 148, 29, 0.18) 100%
  ) !important;
}

.award-label {
  color: var(--accent-gold) !important;
  border-left-color: var(--accent-gold) !important;
  text-shadow: 0 0 12px rgba(247, 201, 72, 0.5);
}

.btn-award {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-hover));
  color: var(--primary-green-deep);
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(232, 111, 40, 0.4);
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
}

.btn-award:hover {
  background: linear-gradient(135deg, var(--accent-orange-hover), #B45309);
  color: var(--primary-green-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 111, 40, 0.55);
}

/* ── Slider Controls (arrow buttons) ── */
.slider-controls {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  z-index: 5;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.slider-btn {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 35, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  min-width: 44px;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.slider-btn:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(247, 148, 29, 0.45);
}

.slider-prev::after { content: '\2190'; }
.slider-next::after { content: '\2192'; }

/* ── Slider Dots — horizontal pill indicators ── */
.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.slider-dot {
  width: 28px;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.35s ease,
              box-shadow 0.35s ease;
  padding: 0;
  display: block;
}

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

.slider-dot.active {
  width: 52px;
  background: var(--accent-orange);
  box-shadow: 0 0 10px rgba(247, 148, 29, 0.55);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============== SECTION HEADING ACCENT =============== */
.text-center h2 {
  position: relative;
  display: inline-block;
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
}

.text-center h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-orange));
  border-radius: 3px;
}

.text-center.mb-3 {
  margin-bottom: 2.25rem !important;
}

/* =============== CARDS =============== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), box-shadow 0.28s ease;
  border: 1px solid rgba(0,0,0,0.06);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-green), var(--accent-orange));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--dark-text);
}

.card-text {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* =============== SERVICE CARDS =============== */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-gray);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.service-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

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

.service-card-body {
  padding: 1.6rem 1.8rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--dark-text);
}

.service-card-text {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  flex: 1;
}

/* =============== GRIDS =============== */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* =============== FLEXBOX UTILITIES =============== */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.flex-column {
  display: flex;
  flex-direction: column;
}

.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
.gap-3 { gap: 3rem; }

/* =============== SPACING UTILITIES =============== */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.pt-1 { padding-top: 1rem; }
.pt-2 { padding-top: 2rem; }
.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }

/* =============== FOOTER =============== */
footer {
  background: linear-gradient(160deg, #0d2310 0%, #0a1f2e 45%, #0a2218 100%);
  color: var(--white);
  padding: 64px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-section h4 {
  color: var(--accent-orange);
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

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

.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: 6px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0;
}

.social-links a:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--surface-white);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(247, 148, 29, 0.35);
}


.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
  margin-top: 1rem;
}
.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.footer-bottom__copy {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}
.footer-bottom__reg {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.82);
}
.footer-reg-icon {
  color: var(--accent-orange);
  display: inline-flex;
  flex-shrink: 0;
}

/* ── Developer Credit ──────────────────────────────────────────
   Protected with !important so it can't be accidentally hidden
   by a later stylesheet rule. A CSS-only fallback (footer::after)
   also renders if the HTML node is ever removed.
────────────────────────────────────────────────────────────── */
.footer-credit {
  display: flex !important;
  align-items: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  gap: 0.3em;
  margin: 0 !important;
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.45) !important;
  letter-spacing: 0.01em;
  white-space: nowrap;
  pointer-events: auto !important;
}
.footer-credit__link {
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.footer-credit__link--dev {
  color: rgba(255, 255, 255, 0.65) !important;
}
.footer-credit__link--brand {
  color: var(--accent-orange) !important;
}
.footer-credit__link:hover {
  opacity: 0.85 !important;
}

/* CSS-only attribution fallback — renders even if HTML node is removed */
footer::after {
  content: "Crafted by Qwiknode • qwiknode.com";
  display: block !important;
  visibility: visible !important;
  opacity: 0;               /* invisible to users — only a search-engine / code-audit hint */
  font-size: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  color: transparent;
}


/* =============== FORMS =============== */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark-text);
}

input, textarea, select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(15, 123, 61, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* =============== TABLES =============== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

th {
  background: var(--light-gray);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--dark-text);
}

td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-gray);
}

tr:hover {
  background: var(--light-gray);
}

/* =============== BADGES & LABELS =============== */
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
}

.badge-primary {
  background: var(--primary-green);
  color: var(--white);
}

.badge-secondary {
  background: var(--accent-orange);
  color: var(--white);
}

.badge-light {
  background: var(--light-gray);
  color: var(--dark-text);
}

/* =============== STATS SECTION =============== */
.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* =============== TESTIMONIALS =============== */
.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-rating {
  color: var(--accent-orange);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

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

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-green), var(--accent-orange));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
}

.testimonial-info h4 {
  margin: 0;
  margin-bottom: 0.2rem;
}

.testimonial-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* =============== BREADCRUMB =============== */
.breadcrumb {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.breadcrumb li {
  color: var(--text-light);
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
}

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

/* =============== LOADING & STATES =============== */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--light-gray);
  border-radius: 50%;
  border-top-color: var(--primary-green);
  animation: spin 0.8s linear infinite;
}

.error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: var(--brand-danger);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.success {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: var(--primary-green);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.warning {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

/* =============== MODALS =============== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  animation: slideInUp 0.3s ease;
}

.modal-close {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--primary-green);
}

/* =============== UTILITY CLASSES =============== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-green); }
.text-secondary { color: var(--accent-orange); }
.text-light { color: var(--text-light); }

.bg-primary { background: var(--primary-green); }
.bg-secondary { background: var(--accent-orange); }
.bg-light { background: var(--light-gray); }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }

.shadow { box-shadow: var(--shadow); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

/* =============== HIDDEN & VISIBLE =============== */
.hidden { display: none !important; }
.visible { display: block !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
