/*
Theme Name: Barbaarintasan Academy Theme
Theme URI: https://barbaarintasan.com
Author: Barbaarintasan Academy
Author URI: https://barbaarintasan.com
Description: Modern, mobile-first theme for Barbaarintasan Academy - Somali parenting education platform. Features blue gradients matching the BSA app, rounded cards, and a clean educational design matching the BSA app.
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: barbaarintasan
Tags: education, one-column, custom-colors, custom-menu, featured-images, rtl-language-support, translation-ready
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
*/

:root {
  --bsa-blue-50: #eff6ff;
  --bsa-blue-100: #dbeafe;
  --bsa-blue-200: #bfdbfe;
  --bsa-blue-300: #93c5fd;
  --bsa-blue-400: #60a5fa;
  --bsa-blue-500: #3b82f6;
  --bsa-blue-600: #2563eb;
  --bsa-blue-700: #1d4ed8;
  --bsa-blue-800: #1e40af;
  --bsa-blue-900: #1e3a5f;
  --bsa-indigo-50: #eef2ff;
  --bsa-indigo-100: #e0e7ff;
  --bsa-indigo-500: #6366f1;
  --bsa-indigo-600: #4f46e5;
  --bsa-indigo-700: #4338ca;
  --bsa-purple-500: #a855f7;
  --bsa-purple-600: #9333ea;
  --bsa-orange-500: #f97316;
  --bsa-orange-600: #ea580c;
  --bsa-slate-50: #f8fafc;
  --bsa-slate-100: #f1f5f9;
  --bsa-slate-200: #e2e8f0;
  --bsa-slate-300: #cbd5e1;
  --bsa-slate-400: #94a3b8;
  --bsa-slate-500: #64748b;
  --bsa-slate-600: #475569;
  --bsa-slate-700: #334155;
  --bsa-slate-800: #1e293b;
  --bsa-slate-900: #0f172a;
  --bsa-radius: 16px;
  --bsa-radius-lg: 20px;
  --bsa-radius-xl: 24px;
  --bsa-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --bsa-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --bsa-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --bsa-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --bsa-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

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

body {
  font-family: var(--bsa-font);
  color: var(--bsa-slate-800);
  background: var(--bsa-slate-50);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.bsa-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== HEADER ==================== */
.bsa-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, var(--bsa-blue-400), var(--bsa-blue-600), var(--bsa-blue-800)) 1;
  transition: all 0.3s ease;
}

.bsa-header.scrolled {
  box-shadow: var(--bsa-shadow-md);
}

.bsa-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.bsa-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bsa-logo img {
  height: 34px;
  width: auto;
  border-radius: 8px;
}

.bsa-logo-text {
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--bsa-blue-600), var(--bsa-blue-800));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.bsa-logo-sub {
  font-size: 9px;
  color: var(--bsa-slate-500);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bsa-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.bsa-nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bsa-nav-list li {
  list-style: none;
}

.bsa-nav a,
.bsa-nav-list li a {
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bsa-slate-600);
  transition: all 0.2s ease;
  display: block;
  white-space: nowrap;
}

.bsa-nav a:hover,
.bsa-nav-list li a:hover {
  background: var(--bsa-blue-50);
  color: var(--bsa-blue-700);
}

.bsa-nav .bsa-btn-primary {
  background: linear-gradient(135deg, var(--bsa-blue-500), var(--bsa-blue-600));
  color: white;
  padding: 7px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.25);
  white-space: nowrap;
}

.bsa-nav .bsa-btn-primary:hover {
  background: linear-gradient(135deg, var(--bsa-blue-600), var(--bsa-blue-700));
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.bsa-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  color: var(--bsa-slate-700);
}

.bsa-mobile-toggle:hover {
  background: var(--bsa-slate-100);
}

.bsa-mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Nav */
.bsa-mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.bsa-mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.bsa-mobile-nav-content {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 260px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}

.bsa-mobile-nav.active .bsa-mobile-nav-content {
  transform: translateX(0);
}

.bsa-mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--bsa-slate-100);
}

.bsa-mobile-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.bsa-mobile-brand img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: contain;
}

.bsa-mobile-brand span {
  font-size: 12px;
  font-weight: 700;
  color: var(--bsa-blue-700);
  letter-spacing: -0.02em;
}

.bsa-mobile-nav-header button {
  background: var(--bsa-slate-100);
  border: none;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--bsa-slate-500);
  transition: all 0.15s ease;
}

.bsa-mobile-nav-header button:hover {
  background: var(--bsa-slate-200);
  color: var(--bsa-slate-700);
}

.bsa-mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  gap: 2px;
  flex: 1;
}

.bsa-mobile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bsa-slate-700);
  text-decoration: none;
  transition: all 0.15s ease;
}

.bsa-mobile-link:hover {
  background: var(--bsa-blue-50);
  color: var(--bsa-blue-700);
}

.bsa-mobile-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bsa-blue-50);
  color: var(--bsa-blue-500);
  flex-shrink: 0;
}

.bsa-mobile-link:hover .bsa-mobile-link-icon {
  background: var(--bsa-blue-100);
  color: var(--bsa-blue-600);
}

.bsa-mobile-nav-cta {
  padding: 10px 10px 20px;
  margin-top: auto;
}

.bsa-mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #d97706, #b45309);
  color: white;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 3px 12px rgba(217, 119, 6, 0.3);
  transition: all 0.2s ease;
}

.bsa-mobile-cta-btn:hover {
  background: linear-gradient(135deg, #b45309, #92400e);
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.4);
  transform: translateY(-1px);
  color: white;
}

/* ==================== HERO ==================== */
.bsa-hero {
  position: relative;
  background: linear-gradient(135deg, var(--bsa-blue-900) 0%, #1e40af 30%, #1e3a5f 60%, var(--bsa-slate-900) 100%);
  padding: 80px 20px 100px;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.bsa-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: bsa-float 8s ease-in-out infinite;
}

.bsa-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: bsa-float 10s ease-in-out infinite reverse;
}

@keyframes bsa-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.bsa-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.bsa-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bsa-blue-300);
  margin-bottom: 24px;
}

.bsa-hero-badge svg {
  width: 16px;
  height: 16px;
}

.bsa-hero h1 {
  font-size: 48px;
  font-weight: 900;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.bsa-hero h1 span {
  background: linear-gradient(135deg, var(--bsa-blue-300), var(--bsa-blue-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bsa-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

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

.bsa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}

.bsa-btn:active {
  transform: scale(0.98);
}

.bsa-btn-hero-primary {
  background: linear-gradient(135deg, var(--bsa-blue-400), var(--bsa-blue-500));
  color: var(--bsa-blue-900);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.bsa-btn-hero-primary:hover {
  background: linear-gradient(135deg, var(--bsa-blue-300), var(--bsa-blue-400));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
  color: var(--bsa-blue-900);
}

.bsa-btn-hero-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.bsa-btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-2px);
}

.bsa-btn svg {
  width: 20px;
  height: 20px;
}

.bsa-hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.bsa-hero-image img {
  max-width: 420px;
  width: 100%;
  border-radius: var(--bsa-radius-xl);
  box-shadow: var(--bsa-shadow-xl);
}

.bsa-hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

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

.bsa-hero-stat .number {
  font-size: 28px;
  font-weight: 900;
  color: var(--bsa-blue-400);
  display: block;
}

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

/* ==================== SECTIONS ==================== */
.bsa-section {
  padding: 80px 20px;
}

.bsa-section-dark {
  background: linear-gradient(135deg, var(--bsa-slate-900) 0%, var(--bsa-blue-900) 100%);
  color: white;
}

.bsa-section-light {
  background: white;
}

.bsa-section-gradient {
  background: linear-gradient(135deg, var(--bsa-blue-50), var(--bsa-indigo-50));
}

.bsa-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.bsa-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bsa-badge-green {
  background: var(--bsa-blue-100);
  color: var(--bsa-blue-700);
}

.bsa-badge-indigo {
  background: var(--bsa-indigo-100);
  color: var(--bsa-indigo-700);
}

.bsa-badge-orange {
  background: #fff7ed;
  color: var(--bsa-orange-600);
}

.bsa-section-header h2 {
  font-size: 36px;
  font-weight: 900;
  color: var(--bsa-slate-900);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.bsa-section-dark .bsa-section-header h2 {
  color: white;
}

.bsa-section-header p {
  font-size: 17px;
  color: var(--bsa-slate-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.bsa-section-dark .bsa-section-header p {
  color: rgba(255, 255, 255, 0.6);
}

/* ==================== VIDEO SECTION ==================== */
.bsa-video-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--bsa-blue-50), white, var(--bsa-indigo-50));
}

.bsa-video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--bsa-radius-xl);
  overflow: hidden;
  box-shadow: var(--bsa-shadow-xl);
  aspect-ratio: 16/9;
  background: var(--bsa-slate-900);
}

.bsa-video-wrapper iframe,
.bsa-video-wrapper video {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==================== FEATURES / WHAT WE DO ==================== */
.bsa-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.bsa-feature-card {
  background: white;
  border-radius: var(--bsa-radius-lg);
  padding: 32px;
  border: 1px solid var(--bsa-slate-200);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bsa-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bsa-blue-400), var(--bsa-blue-600));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bsa-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bsa-shadow-xl);
  border-color: var(--bsa-blue-200);
}

.bsa-feature-card:hover::before {
  opacity: 1;
}

.bsa-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.bsa-icon-green {
  background: linear-gradient(135deg, var(--bsa-blue-400), var(--bsa-blue-600));
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.bsa-icon-indigo {
  background: linear-gradient(135deg, var(--bsa-indigo-500), var(--bsa-indigo-600));
  color: white;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.bsa-icon-purple {
  background: linear-gradient(135deg, var(--bsa-purple-500), var(--bsa-purple-600));
  color: white;
  box-shadow: 0 4px 14px rgba(147, 51, 234, 0.3);
}

.bsa-icon-orange {
  background: linear-gradient(135deg, var(--bsa-orange-500), var(--bsa-orange-600));
  color: white;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
}

.bsa-feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--bsa-slate-800);
  margin-bottom: 10px;
}

.bsa-feature-card p {
  font-size: 14px;
  color: var(--bsa-slate-500);
  line-height: 1.7;
}

/* ==================== COURSES ==================== */
.bsa-courses-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
}

.bsa-course-card {
  background: white;
  border-radius: var(--bsa-radius-lg);
  overflow: hidden;
  border: 1px solid var(--bsa-slate-200);
  transition: all 0.3s ease;
  cursor: pointer;
}

.bsa-course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bsa-shadow-xl);
  border-color: var(--bsa-blue-300);
}

.bsa-course-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bsa-blue-100), var(--bsa-indigo-100));
  position: relative;
}

.bsa-course-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bsa-course-card:hover .bsa-course-card-img img {
  transform: scale(1.08);
}

.bsa-course-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bsa-tag-special {
  background: linear-gradient(135deg, var(--bsa-purple-500), var(--bsa-indigo-600));
}

.bsa-tag-general {
  background: linear-gradient(135deg, var(--bsa-blue-500), var(--bsa-blue-600));
}

.bsa-tag-free {
  background: linear-gradient(135deg, var(--bsa-orange-500), #f59e0b);
}

.bsa-course-card-body {
  padding: 10px;
}

.bsa-course-card-body h3 {
  font-size: 12px;
  font-weight: 700;
  color: var(--bsa-slate-800);
  margin-bottom: 4px;
  line-height: 1.4;
}

.bsa-course-card-body p {
  font-size: 12px;
  color: var(--bsa-slate-500);
}

/* ==================== IMAGE GALLERY ==================== */
.bsa-gallery {
  overflow: hidden;
  padding: 60px 0;
  background: var(--bsa-slate-50);
}

.bsa-gallery-track {
  display: flex;
  gap: 20px;
  animation: bsa-scroll 30s linear infinite;
  width: max-content;
}

.bsa-gallery-track:hover {
  animation-play-state: paused;
}

@keyframes bsa-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.bsa-gallery-item {
  flex-shrink: 0;
  width: 280px;
  height: 280px;
  border-radius: var(--bsa-radius-lg);
  overflow: hidden;
  box-shadow: var(--bsa-shadow-md);
}

.bsa-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bsa-gallery-item:hover img {
  transform: scale(1.1);
}

/* ==================== TESTIMONIALS ==================== */
.bsa-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.bsa-testimonial-card {
  background: white;
  border-radius: var(--bsa-radius-lg);
  padding: 28px;
  border: 1px solid var(--bsa-slate-200);
  transition: all 0.3s ease;
  position: relative;
}

.bsa-testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 48px;
  color: var(--bsa-blue-200);
  font-family: Georgia, serif;
  line-height: 1;
}

.bsa-testimonial-card:hover {
  box-shadow: var(--bsa-shadow-lg);
  border-color: var(--bsa-blue-200);
}

.bsa-testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
}

.bsa-testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: #fbbf24;
  color: #fbbf24;
}

.bsa-testimonial-card .bsa-testimonial-text {
  font-size: 14px;
  color: var(--bsa-slate-600);
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.bsa-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bsa-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.bsa-testimonial-author-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--bsa-slate-800);
}

.bsa-testimonial-author-info p {
  font-size: 12px;
  color: var(--bsa-slate-400);
}

/* ==================== CTA SECTION ==================== */
.bsa-cta {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--bsa-blue-900) 0%, var(--bsa-slate-900) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bsa-cta::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
  border-radius: 50%;
}

.bsa-cta h2 {
  font-size: 36px;
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.bsa-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.bsa-cta-app {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.bsa-cta-app-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.bsa-cta-app-divider span:first-child,
.bsa-cta-app-divider span:last-child {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.bsa-cta-app-divider-text {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.bsa-cta-app-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  line-height: 1.5;
}

.bsa-cta-store-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.bsa-store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  min-width: 170px;
}

.bsa-store-btn div {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.bsa-store-btn small {
  font-size: 10px;
  line-height: 1;
  opacity: 0.8;
}

.bsa-store-btn strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.bsa-store-google {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  cursor: pointer;
}

.bsa-store-google:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.bsa-store-apple {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  cursor: pointer;
}

.bsa-store-apple:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.bsa-cta .bsa-btn {
  position: relative;
  z-index: 1;
}

/* ==================== FAMILY SECTION ==================== */
.bsa-family-section {
  padding: 80px 20px;
  background: white;
}

.bsa-family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.bsa-family-grid.reversed {
  direction: rtl;
}

.bsa-family-grid.reversed > * {
  direction: ltr;
}

.bsa-family-image {
  border-radius: var(--bsa-radius-xl);
  overflow: hidden;
  box-shadow: var(--bsa-shadow-xl);
}

.bsa-family-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.bsa-family-content h3 {
  font-size: 28px;
  font-weight: 900;
  color: var(--bsa-slate-900);
  margin-bottom: 16px;
  line-height: 1.3;
}

.bsa-family-content p {
  font-size: 16px;
  color: var(--bsa-slate-500);
  line-height: 1.8;
  margin-bottom: 24px;
}

.bsa-family-content .bsa-btn-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--bsa-blue-600);
  padding: 12px 28px;
  border-radius: 14px;
  border: 2px solid var(--bsa-blue-200);
  background: var(--bsa-blue-50);
  transition: all 0.25s ease;
}

.bsa-family-content .bsa-btn-inline:hover {
  background: var(--bsa-blue-600);
  color: white;
  border-color: var(--bsa-blue-600);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

/* ==================== FOOTER ==================== */
.bsa-footer {
  background: var(--bsa-slate-900);
  padding: 48px 20px 24px;
  color: rgba(255, 255, 255, 0.7);
}

.bsa-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.bsa-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bsa-footer-logo {
  height: 36px !important;
  width: 36px !important;
  border-radius: 10px !important;
  object-fit: contain;
}

.bsa-footer-brand-name {
  font-size: 15px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.2px;
}

.bsa-footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  max-width: 260px;
  margin: 0;
}

.bsa-footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

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

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

.bsa-footer-col a,
.bsa-footer-links li a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  padding: 4px 0;
  transition: all 0.2s ease;
}

.bsa-footer-col a:hover,
.bsa-footer-links li a:hover {
  color: var(--bsa-blue-400);
  padding-left: 4px;
}

.bsa-footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ==================== WP CONTENT STYLES ==================== */
.bsa-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.bsa-content h1 {
  font-size: 36px;
  font-weight: 900;
  color: var(--bsa-slate-900);
  margin-bottom: 24px;
  line-height: 1.2;
}

.bsa-content h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--bsa-slate-800);
  margin: 32px 0 16px;
}

.bsa-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--bsa-slate-800);
  margin: 28px 0 12px;
}

.bsa-content p {
  font-size: 16px;
  color: var(--bsa-slate-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.bsa-content ul, .bsa-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.bsa-content li {
  font-size: 16px;
  color: var(--bsa-slate-600);
  line-height: 1.8;
  margin-bottom: 8px;
}

.bsa-content img {
  border-radius: var(--bsa-radius);
  margin: 24px 0;
  box-shadow: var(--bsa-shadow-md);
}

.bsa-content blockquote {
  border-left: 4px solid var(--bsa-blue-400);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--bsa-blue-50);
  border-radius: 0 var(--bsa-radius) var(--bsa-radius) 0;
  font-style: italic;
  color: var(--bsa-slate-600);
}

.bsa-content a {
  color: var(--bsa-blue-600);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--bsa-blue-300);
  text-underline-offset: 3px;
}

.bsa-content a:hover {
  color: var(--bsa-blue-700);
  text-decoration-color: var(--bsa-blue-600);
}

/* ==================== WP FORMS & BUTTONS ==================== */
.woocommerce .button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  background: linear-gradient(135deg, var(--bsa-blue-500), var(--bsa-blue-600)) !important;
  color: white !important;
  border: none !important;
  padding: 14px 32px !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
  font-family: var(--bsa-font) !important;
}

.woocommerce .button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  background: linear-gradient(135deg, var(--bsa-blue-600), var(--bsa-blue-700)) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="tel"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--bsa-slate-200);
  border-radius: 12px;
  font-size: 15px;
  font-family: var(--bsa-font);
  color: var(--bsa-slate-800);
  background: white;
  transition: all 0.2s ease;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--bsa-blue-400);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* ==================== PAGE TEMPLATE STYLES ==================== */
.bsa-page-header {
  background: linear-gradient(135deg, var(--bsa-blue-50), var(--bsa-indigo-50));
  padding: 60px 20px;
  text-align: center;
  border-bottom: 1px solid var(--bsa-slate-200);
}

.bsa-page-header h1 {
  font-size: 36px;
  font-weight: 900;
  color: var(--bsa-slate-900);
  margin-bottom: 12px;
}

.bsa-page-header p {
  font-size: 16px;
  color: var(--bsa-slate-500);
}

/* ==================== 404 PAGE ==================== */
.bsa-404 {
  text-align: center;
  padding: 120px 20px;
  background: linear-gradient(135deg, var(--bsa-blue-50), white);
}

.bsa-404 h1 {
  font-size: 120px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--bsa-blue-400), var(--bsa-indigo-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.bsa-404 h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--bsa-slate-800);
  margin-bottom: 12px;
}

.bsa-404 p {
  font-size: 16px;
  color: var(--bsa-slate-500);
  margin-bottom: 32px;
}

/* ==================== WIDGETS ==================== */
.widget {
  margin-bottom: 28px;
  padding: 24px;
  background: white;
  border-radius: var(--bsa-radius);
  border: 1px solid var(--bsa-slate-200);
}

.widget-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--bsa-slate-800);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bsa-blue-200);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .bsa-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .bsa-hero h1 {
    font-size: 36px;
  }

  .bsa-hero p {
    margin: 0 auto 32px;
  }

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

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

  .bsa-hero-image {
    order: -1;
  }

  .bsa-hero-image img {
    max-width: 300px;
  }

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

  .bsa-family-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bsa-family-grid.reversed {
    direction: ltr;
  }

  .bsa-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .bsa-nav {
    display: none;
  }

  .bsa-mobile-toggle {
    display: block;
  }

  .bsa-mobile-nav {
    display: block;
  }

  .bsa-hero {
    padding: 50px 20px 70px;
    min-height: auto;
  }

  .bsa-hero h1 {
    font-size: 30px;
  }

  .bsa-hero p {
    font-size: 15px;
  }

  .bsa-section {
    padding: 50px 16px;
  }

  .bsa-section-header h2 {
    font-size: 26px;
  }

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

  .bsa-courses-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .bsa-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .bsa-cta h2 {
    font-size: 26px;
  }

  .bsa-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bsa-footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .bsa-hero-stats {
    gap: 20px;
  }

  .bsa-hero-stat .number {
    font-size: 22px;
  }

  .bsa-gallery-item {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .bsa-courses-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .bsa-hero h1 {
    font-size: 26px;
  }

  .bsa-hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .bsa-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==================== ANIMATIONS ==================== */
.bsa-fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.bsa-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== WP BLOCK OVERRIDES ==================== */
.wp-block-group,
.wp-block-columns {
  max-width: 1200px;
  margin: 0 auto;
}

.wp-block-image img {
  border-radius: var(--bsa-radius);
}

.wp-block-separator {
  border-color: var(--bsa-slate-200);
}

.wp-block-quote {
  border-left: 4px solid var(--bsa-blue-400);
  padding: 16px 24px;
  background: var(--bsa-blue-50);
  border-radius: 0 var(--bsa-radius) var(--bsa-radius) 0;
}

/* Hide Arina leftover styles */
.site-header,
.site-footer,
.site-main .type-post,
.type-page .entry-header,
.entry-footer,
.nav-links,
.comments-area,
.post-navigation {
  /* Keep WP defaults clean */
}
