/* ============================================
   R.K Finance — Custom Stylesheet
   ============================================ */

/* ── Variables ───────────────────────────── */
:root {
  --primary: #064e3b;
  --primary-dark: #022c22;
  --accent: #10b981;
  --accent-light: rgba(16, 185, 129, 0.1);
  --gold: #fbbf24;
  --gold-dark: #f59e0b;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --border: rgba(226, 232, 240, 0.8);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius: 12px;
  --radius-lg: 24px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-blur: blur(20px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ── Cookie Consent ──────────────────────── */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  padding: 14px 0;
  animation: slideUp 0.4s ease;
}

.cookie-consent p a {
  color: var(--gold);
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

/* ── Top Bar ─────────────────────────────── */
.topbar {
  background: var(--primary-dark);
  color: #ccc;
  font-size: 13px;
  padding: 7px 0;
}

.topbar a {
  color: #cfd8dc;
  text-decoration: none;
  transition: color 0.2s;
}

.topbar a:hover {
  color: var(--gold);
}

/* ── Navbar ──────────────────────────────── */
.main-navbar {
  background: var(--primary) !important;
  padding: 16px 0;
  transition: var(--transition);
  border-bottom: 1px solid var(--glass-border);
}

.main-navbar.scrolled {
  background: rgba(6, 78, 59, 0.9) !important;
  padding: 10px 0;
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.logo-img {
  transition: var(--transition);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.brand-text {
  line-height: 1.2;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 10.5px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  font-size: 14.5px;
  padding: 8px 14px !important;
  border-radius: 6px;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12);
}

.dropdown-menu-custom {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 220px;
}

.dropdown-menu-custom .dropdown-item {
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-menu-custom .dropdown-item:hover {
  background: var(--accent-light);
  color: var(--accent);
}

/* ── Floating Navbar ─────────────────────── */
.navbar-floating {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 1050;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
  padding: 10px 20px !important;
  transition: var(--transition);
}

.navbar-floating .navbar-brand .brand-name {
  color: var(--primary);
}

.navbar-floating .nav-link {
  color: var(--text-dark) !important;
}

.navbar-floating .nav-link:hover,
.navbar-floating .nav-link.active {
  background: rgba(6, 78, 59, 0.08);
  color: var(--primary) !important;
}

.navbar-floating.scrolled {
  top: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.12);
}

/* ── Hero Section ────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.4) 0%, rgba(2, 44, 34, 0.2) 100%), url("../images/rk-finance-hero.png");
  background-size: cover;
  background-position: center;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 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.04'%3E%3Ccircle cx='30' cy='30' r='15'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Hero company name (above badge) */
.hero-company-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-bottom: 12px;
  width: 100%;
}

.company-title {
  font-family: 'Merriweather', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 1.5px;
  line-height: 1.2;
  text-shadow: 0 0 30px rgba(249, 168, 37, 0.6), 0 4px 20px rgba(0, 0, 0, 0.4);
  display: inline-block;
  border-bottom: 4px solid var(--gold);
  padding-bottom: 8px;
}

.company-sub {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 3.5px;
  text-transform: uppercase;
  opacity: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(249, 168, 37, 0.2);
  color: var(--gold);
  border: 1px solid rgba(249, 168, 37, 0.4);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Merriweather', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--gold);
}

.hero-text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 35px;
}

.hero-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-number {
  font-size: 26px;
  font-weight: 800;
  color: var(--gold);
  display: block;
}

.hero-stat .stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.125);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-card .form-control,
.hero-card .form-select {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 8px;
}

.hero-card .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.hero-card .form-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
}

.hero-card .form-select option {
  color: #333;
  background: #fff;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--gold);
  top: -100px;
  right: -100px;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: #fff;
  bottom: 50px;
  left: 10%;
}

/* ── Split Hero Layout ───────────────────── */
.split-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
  padding: 120px 0;
}

@media (max-width: 991px) {
  .split-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 80px 0;
  }
}

.hero-visual-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* ── Bento Grid Implementation ───────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 24px;
}

.bento-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  transition: var(--transition);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.bento-item-1x1 { grid-column: span 1; grid-row: span 1; }
.bento-item-2x1 { grid-column: span 2; grid-row: span 1; }
.bento-item-1x2 { grid-column: span 1; grid-row: span 2; }
.bento-item-2x2 { grid-column: span 2; grid-row: span 2; }

@media (max-width: 1199px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .bento-item { grid-column: span 1 !important; grid-row: span 1 !important; }
}

/* ── Section Styles ──────────────────────── */
.section-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-title span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 650px;
  margin-bottom: 60px; /* Increased from 40px */
}

section {
  padding: 100px 0; /* Luxury spacing */
}

/* ── Service Cards ───────────────────────── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  height: 100%;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.1), 0 18px 36px -18px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-light);
}

/* Image header */
.service-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: #eef4fb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

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

/* Fallback icon (used where no image) */
.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 26px;
  color: #fff;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Card body */
.service-card-body {
  padding: 22px 24px 24px;
}

.service-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.service-card .card-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  transition: var(--transition);
}

.service-card .card-link:hover {
  gap: 10px;
}

/* ── Why Choose Us ───────────────────────── */
.why-section {
  background: var(--bg-light);
}

.feature-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
}

.feature-item h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.stat-card {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  color: #fff;
  margin-bottom: 16px;
}

.stat-card .number {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.stat-card .label {
  font-size: 13px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 6px;
}

/* ── Testimonials ────────────────────────── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  margin: 15px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

.testimonial-card .stars {
  color: var(--gold);
  margin-bottom: 12px;
}

.testimonial-card p {
  color: var(--text-muted);
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

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

.author-name {
  font-weight: 700;
  font-size: 15px;
}

.author-loc {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── CTA Section ─────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* ── Form Styles ─────────────────────────── */
.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.15);
}

.form-control,
.form-select {
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14.5px;
}

/* ── Unified Enquiry Form ─────────────────── */
.theme-form-card {
  background: #fff;
  border-radius: 24px;
  padding: 50px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.theme-input {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 14px 18px !important;
  font-size: 14.5px;
  border-radius: 12px !important;
  transition: var(--transition);
}

.theme-input:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(6, 78, 59, 0.1);
}

.letter-spacing-1 {
  letter-spacing: 1px;
}

.custom-check .form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.theme-form-card .form-label {
  color: #475569;
  margin-bottom: 10px;
}

.theme-form-card .btn-primary {
  background: var(--primary);
  border: none;
  border-radius: 12px;
  transition: var(--transition);
}

.theme-form-card .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 78, 59, 0.2);
}

@media (max-width: 767px) {
  .theme-form-card {
    padding: 30px 20px;
  }
}

/* ── Page Hero ───────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.85) 0%, rgba(2, 44, 34, 0.9) 100%), url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&q=80&w=1600") no-repeat center;
  background-size: cover;
  padding: 140px 0 85px 0; /* Adjusted for floating navbar */
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero.hero-about {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.85) 0%, rgba(2, 44, 34, 0.9) 100%), url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1600") no-repeat center;
  background-size: cover;
}

.page-hero.hero-contact {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.85) 0%, rgba(2, 44, 34, 0.9) 100%), url("https://images.unsplash.com/photo-1521791136366-39853752c0ee?auto=format&fit=crop&q=80&w=1600") no-repeat center;
  background-size: cover;
}

.page-hero.hero-services {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.85) 0%, rgba(2, 44, 34, 0.9) 100%), url("https://images.unsplash.com/photo-1553729459-efe14ef6055d?auto=format&fit=crop&q=80&w=1600") no-repeat center;
  background-size: cover;
}

.page-hero.hero-apply {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.85) 0%, rgba(2, 44, 34, 0.9) 100%), url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&q=80&w=1600") no-repeat center;
  background-size: cover;
}

.page-hero.hero-legal {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.92) 0%, rgba(2, 44, 34, 0.96) 100%), url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&q=80&w=1600") no-repeat center;
  background-size: cover;
  padding: 60px 0;
}

.page-hero h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.2rem;
  font-weight: 900;
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumb-item.active {
  color: var(--gold);
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.4);
}

/* ── Service Page ────────────────────────── */
.process-step {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.step-number {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.eligibility-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.eligibility-list li:last-child {
  border: none;
}

.eligibility-list li i {
  color: var(--accent);
  margin-right: 8px;
}

/* ── About Page ──────────────────────────── */
.team-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 36px;
  color: #fff;
}


/* ── Contact Page ────────────────────────── */
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none;
}

/* ── Admin Panel ─────────────────────────── */
.admin-sidebar {
  min-height: 100vh;
  background: var(--primary);
  width: 260px;
  flex-shrink: 0;
}

.admin-sidebar .sidebar-brand {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar .nav-link {
  color: rgba(255, 255, 255, 0.75) !important;
  padding: 12px 20px !important;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: 8px;
  margin: 2px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

.admin-sidebar .nav-link i {
  width: 20px;
  text-align: center;
}

.admin-topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-content {
  flex: 1;
  background: var(--bg-light);
  min-height: 100vh;
  padding: 24px;
}

.stat-widget {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border-left: 4px solid;
  display: flex;
  align-items: center;
  gap: 18px;
}

.stat-widget-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}

.stat-widget .value {
  font-size: 28px;
  font-weight: 800;
}

.stat-widget .title {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Legal Pages ─────────────────────────── */
.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 30px;
  margin-bottom: 10px;
}

.legal-content p,
.legal-content li {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
}

/* ── Footer ──────────────────────────────── */
.main-footer {
  background: #022c22;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-heading {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.footer-text {
  color: #8fa3b1;
  font-size: 14px;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #8fa3b1;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: #8fa3b1;
  font-size: 14px;
}

.footer-contact li i {
  color: var(--gold);
  width: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact a {
  color: #8fa3b1;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.07);
}

.footer-legal-link {
  color: #6c8394;
  font-size: 12.5px;
  text-decoration: none;
  margin-left: 14px;
  transition: var(--transition);
}

.footer-legal-link:hover {
  color: var(--gold);
}

.social-links a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #8fa3b1;
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--gold);
  color: #fff;
}

/* ── Utilities ───────────────────────────── */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  padding: 12px 28px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.2);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.3);
  opacity: 0.95;
}

.bg-light-custom {
  background: var(--bg-light);
}

.text-primary-custom {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding: 60px 0;
  }

  .admin-sidebar {
    width: 100%;
    min-height: auto;
  }
}

@media (max-width: 767.98px) {
  .topbar {
    display: none !important;
  }

  .hero-stats {
    gap: 15px;
  }
}