/* ==========================================================================
   Honey Translations - Main Design System & Base Styles
   Sky Blue, Pale Sky Blue & Deep Sky Blue Theme
   Vanilla CSS (No Bootstrap, No Tailwind)
   ========================================================================== */

:root {
  /* Central Theme Palette - Variables Single Source of Truth */
  --sky: #00B8FF;          /* Bright Sky Blue */
  --aqua: #00D4C0;         /* Aqua Teal */
  --sky-tint: #DDF3FF;     /* Soft Sky Blue Tint */
  --pale-sky: #E6F8FF;     /* Pale Sky Tint */
  --aqua-tint: #D3F8F1;    /* Mint / Aqua Tint */
  --white: #FFFFFF;        /* Pure White */
  --ink: #263238;          /* Dark Charcoal (Headings & Body) */
  --muted: #53657A;        /* Secondary Muted text */
  --link: #0079B8;         /* Accessible blue links & text */
  --teal-text: #00806F;    /* Accessible teal text */
  --charcoal: #263238;     /* Dark Charcoal (Footer & Dark sections) */
  --border: rgba(0, 120, 170, 0.16);
  --shadow: 0 3px 10px rgba(0, 100, 150, 0.08);

  --grad: linear-gradient(135deg, #00B8FF 0%, #00D4C0 100%);
  --grad-reverse: linear-gradient(135deg, #00D4C0 0%, #00B8FF 100%);
  --grad-hero: linear-gradient(180deg, #E6F8FF 0%, #C4EDFF 55%, #B6F5EA 100%);
  --wa-green: #25D366;

  /* Legacy & Semantic Theme Aliases */
  --brand-primary-blue: var(--sky);
  --brand-sky-blue: var(--aqua);
  --brand-light-blue: var(--sky-tint);
  --brand-white: var(--white);
  --brand-dark-navy: var(--ink);

  --brand-deep-sky-blue: var(--sky);
  --brand-pale-sky-blue: var(--sky-tint);
  --espresso: var(--sky);
  --taupe: var(--aqua);
  --warm-beige: var(--aqua-tint);
  --cream: var(--pale-sky);
  --dark-navy: var(--ink);
  --body-text: var(--ink);
  --light-border: var(--border);
  --dark-hover: #00A3E6;

  /* Semantic Theme Variables */
  --primary: var(--sky);
  --primary-hover: #00A3E6;
  --primary-light: var(--aqua);
  --primary-subtle: var(--sky-tint);
  --primary-rgb: 0, 184, 255;

  --secondary: var(--aqua);
  --secondary-surface: #00BFAD;
  --secondary-muted: var(--aqua-tint);
  --secondary-rgb: 0, 212, 192;

  --accent: var(--aqua);
  --accent-light: var(--aqua-tint);
  --accent-subtle: var(--pale-sky);
  --whatsapp: var(--wa-green);

  /* Glassmorphism System Tokens */
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-bg-subtle: rgba(221, 243, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-border-subtle: var(--border);
  --glass-blur: blur(14px);
  --glass-shadow: var(--shadow);
  --glass-shadow-hover: 0 10px 25px rgba(0, 100, 150, 0.12);

  /* Neutral Spectrum */
  --bg-body: var(--white);
  --bg-card: var(--white);
  --bg-subtle: var(--pale-sky);
  --bg-tint: var(--sky-tint);
  --bg-gray: var(--sky-tint);
  --text-main: var(--ink);
  --text-body: var(--ink);
  --text-muted: var(--muted);
  --border-light: var(--border);
  --border-subtle: var(--border);

  /* Status Colors */
  --success: var(--aqua);
  --success-subtle: var(--aqua-tint);
  --info: var(--sky);

  /* Floating Social Proof Badge Variables */
  --proof-bg: var(--sky);
  --proof-text: var(--ink);
  --proof-accent: #facc15;

  /* Popular Languages Badge Overlay Variables */
  --lang-overlay-rgb: 31, 42, 55;

  /* Typography: Headings in Playfair Display, Body/Interface in Lato */
  --font-serif: 'Playfair Display', Georgia, Cambria, 'Times New Roman', Times, serif;
  --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: var(--font-serif);
  --font-body: var(--font-sans);

  /* Elevation Shadows (Soft Sky Blue / Navy Tints) */
  --shadow-xs: 0 1px 2px var(--shadow);
  --shadow-sm: 0 2px 5px var(--shadow), 0 1px 2px var(--shadow);
  --shadow-md: 0 6px 18px var(--shadow), 0 2px 6px var(--shadow);
  --shadow-lg: 0 12px 30px var(--border), 0 4px 10px var(--shadow);
  --shadow-xl: 0 22px 45px var(--border), 0 8px 16px var(--shadow);

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 260ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 420ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout Container */
  --container-max: 1240px;
  --container-pad: 1.5rem;
}

/* ==========================================================================
   CSS Reset & Base Rules
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--body-text);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

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

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

button, input, select, textarea {
  font-family: var(--font-sans);
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Typography Hierarchy: Playfair Display Headings & Lato Body
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--brand-dark-navy, var(--ink));
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

/* Main hero heading: 48–56px on desktop, 34–40px on mobile */
h1 {
  font-size: clamp(2.15rem, 3.2vw + 1rem, 3.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand-dark-navy, var(--ink));
}

/* Section headings: 32–40px on desktop, 26–32px on mobile */
h2 {
  font-size: clamp(1.65rem, 2.2vw + 0.6rem, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--brand-dark-navy, var(--ink));
}

/* Card headings: 20–24px */
h3 {
  font-size: clamp(1.25rem, 1.2vw + 0.6rem, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--brand-dark-navy, var(--ink));
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand-dark-navy, var(--ink));
}

h5 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--brand-dark-navy, var(--ink));
}

/* Paragraphs: 16–18px, Lato, line-height 1.6–1.8 */
p {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--body-text);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.text-muted {
  color: var(--taupe);
}

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

/* ==========================================================================
   Layout Containers & Grids
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-sm {
  padding: 3rem 0;
}

.section-alt {
  background-color: var(--cream);
}

.section-dark {
  background-color: var(--espresso);
  color: var(--cream);
}

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

.section-dark .text-muted {
  color: var(--warm-beige);
}

.section-dark .btn-primary {
  background-color: var(--cream);
  color: var(--espresso) !important;
  border-color: var(--warm-beige);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.section-dark .btn-primary:hover {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--dark-hover) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-primary-blue, var(--sky));
  margin-bottom: 0.85rem;
  background: rgba(224, 242, 254, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.section-title {
  font-family: var(--font-heading);
  color: var(--brand-dark-navy, var(--ink));
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.section-lead {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--body-text);
  line-height: 1.7;
}

/* ==========================================================================
   Subtle Glassmorphism & Modern Card Utility Classes
   ========================================================================== */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}

.glass-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(224, 242, 254, 0.85);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px var(--shadow), 0 2px 6px var(--shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 16px 36px var(--border), 0 4px 12px var(--shadow);
}

.glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(224, 242, 254, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-full);
  color: var(--brand-primary-blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ==========================================================================
   Buttons & Interactive Elements
   Primary: Espresso Brown background with white text, Dark Hover Brown hover
   Secondary: White/Cream background with Espresso Brown text, Taupe border
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15.5px;
  padding: 0.75rem 1.65rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  white-space: nowrap;
  line-height: 1.25;
  text-align: center;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--brand-deep-sky-blue);
  color: var(--white) !important;
  border: 1px solid var(--brand-deep-sky-blue);
  box-shadow: 0 4px 14px var(--border);
}

.btn-primary:hover {
  background-color: var(--dark-hover);
  border-color: var(--dark-hover);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(3, 105, 161, 0.35);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background-color: #20bd5a;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.btn-secondary {
  background-color: var(--brand-pale-sky-blue);
  color: var(--brand-deep-sky-blue) !important;
  border: 1px solid var(--brand-sky-blue);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--brand-deep-sky-blue);
  color: var(--white) !important;
  border-color: var(--brand-deep-sky-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--espresso);
  border: 1px solid var(--taupe);
}

.btn-outline:hover {
  border-color: var(--espresso);
  color: var(--white);
  background-color: var(--espresso);
}

.btn-white {
  background-color: var(--white);
  color: var(--espresso);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background-color: var(--cream);
  color: var(--dark-hover);
  border-color: var(--taupe);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Badges, Pills & Indicators
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary, .badge-gold {
  background-color: var(--cream);
  color: var(--espresso);
  border: 1px solid var(--light-border);
}

.badge-blue {
  background-color: var(--cream);
  color: var(--taupe);
  border: 1px solid var(--warm-beige);
}

.badge-success {
  background-color: var(--cream);
  color: var(--taupe);
  border: 1px solid var(--light-border);
}

/* ==========================================================================
   Card System: White background with Light Border
   ========================================================================== */
.card {
  background-color: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 2px 8px var(--shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px var(--border);
  border-color: var(--warm-beige);
}

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }

@media (min-width: 768px) {
  .d-md-none { display: none !important; }
  .d-md-block { display: block !important; }
  .d-md-flex { display: flex !important; }
}

@media (min-width: 1024px) {
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
  .d-lg-flex { display: flex !important; }
}

/* ==========================================================================
   Inner Page Banners & Breadcrumbs (Espresso Brown)
   ========================================================================== */
.page-banner {
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky) 100%);
  color: #ffffff;
  padding: 3.5rem 0 4rem 0;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(186, 230, 253, 0.3);
}

.page-banner-subtitle {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-banner-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw + 0.5rem, 2.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--warm-beige);
}

.page-breadcrumb a {
  color: #ffffff;
  font-weight: 600;
}

.page-breadcrumb a:hover {
  color: var(--warm-beige);
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--taupe);
}

/* ==========================================================================
   Blog Grid & Cards
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px var(--border);
  border-color: var(--warm-beige);
}

.blog-card-header {
  padding: 1.25rem 1.5rem 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-category-badge {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--espresso);
  background: var(--cream);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--light-border);
}

.blog-read-time {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--taupe);
}

.blog-card-body {
  padding: 0.5rem 1.5rem 1.25rem 1.5rem;
  flex: 1;
}

.blog-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--taupe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  border: 1px solid var(--light-border);
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 0.65rem;
  color: var(--espresso);
  font-weight: 600;
}

.blog-card-excerpt {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--body-text);
  line-height: 1.65;
  margin: 0;
}

.blog-card-footer {
  padding: 1rem 1.5rem;
  background: var(--cream);
  border-top: 1px solid var(--light-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.blog-date {
  font-family: var(--font-sans);
  color: var(--taupe);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-read-more {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--espresso);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.blog-read-more:hover {
  color: var(--taupe);
  text-decoration: underline;
}

/* ==========================================================================
   Floating Social Proof Rating Badge (Bottom-Left)
   ========================================================================== */
.floating-proof {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 999;
  background-color: var(--proof-bg);
  color: var(--proof-text);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: 0 8px 24px var(--border), 0 2px 6px rgba(0, 0, 0, 0.12);
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.4;
  user-select: none;
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-proof:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.38), 0 4px 10px rgba(0, 0, 0, 0.18);
}

.floating-proof .proof-row {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.floating-proof .proof-row:not(:last-child) {
  margin-bottom: 7px;
}

.floating-proof .proof-row strong {
  font-weight: 700;
  color: var(--proof-text);
  letter-spacing: 0.01em;
}

.floating-proof .proof-row i.fa-chart-line {
  color: var(--proof-text);
  font-size: 14px;
  line-height: 1;
}

.floating-proof .start-rating {
  display: inline-flex;
  align-items: center;
  min-width: 80px;
}

.floating-proof .start-rating i {
  color: var(--proof-accent);
  margin-right: 2.5px;
  font-size: 13px;
}

.floating-proof .auto-type {
  font-weight: 700;
  color: var(--proof-text);
  display: inline-block;
  min-width: 175px;
}

.floating-proof .typed-cursor {
  color: var(--proof-text);
  font-weight: 700;
  font-size: 14px;
  margin-left: 2px;
  opacity: 1;
  animation: typedBlink 0.7s infinite;
}

@keyframes typedBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@media (max-width: 768px) {
  .floating-proof {
    left: 14px;
    bottom: 16px;
    padding: 10px 14px;
    font-size: 12px;
  }

  .floating-proof .proof-row:not(:last-child) {
    margin-bottom: 5px;
  }

  .floating-proof .proof-row i.fa-chart-line {
    font-size: 12.5px;
  }

  .floating-proof .start-rating {
    min-width: 70px;
  }

  .floating-proof .start-rating i {
    font-size: 11.5px;
    margin-right: 2px;
  }

  .floating-proof .auto-type {
    min-width: 142px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .floating-proof {
    left: 10px;
    bottom: 12px;
    padding: 8px 11px;
    font-size: 11px;
  }

  .floating-proof .proof-row:not(:last-child) {
    margin-bottom: 4px;
  }

  .floating-proof .start-rating {
    min-width: 62px;
  }

  .floating-proof .start-rating i {
    font-size: 10.5px;
    margin-right: 1.5px;
  }

  .floating-proof .auto-type {
    min-width: 130px;
    font-size: 11px;
  }
}

/* ==========================================================================
   Popular Languages Section (8th Section)
   Prefix all classes with "lang-"
   ========================================================================== */
.lang-section {
  background-color: var(--cream);
  padding: clamp(40px, 8vw, 96px) clamp(20px, 3vw, 32px);
  width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden;
}

.lang-container {
  max-width: 1216px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.lang-header {
  text-align: center;
}

.lang-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
  text-align: center;
}

.lang-heading {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  color: var(--espresso);
  margin: 0 0 48px 0;
  text-align: center;
  line-height: 1.2;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.lang-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .lang-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.lang-badge {
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  box-sizing: border-box;
  cursor: default;
  user-select: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
  .lang-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--border);
  }
}

/* Individual Flag Backgrounds & Positioning (in exact specified order) */
.lang-badge:nth-child(1) {
  background-image: linear-gradient(rgba(var(--lang-overlay-rgb), 0.62), rgba(var(--lang-overlay-rgb), 0.62)), url('/images/flags/chinese.svg');
  background-position: left center;
}

.lang-badge:nth-child(2) {
  background-image: linear-gradient(rgba(var(--lang-overlay-rgb), 0.62), rgba(var(--lang-overlay-rgb), 0.62)), url('/images/flags/french.svg');
}

.lang-badge:nth-child(3) {
  background-image: linear-gradient(rgba(var(--lang-overlay-rgb), 0.62), rgba(var(--lang-overlay-rgb), 0.62)), url('/images/flags/german.svg');
}

.lang-badge:nth-child(4) {
  background-image: linear-gradient(rgba(var(--lang-overlay-rgb), 0.62), rgba(var(--lang-overlay-rgb), 0.62)), url('/images/flags/greek.svg');
  background-position: left center;
}

.lang-badge:nth-child(5) {
  background-image: linear-gradient(rgba(var(--lang-overlay-rgb), 0.62), rgba(var(--lang-overlay-rgb), 0.62)), url('/images/flags/italian.svg');
}

.lang-badge:nth-child(6) {
  background-image: linear-gradient(rgba(var(--lang-overlay-rgb), 0.62), rgba(var(--lang-overlay-rgb), 0.62)), url('/images/flags/japanese.svg');
}

.lang-badge:nth-child(7) {
  background-image: linear-gradient(rgba(var(--lang-overlay-rgb), 0.62), rgba(var(--lang-overlay-rgb), 0.62)), url('/images/flags/russian.svg');
}

.lang-badge:nth-child(8) {
  background-image: linear-gradient(rgba(var(--lang-overlay-rgb), 0.62), rgba(var(--lang-overlay-rgb), 0.62)), url('/images/flags/korean.svg');
}

.lang-badge:nth-child(9) {
  background-image: linear-gradient(rgba(var(--lang-overlay-rgb), 0.62), rgba(var(--lang-overlay-rgb), 0.62)), url('/images/flags/english-uk.svg');
}

.lang-badge:nth-child(10) {
  background-image: linear-gradient(rgba(var(--lang-overlay-rgb), 0.62), rgba(var(--lang-overlay-rgb), 0.62)), url('/images/flags/english-us.svg');
  background-position: left center;
}

.lang-badge:nth-child(11) {
  background-image: linear-gradient(rgba(var(--lang-overlay-rgb), 0.62), rgba(var(--lang-overlay-rgb), 0.62)), url('/images/flags/arabic.svg');
}

.lang-badge:nth-child(12) {
  background-image: linear-gradient(rgba(var(--lang-overlay-rgb), 0.62), rgba(var(--lang-overlay-rgb), 0.62)), url('/images/flags/portuguese-brazil.svg');
}

/* ==========================================================================
   Popular Documents Section (9th Section)
   Prefix all classes with "docs-"
   ========================================================================== */
.docs-section {
  background-color: #FFFFFF;
  padding: clamp(40px, 8vw, 96px) clamp(20px, 3vw, 32px);
  width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden;
  text-align: left;
}

.docs-container {
  max-width: 1216px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.docs-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

@media (min-width: 992px) {
  .docs-grid {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 64px;
    align-items: start;
  }
}

.docs-content {
  text-align: left;
}

.docs-heading {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--link);
  text-align: left;
  margin: 0 0 16px 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.docs-line {
  width: 48px;
  height: 3px;
  background-color: var(--aqua);
  margin: 0 0 20px 0;
  border-radius: 2px;
}

.docs-paragraph {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  text-align: left;
  margin: 0;
}

/* Right Column: Single List Panel */
.docs-panel {
  background-color: var(--sky-tint);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-top: 3px solid var(--aqua);
  border-radius: 12px;
  padding: 12px 32px;
  box-shadow: 0 2px 10px var(--border);
  box-sizing: border-box;
  width: 100%;
}

.docs-list {
  margin: 0;
  padding: 0;
  list-style: none;
  column-count: 1;
}

@media (min-width: 576px) {
  .docs-list {
    column-count: 2;
    column-gap: 48px;
  }
}

.docs-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  border-bottom: 1px solid rgba(56, 189, 248, 0.45);
  cursor: default;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  box-sizing: border-box;
  user-select: none;
}

.docs-item:last-child {
  border-bottom: none;
}

/* Check-mark Marker with CSS only */
.docs-item::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 11px;
  border-right: 2.5px solid var(--border);
  border-bottom: 2.5px solid var(--border);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-top: -2px;
}

@media (max-width: 480px) {
  .docs-panel {
    padding: 10px 18px;
  }

  .docs-item {
    font-size: 15.5px;
    gap: 12px;
    padding: 12px 0;
  }
}

/* ==========================================================================
   About Us Page Styles (Prefix: about-)
   ========================================================================== */

/* Main Container */
.about-page-main {
  width: 100%;
  overflow-x: hidden;
}

/* Section 1: About Banner */
.about-banner-section,
.about-banner {
  position: relative;
  background-image: linear-gradient(rgba(7, 33, 56, 0.68), rgba(7, 33, 56, 0.68)), url('/images/about-bg-new.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 3vw, 32px);
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .about-banner-section,
  .about-banner {
    min-height: auto;
    background-position: center top;
  }
}

.about-banner-container {
  max-width: 1216px;
  margin: 0 auto;
  width: 100%;
}

.about-banner-text-block,
.about-banner-content {
  max-width: 720px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-banner-heading,
.about-banner-title {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  color: #FFFFFF;
  margin: 0;
}

.about-banner-paragraph,
.about-banner-text {
  font-family: var(--font-body, 'Lato', sans-serif);
  font-size: clamp(17px, 1.1vw, 18px);
  line-height: 1.7;
  color: #FFFFFF;
  margin: 0;
}

.about-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  background-color: var(--link);
  color: #FFFFFF !important;
  font-family: var(--font-body, 'Lato', sans-serif);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 4px;
}

.about-banner-btn:hover {
  background-color: var(--link);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

/* Section 2: How It Works */
.about-how-section,
.about-how-it-works {
  background-color: var(--sky-tint);
  padding: clamp(40px, 8vw, 96px) clamp(20px, 3vw, 32px);
  width: 100%;
  box-sizing: border-box;
}

.about-how-container {
  max-width: 1216px;
  margin: 0 auto;
  width: 100%;
}

.about-how-header {
  text-align: center;
  margin-bottom: 48px;
}

.about-how-heading,
.about-how-title {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  color: var(--link);
  margin: 0;
  line-height: 1.2;
}

.about-how-divider,
.about-how-line {
  width: 48px;
  height: 3px;
  background-color: var(--aqua);
  margin: 12px auto 16px auto;
  border-radius: 2px;
}

.about-how-intro {
  font-family: var(--font-body, 'Lato', sans-serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 640px;
  margin: 0 auto;
}

.about-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 991px) and (min-width: 576px) {
  .about-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .about-steps-grid {
    grid-template-columns: 1fr;
  }
}

.about-step-card {
  background-color: #FFFFFF;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-top: 3px solid var(--aqua);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 10px var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .about-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--border);
  }
}

.about-card-image,
.about-card-img {
  max-width: 100%;
  height: auto;
  width: 200px;
  margin: 0 auto 20px auto;
  display: block;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

.about-card-title {
  font-family: var(--font-body, 'Lato', sans-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--link);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.about-card-desc {
  font-family: var(--font-body, 'Lato', sans-serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

/* ==========================================================================
   Section 3: Meet the Team (Prefix: about-)
   ========================================================================== */
.about-team-section {
  background-color: var(--link);
  padding: clamp(40px, 8vw, 96px) clamp(20px, 3vw, 32px);
  width: 100%;
  box-sizing: border-box;
}

.about-team-container {
  max-width: 1216px;
  margin: 0 auto;
  width: 100%;
}

.about-team-header {
  text-align: center;
  margin-bottom: 48px;
}

.about-team-heading {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: #FFFFFF;
  max-width: 800px;
  margin: 0 auto;
}

.about-team-divider {
  width: 48px;
  height: 3px;
  background-color: var(--aqua);
  margin: 14px auto 0 auto;
  border-radius: 2px;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 991px) and (min-width: 576px) {
  .about-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .about-team-grid {
    grid-template-columns: 1fr;
  }
}

.about-team-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.about-team-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(7, 33, 56, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .about-team-card:hover .about-team-photo {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(7, 33, 56, 0.3);
  }
}

.about-team-info {
  text-align: center;
  padding: 16px 8px 0 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: transparent;
  border: none;
}

.about-team-name {
  font-family: var(--font-body, 'Lato', sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.about-team-role {
  font-family: var(--font-body, 'Lato', sans-serif);
  font-size: 15px;
  color: var(--sky-tint);
  margin: 0;
  line-height: 1.4;
}

/* ==========================================================================
   Fixed Floating Action Buttons (Bottom-Right Stack)
   Exact order from TOP to BOTTOM:
   1. Chat (Blue circle with speech bubble icon & "1" badge)
   2. WhatsApp (Green circle with WhatsApp icon)
   3. Call (Green circle with phone icon & yellow "24/7" pill badge)
   4. Scroll to top (Blue circle with up arrow icon)
   ========================================================================== */
.floating-toolbar {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 9998;
  pointer-events: auto;
  margin: 0;
  padding: 0;
}

@media (max-width: 575px) {
  .floating-toolbar {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }
}

.floating-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.floating-item-call {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.floating-btn {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, opacity 0.3s ease, visibility 0.3s ease;
  text-decoration: none;
  position: relative;
  box-sizing: border-box;
  padding: 0;
}

@media (max-width: 575px) {
  .floating-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }
}

.floating-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  color: #ffffff;
}

.floating-btn i {
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 575px) {
  .floating-btn i {
    font-size: 19px;
  }
}

/* 1. Chat */
.btn-ai-chat {
  background-color: var(--link);
}

.btn-ai-chat:hover {
  background-color: var(--link);
}

/* 2. WhatsApp */
.btn-floating-whatsapp {
  background-color: #25d366;
}

.btn-floating-whatsapp:hover {
  background-color: #20bd5a;
}

/* 3. Call */
.btn-call-247 {
  background-color: #22c55e;
}

.btn-call-247:hover {
  background-color: #16a34a;
}

.badge-247-pill {
  background-color: #facc15;
  color: #000000;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 1px 7px;
  border-radius: 9999px;
  border: 1.5px solid #ffffff;
  margin-bottom: -7px;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  line-height: 1.3;
}

/* 4. Scroll to Top */
.back-to-top {
  background-color: var(--link);
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: pointer;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: var(--link);
  color: #ffffff;
}

a.back-to-top:not(.floating-btn) {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  display: none !important;
}





