/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors matching the logo theme */
  --primary: #0b1a3e;        /* Dark Blue-Navy (matches logo blue but darker/premium) */
  --primary-light: #142850;  /* Lighter Blue-Navy */
  --secondary: #ffffff;      /* White */
  --accent: #c21807;         /* Logo Red */
  --accent-hover: #a01305;
  --accent-light: #fff5f5;
  --accent-soft: rgba(194, 24, 7, 0.1);
  --header-height: 72px;
  
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  
  /* Fonts */
  --font-headings: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;
  
  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --border-glow: 0 0 20px rgba(194, 24, 7, 0.08);
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.1);
  --shadow-accent: 0 10px 25px rgba(185, 28, 28, 0.15);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 80px; /* Offset for sticky nav */
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

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

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

ul {
  list-style: none;
}

/* ==========================================================================
   REUSABLE UTILITIES & LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section-dark {
  background-color: var(--primary);
  color: var(--slate-100);
}

.section-dark h2, .section-dark h3 {
  color: var(--secondary);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-2xl);
}

.tagline {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--slate-500);
}

.section-dark .section-subtitle {
  color: var(--slate-400);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--secondary);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--slate-200);
}

.btn-secondary:hover {
  background-color: var(--slate-50);
  border-color: var(--slate-400);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--secondary);
}

.btn-whatsapp:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.15);
}

.btn-dark {
  background-color: var(--secondary);
  color: var(--primary);
}

.btn-dark:hover {
  background-color: var(--slate-100);
  transform: translateY(-2px);
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled .logo-text {
  color: var(--secondary);
}

.header.scrolled .nav-link {
  color: var(--slate-300);
}

.header.scrolled .nav-link:hover {
  color: var(--secondary);
}

.header.scrolled .btn-secondary {
  color: var(--secondary);
  border-color: var(--slate-700);
}

.header.scrolled .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--secondary);
  display: block;
  /* Circle mask to cut excess white background margin */
  clip-path: circle(48% at 50% 50%);
  box-shadow: 0 2px 8px rgba(12, 27, 64, 0.1);
}

.logo-text {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-600);
}

.nav-link:hover {
  color: var(--accent);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}


.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  margin: 5px 0;
  transition: var(--transition-fast);
}

.header.scrolled .burger-bar {
  background-color: var(--secondary);
}

/* ==========================================================================
   SECTION 1: HERO
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + var(--space-lg));
  padding-bottom: var(--space-2xl);
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(185, 28, 28, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(15, 23, 42, 0.02) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.hero-title span {
  position: relative;
  display: inline-block;
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

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

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  animation: float 6s ease-in-out infinite;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Decorative floating badges */
.floating-element {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 10;
}

.floating-1 {
  top: 10%;
  left: -10%;
  animation: floatBadges 5s ease-in-out infinite alternate;
}

.floating-2 {
  bottom: 15%;
  right: -5%;
  animation: floatBadges 5s ease-in-out infinite alternate 1.5s;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
}

.badge-dot.green {
  background-color: #25d366;
}

/* ==========================================================================
   SECTION 2: TRUST BAR (Marquee)
   ========================================================================== */
.trust-bar {
  background-color: var(--primary-light);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  overflow: hidden;
  position: relative;
}

.marquee-container {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  padding-right: 4rem;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.marquee-bullet {
  color: var(--accent);
  font-size: 1.5rem;
}

/* ==========================================================================
   SECTION 3: THE PROBLEM
   ========================================================================== */
.problem-section {
  background-color: var(--slate-50);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.problem-card {
  background-color: var(--secondary);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.problem-card:hover {
  transform: translateY(-8px);
  border-color: rgba(185, 28, 28, 0.2);
  box-shadow: var(--shadow-md), var(--border-glow);
}

.problem-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.problem-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

.problem-desc {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.5;
}

/* ==========================================================================
   SECTION 4: OUR SERVICES
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.services-card {
  background-color: var(--secondary);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.services-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.services-card.highlighted {
  border-color: var(--accent);
  position: relative;
  overflow: hidden;
}

.services-card.highlighted::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent);
}

.services-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.services-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--slate-100);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition-fast);
}

.services-card:hover .services-icon-box {
  background-color: var(--primary);
  color: var(--secondary);
}

.services-card.highlighted:hover .services-icon-box {
  background-color: var(--accent);
}

.services-card-title {
  font-size: 1.35rem;
  font-weight: 700;
}

.services-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.services-benefits-title {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-400);
  margin-bottom: var(--space-xs);
  font-weight: 700;
}

.services-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.services-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--slate-700);
}

.benefit-icon {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ==========================================================================
   SECTION 5: NUMBERS THAT MATTER
   ========================================================================== */
.stats-section {
  padding: var(--space-2xl) 0;
  background: radial-gradient(circle at 20% 80%, rgba(185, 28, 28, 0.08) 0%, transparent 60%),
              var(--primary);
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stats-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.stats-number {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stats-number span {
  color: var(--accent);
}

.stats-label {
  font-size: 1rem;
  color: var(--slate-400);
  font-weight: 500;
}

/* ==========================================================================
   SECTION 6: HOW IT WORKS
   ========================================================================== */
.timeline-section {
  background-color: var(--secondary);
}

.timeline-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-lg) 0;
}

/* Central vertical line */
.timeline-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: var(--slate-200);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: var(--space-2xl);
  z-index: 2;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-badge {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, 0);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--secondary);
  border: 3px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--slate-500);
  z-index: 3;
  transition: var(--transition-normal);
}

.timeline-item.active .timeline-badge {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 15px rgba(185, 28, 28, 0.2);
}

.timeline-card {
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: var(--transition-normal);
}

.timeline-item.active .timeline-card {
  background-color: var(--secondary);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(even) .timeline-card {
  grid-column: 2;
}

.timeline-item:nth-child(odd) .timeline-card {
  grid-column: 1;
  text-align: right;
}

.timeline-item:nth-child(odd) .timeline-benefit-list {
  justify-content: flex-end;
}

.timeline-step-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
  font-weight: 700;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
}

/* ==========================================================================
   SECTION 7: WHY CHOOSE BSWS
   ========================================================================== */
.why-section {
  background-color: var(--slate-50);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.why-card {
  background-color: var(--secondary);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  transition: var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}

.why-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.why-card-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.why-card-title {
  font-size: 1.125rem;
  font-weight: 700;
}

.why-card-desc {
  font-size: 0.9rem;
  color: var(--slate-500);
  line-height: 1.5;
}

/* ==========================================================================
   SECTION 8: RESOURCES & CONTENT
   ========================================================================== */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.resource-card {
  background-color: var(--secondary);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.resource-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--slate-300);
}

.resource-img-placeholder {
  height: 200px;
  background-color: var(--slate-100);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.resource-card:nth-child(1) .resource-img-placeholder {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.resource-card:nth-child(2) .resource-img-placeholder {
  background: linear-gradient(135deg, #451a03 0%, #78350f 100%);
}

.resource-card:nth-child(3) .resource-img-placeholder {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.resource-img-icon {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.15);
}

.resource-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background-color: var(--accent);
  color: var(--secondary);
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.resource-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex-grow: 1;
}

.resource-meta {
  font-size: 0.8rem;
  color: var(--slate-400);
  font-weight: 500;
}

.resource-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

.resource-desc {
  font-size: 0.9rem;
  color: var(--slate-500);
  flex-grow: 1;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: var(--space-sm);
}

.resource-link:hover {
  gap: 10px;
}

/* ==========================================================================
   SECTION 9: ABOUT BSWS
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-desc {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.about-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: var(--space-xs);
}

.about-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--slate-700);
}

.about-bullet-icon {
  color: var(--accent);
  margin-top: 4px;
}

.about-right {
  display: flex;
  justify-content: center;
}

.about-card {
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow-md);
  position: relative;
}

.about-card::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: -1;
  pointer-events: none;
}

.about-profile-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.about-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.5rem;
  border: 3px solid var(--secondary);
  box-shadow: 0 0 10px rgba(15, 23, 42, 0.1);
}

.about-profile-info {
  display: flex;
  flex-direction: column;
}

.about-profile-name {
  font-size: 1.2rem;
  font-weight: 700;
}

.about-profile-title {
  font-size: 0.85rem;
  color: var(--slate-500);
}

.about-quote {
  font-style: italic;
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.6;
  position: relative;
  padding-left: var(--space-md);
  border-left: 3px solid var(--accent);
}

/* ==========================================================================
   SECTION 10: LEAD CAPTURE FORM
   ========================================================================== */
.contact-section {
  background: radial-gradient(circle at 10% 10%, rgba(185, 28, 28, 0.02) 0%, transparent 50%),
              rgba(15, 23, 42, 0.02);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-3xl);
  align-items: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info-desc {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.contact-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--secondary);
  border: 1px solid var(--slate-200);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-channel-details {
  display: flex;
  flex-direction: column;
}

.contact-channel-label {
  font-size: 0.75rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.contact-channel-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}

.form-wrapper {
  background-color: var(--secondary);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 1.75rem;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--slate-500);
  margin-bottom: var(--space-xl);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.form-full-width {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-700);
}

.form-input, .form-select, .form-textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--primary);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background-color: var(--slate-50);
  transition: var(--transition-fast);
  outline: none;
  width: 100%;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  background-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.05);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit-btn {
  width: 100%;
  margin-top: var(--space-sm);
}

/* ==========================================================================
   SECTION 11: FINAL CTA
   ========================================================================== */
.cta-section {
  padding: var(--space-3xl) 0;
  background-color: var(--primary);
  background-image: radial-gradient(circle at 90% 90%, rgba(185, 28, 28, 0.1) 0%, transparent 60%),
                    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
  color: var(--secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-content {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--secondary);
}

.cta-subtitle {
  font-size: 1.15rem;
  color: var(--slate-300);
  max-width: 580px;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #0b111e;
  color: var(--slate-400);
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-brand .logo-text {
  color: var(--secondary);
}

.footer-brand-desc {
  color: var(--slate-500);
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  transition: var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--slate-600);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-bottom-links .footer-link {
  color: var(--slate-300); /* High-contrast light grey */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  opacity: 0.8;
}

.footer-bottom-links .footer-link:hover {
  color: var(--secondary); /* Turns pure white on hover */
  opacity: 1;
  transform: translateY(-2px);
}

.footer-bottom-links svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  display: block;
}

.social-favicon {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
  transition: var(--transition-fast);
  opacity: 0.85;
}

.footer-link:hover .social-favicon,
.mobile-social-link:hover .social-favicon {
  opacity: 1;
  transform: scale(1.15);
}

.mobile-social-row {
  display: none;
  gap: var(--space-md);
  margin-top: auto;
  justify-content: center;
}

/* ==========================================================================
   ANIMATIONS & SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.reveal-left {
  transform: translateX(-40px);
}

.reveal.reveal-right {
  transform: translateX(40px);
}

.reveal.revealed {
  opacity: 1;
  transform: translate(0);
}

/* Keyframes */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

@keyframes floatBadges {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-8px) scale(1.02); }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --space-2xl: 4rem;
    --space-3xl: 5rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-image-wrapper {
    max-width: 440px;
  }
  
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .resources-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .about-content {
    align-items: center;
    text-align: center;
  }
  
  .about-bullets {
    align-items: flex-start;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 1024px) {
  .nav-menu, .nav-cta {
    display: none;
  }
  
  .burger-menu {
    display: block;
  }
  
  /* Mobile Menu Open State */
  .header.menu-open .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--primary);
    padding: var(--space-2xl) var(--space-lg);
    gap: var(--space-xl);
    z-index: 999;
    justify-content: space-between;
  }
  
  .mobile-social-row {
    display: flex;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .mobile-social-link {
    color: var(--secondary);
    font-size: 1.5rem;
    transition: var(--transition-fast);
  }
  
  .mobile-social-link:hover {
    color: var(--accent);
  }
  
  .header.menu-open .nav-link {
    color: var(--secondary);
    font-size: 1.25rem;
    font-weight: 600;
  }
  
  .header.menu-open .burger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .header.menu-open .burger-bar:nth-child(2) {
    opacity: 0;
  }
  
  .header.menu-open .burger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .section-title {
    font-size: 2rem;
  }
  
  .problem-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
  
  .timeline-line {
    left: 20px;
  }
  
  .timeline-item {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    padding-left: 50px;
  }
  
  .timeline-badge {
    left: 20px;
  }
  
  .timeline-item:nth-child(even) .timeline-card,
  .timeline-item:nth-child(odd) .timeline-card {
    grid-column: 1;
    text-align: left;
  }
  
  .timeline-item:nth-child(odd) .timeline-benefit-list {
    justify-content: flex-start;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-full-width {
    grid-column: span 1;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .problem-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .form-wrapper {
    padding: var(--space-lg) var(--space-md);
  }
}

/* ==========================================================================
   SUBPAGE & BLOG SYSTEM STYLES (CMS Support)
   ========================================================================== */

/* Subpage Hero */
.subpage-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--secondary);
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.subpage-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(194, 24, 7, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.3;
}
.subpage-hero .container {
  position: relative;
  z-index: 2;
}
.subpage-hero-title {
  font-size: 2.8rem;
  color: var(--secondary);
  margin-bottom: var(--space-sm);
  font-family: var(--font-headings);
}
.subpage-hero-subtitle {
  font-size: 1.1rem;
  color: var(--slate-300);
  max-width: 700px;
  margin: 0 auto;
}

/* Search and Filters */
.search-filter-section {
  padding: var(--space-xl) 0;
  background-color: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}
.search-bar-wrapper {
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  position: relative;
}
.search-input {
  width: 100%;
  padding: 14px 20px 14px 50px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  background-color: var(--secondary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-normal);
  color: var(--slate-800);
}
.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.filter-tags {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}
.filter-btn {
  background-color: var(--secondary);
  border: 1px solid var(--slate-200);
  color: var(--slate-600);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition-fast);
}
.filter-btn:hover, .filter-btn.active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--secondary);
}

/* Blog List Grid */
.blog-list-section {
  padding: var(--space-2xl) 0;
}
.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* Blog Post Detail Page */
.post-layout-section {
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-2xl);
}
.post-layout-grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: var(--space-xl);
}
.post-content-card {
  background-color: var(--secondary);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}
.post-meta-header {
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: var(--space-md);
}
.post-category-tag {
  display: inline-block;
  background-color: var(--accent-soft);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.post-title {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}
.post-meta-info {
  display: flex;
  gap: var(--space-md);
  color: var(--slate-500);
  font-size: 0.875rem;
}

/* Post body content typography styling */
.post-body {
  color: var(--slate-700);
  line-height: 1.8;
  font-size: 1.05rem;
}
.post-body h2 {
  font-size: 1.8rem;
  margin: var(--space-lg) 0 var(--space-sm);
}
.post-body h3 {
  font-size: 1.4rem;
  margin: var(--space-md) 0 var(--space-xs);
}
.post-body h4 {
  font-size: 1.15rem;
  margin: var(--space-md) 0 var(--space-xs);
}
.post-body p {
  margin-bottom: var(--space-md);
}
.post-body ul, .post-body ol {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-md);
}
.post-body li {
  margin-bottom: 4px;
}
.post-body blockquote {
  border-left: 4px solid var(--accent);
  background-color: var(--slate-50);
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-md) 0;
  font-style: italic;
  color: var(--slate-600);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.post-body img {
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
  width: 100%;
}
.post-body pre {
  background-color: var(--slate-900);
  color: var(--slate-100);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin-bottom: var(--space-md);
  font-family: monospace;
}

/* Post Sidebar elements */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: sticky;
  top: 100px;
}
.sidebar-widget {
  background-color: var(--secondary);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
  border-bottom: 2px solid var(--slate-100);
  padding-bottom: 8px;
}
.toc-list {
  list-style: none;
}
.toc-item {
  margin-bottom: 8px;
}
.toc-link {
  font-size: 0.9rem;
  color: var(--slate-600);
  transition: var(--transition-fast);
}
.toc-link:hover {
  color: var(--accent);
  padding-left: 4px;
}
.widget-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  border: none;
  text-align: center;
}
.widget-whatsapp .widget-title {
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}
.widget-whatsapp p {
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

/* Related Posts Section */
.related-posts-section {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--slate-200);
  background-color: var(--slate-50);
}

/* FAQ accordion styling */
.faq-list-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item-wrapper {
  background-color: var(--secondary);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: var(--transition-normal);
}
.faq-item-wrapper.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.faq-trigger {
  width: 100%;
  padding: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}
.faq-arrow {
  transition: var(--transition-normal);
  color: var(--slate-400);
}
.faq-item-wrapper.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-content-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-in-out;
  padding: 0 var(--space-md);
}
.faq-item-wrapper.active .faq-content-panel {
  max-height: 1000px; /* high value for auto height animate */
  padding: 0 var(--space-md) var(--space-md);
}

/* Scopus Updates styling */
.update-card {
  background-color: var(--secondary);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  transition: var(--transition-normal);
}
.update-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}
.update-date-badge {
  background-color: var(--primary);
  color: white;
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
  min-width: 80px;
}
.update-date-month {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
}
.update-date-year {
  font-size: 1.2rem;
  font-weight: 800;
  font-family: var(--font-headings);
}
.update-content {
  flex-grow: 1;
}
.update-title {
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.update-excerpt {
  color: var(--slate-600);
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}
.update-actions {
  display: flex;
  gap: var(--space-sm);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .post-layout-grid {
    grid-template-columns: 1fr;
  }
  .post-sidebar {
    position: static;
  }
  .blog-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  :root {
    --header-height: 56px;
  }
  .logo-img {
    width: 34px;
    height: 34px;
  }
  .logo-text {
    font-size: 1.1rem;
  }
  .container {
    padding: 0 16px;
  }
  .post-content-card {
    padding: 16px;
    border-radius: var(--radius-md);
  }
  .post-title {
    font-size: 1.75rem;
  }
  .post-meta-info {
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .post-meta-info span {
    white-space: nowrap;
  }
  .post-body h2 {
    font-size: 1.4rem;
  }
  .post-body h3 {
    font-size: 1.2rem;
  }
  .subpage-hero-title {
    font-size: 1.8rem;
  }
  .subpage-hero-subtitle {
    font-size: 0.95rem;
    padding: 0 16px;
  }
  .filter-tags {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    scrollbar-width: none;
  }
  .filter-tags::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex-shrink: 0;
  }
  .blog-list-grid {
    grid-template-columns: 1fr;
  }
  .update-card {
    flex-direction: column;
    gap: var(--space-md);
  }
  .update-date-badge {
    width: 100%;
  }
}

/* Share Button Style */
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-headings);
}
.btn-share:hover {
  background-color: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent-soft);
}

