/**
 * ANREXHUB Corporate Website
 * global.css - CSS Reset, Design Tokens, Global Typography, Layout & Utilities
 * Brand Palette:
 *   Navy:          #102A43
 *   Electric Blue: #1677FF
 *   Green:         #16A765
 *   Gold:          #D4AF37
 *   Orange:        #FF8A26
 *   White:         #FFFFFF
 *   Light BG:      #F5F8FC
 */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (VARIABLES)
   ========================================================================== */
:root {
  /* Brand Colors */
  --color-navy: #102A43;
  --color-navy-dark: #0A1C2E;
  --color-navy-light: #1E3D5F;
  --color-blue: #1677FF;
  --color-blue-hover: #0E5ECC;
  --color-blue-light: #E6F4FF;
  --color-green: #16A765;
  --color-green-hover: #118751;
  --color-green-light: #E8F8F0;
  --color-gold: #D4AF37;
  --color-gold-hover: #B89628;
  --color-gold-light: #FCF7E6;
  --color-orange: #FF8A26;
  --color-orange-hover: #E06F12;
  --color-orange-light: #FFF2E8;
  --color-white: #FFFFFF;
  --color-bg-light: #F5F8FC;
  
  /* Neutral Palette */
  --color-text-primary: #1F2937;
  --color-text-secondary: #4B5563;
  --color-text-muted: #6B7280;
  --color-text-light: #9CA3AF;
  --color-border: #E5E9F0;
  --color-border-dark: #CBD5E1;
  
  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(16, 42, 67, 0.06);
  --shadow-md: 0 4px 20px rgba(16, 42, 67, 0.08);
  --shadow-lg: 0 10px 30px rgba(16, 42, 67, 0.12);
  --shadow-xl: 0 20px 40px rgba(16, 42, 67, 0.18);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-pill: 9999px;
  
  /* Layout */
  --container-max-width: 1200px;
  --container-padding: 20px;
}

@media (max-width: 768px) {
  :root {
    --container-padding: 16px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 14px;
  }
}

/* ==========================================================================
   2. CSS RESET & GLOBAL RESETS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

main {
  flex: 1 0 auto;
}

/* Text Selection */
::selection {
  background-color: var(--color-blue);
  color: var(--color-white);
}

::-moz-selection {
  background-color: var(--color-blue);
  color: var(--color-white);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #EBF1F8;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-blue);
}

/* Images & Media */
img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Links */
a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

a:hover {
  color: var(--color-blue-hover);
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.95rem; }

p {
  margin-bottom: 1rem;
}

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

ul, ol {
  list-style: none;
}

/* ==========================================================================
   3. CONTAINER & SECTION LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container-fluid {
  width: 100%;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Mobile-first: 50px default, 80px on desktop */
.section {
  padding: 50px 0;
  position: relative;
}

.section-sm {
  padding: 35px 0;
}

.section-lg {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 35px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-blue);
  background-color: var(--color-blue-light);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: var(--color-navy);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-top: 0;
}

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

.section-dark .section-title {
  color: var(--color-white);
}

.section-dark .section-subtitle {
  color: #B0C4DE;
}

/* ==========================================================================
   4. BUTTON STYLES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  line-height: 1.4;
  white-space: nowrap;
  user-select: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.5);
  outline-offset: 2px;
}

/* Button Variants */
.btn-primary {
  background-color: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}

.btn-primary:hover {
  background-color: var(--color-blue-hover);
  border-color: var(--color-blue-hover);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(22, 119, 255, 0.35);
}

.btn-secondary {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.btn-secondary:hover {
  background-color: var(--color-navy-dark);
  border-color: var(--color-navy-dark);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(16, 42, 67, 0.35);
}

.btn-orange {
  background-color: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
}

.btn-orange:hover {
  background-color: var(--color-orange-hover);
  border-color: var(--color-orange-hover);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(255, 138, 38, 0.35);
}

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

.btn-green:hover {
  background-color: var(--color-green-hover);
  border-color: var(--color-green-hover);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(22, 167, 101, 0.35);
}

.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}

.btn-gold:hover {
  background-color: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.btn-purple {
  background-color: #7C3AED;
  color: var(--color-white);
  border-color: #7C3AED;
}

.btn-purple:hover {
  background-color: #6D28D9;
  border-color: #6D28D9;
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.btn-outline:hover {
  background-color: var(--color-blue);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(22, 119, 255, 0.3);
}

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

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

/* Button Sizes */
.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 15px 36px;
  font-size: 1.1rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ==========================================================================
   5. CARD STYLES
   ========================================================================== */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.card-body {
  padding: 24px;
  flex: 1 1 auto;
}

.card-header {
  padding: 20px 24px;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.card-footer {
  padding: 16px 24px;
  background-color: #FAFBFD;
  border-top: 1px solid var(--color-border);
}

/* ==========================================================================
   6. RESPONSIVE GRID SYSTEM
   ========================================================================== */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
}

/* ==========================================================================
   7. FORM STYLES
   ========================================================================== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.form-group label .required {
  color: #E53E3E;
  margin-left: 2px;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-primary);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

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

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.15);
}

.form-help {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* Checkbox & Radio */
.checkbox-label,
.radio-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  user-select: none;
}

.checkbox-label input[type="checkbox"],
.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--color-blue);
  cursor: pointer;
  flex-shrink: 0;
}

/* Disabled & Unconfigured Links */
.link-disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.link-not-configured {
  position: relative;
  cursor: pointer;
}

.link-not-configured::after {
  content: '';
  display: inline-block;
}

/* Gradient Utilities */
.bg-gradient-navy {
  background: linear-gradient(135deg, var(--color-navy) 0%, #1A3E63 100%);
}

.bg-gradient-blue {
  background: linear-gradient(135deg, var(--color-blue) 0%, #0050B3 100%);
}

.bg-gradient-blue-navy {
  background: linear-gradient(135deg, #1677FF 0%, #102A43 100%);
}

.bg-gradient-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #AA8518 100%);
}

.bg-gradient-orange {
  background: linear-gradient(135deg, #FF8A26 0%, #DE6504 100%);
}

.gradient-overlay {
  position: relative;
}

.gradient-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(16, 42, 67, 0.75), rgba(16, 42, 67, 0.9));
  z-index: 1;
}

.gradient-overlay > * {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   8. WHATSAPP FLOATING BUTTON (includes/whatsapp.php)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: var(--color-white);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-fast);
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #1EBE5D;
  color: var(--color-white);
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float .whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
  pointer-events: none;
}

.whatsapp-float .whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--color-navy);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Pulse animation on whatsapp button */
.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.8;
  animation: pulse-ring 2s infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* ==========================================================================
   9. POPUP MODAL STYLES
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 28, 46, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 550px;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-base);
  overflow: hidden;
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.modal-close:hover {
  color: var(--color-navy);
  background-color: var(--color-bg-light);
}

.modal-body {
  padding: 24px;
  max-height: calc(85vh - 140px);
  overflow-y: auto;
}

.modal-footer {
  padding: 16px 24px;
  background-color: #FAFBFD;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* ==========================================================================
   10. KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease forwards;
}

.animate-fadeInUp {
  animation: fadeInUp 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.animate-slideInLeft {
  animation: slideInLeft 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.animate-slideInRight {
  animation: slideInRight 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.animate-pulse {
  animation: pulse 2s infinite ease-in-out;
}

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

.text-navy   { color: var(--color-navy) !important; }
.text-blue   { color: var(--color-blue) !important; }
.text-green  { color: var(--color-green) !important; }
.text-gold   { color: var(--color-gold) !important; }
.text-orange { color: var(--color-orange) !important; }
.text-white  { color: var(--color-white) !important; }
.text-muted  { color: var(--color-text-muted) !important; }

.bg-white    { background-color: var(--color-white) !important; }
.bg-light    { background-color: var(--color-bg-light) !important; }
.bg-navy     { background-color: var(--color-navy) !important; }
.bg-blue     { background-color: var(--color-blue) !important; }

.d-block     { display: block; }
.d-inline    { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex      { display: flex; }
.d-none      { display: none; }

.flex-wrap   { flex-wrap: wrap; }
.flex-column { flex-direction: column !important; }
.flex-row    { flex-direction: row !important; }
.align-center, .align-items-center { align-items: center !important; }
.justify-center, .justify-content-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.w-100 { width: 100% !important; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* Status Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-pill);
}

.badge-blue { background: var(--color-blue-light); color: var(--color-blue); }
.badge-green { background: var(--color-green-light); color: var(--color-green); }
.badge-orange { background: var(--color-orange-light); color: var(--color-orange); }
.badge-gold { background: var(--color-gold-light); color: var(--color-gold); }

/* ==========================================================================
   12. RESPONSIVE MEDIA QUERIES (TABLET & DESKTOP)
   ========================================================================== */
/* Tablet Breakpoint (768px and up) */
@media (min-width: 768px) {
  .section {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 2.1rem;
  }
  
  .section-subtitle {
    font-size: 1.05rem;
  }
  
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.6rem; }
}

/* Desktop Breakpoint (992px and up) */
@media (min-width: 992px) {
  .section {
    padding: 80px 0;
  }
  
  .section-lg {
    padding: 100px 0;
  }
  
  .section-title {
    font-size: 2.3rem;
  }
  
  .section-subtitle {
    font-size: 1.15rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
}

/* Small mobile optimizations (< 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.65rem;
  }
  
  .btn {
    padding: 10px 22px;
    font-size: 0.95rem;
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 28px;
  }
}

/* ==========================================================================
   13. LEGAL PAGES STYLING (.legal-page, .legal-hero, .legal-content)
   ========================================================================== */
.legal-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, #163657 100%);
  color: var(--color-white);
  padding: 60px 0 50px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(22, 119, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.legal-hero .container {
  position: relative;
  z-index: 2;
}

.legal-hero-title {
  font-size: 2.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
  line-height: 1.2;
}

.legal-hero-subtitle {
  color: #CBD5E1;
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 16px auto;
}

.legal-last-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
}

.legal-page-section {
  padding: 60px 0 80px 0;
  background-color: var(--color-bg-light);
}

.legal-page-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  padding: 45px 40px;
  max-width: 960px;
  margin: 0 auto;
}

.legal-page-card h2 {
  font-size: 1.55rem;
  font-family: var(--font-heading);
  color: var(--color-navy);
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-blue-light);
}

.legal-page-card h2:first-of-type {
  margin-top: 0;
}

.legal-page-card h3 {
  font-size: 1.2rem;
  color: var(--color-navy-light);
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-page-card p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-page-card ul,
.legal-page-card ol {
  margin: 0 0 20px 24px;
  list-style: disc;
}

.legal-page-card ol {
  list-style: decimal;
}

.legal-page-card li {
  color: var(--color-text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 8px;
}

.legal-page-card strong {
  color: var(--color-navy);
}

.legal-callout {
  background-color: #F8FAFC;
  border-left: 4px solid var(--color-blue);
  padding: 18px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}

.legal-callout p {
  margin-bottom: 0;
  color: var(--color-navy);
  font-weight: 500;
}

.legal-callout.warning {
  border-left-color: var(--color-orange);
  background-color: #FFF7ED;
}

.legal-callout.warning p {
  color: #9A3412;
}

@media (max-width: 768px) {
  .legal-page-card {
    padding: 28px 20px;
  }
  
  .legal-hero-title {
    font-size: 1.9rem;
  }
}

/* ==========================================================================
   14. GLOBAL REUSABLE HERO SLIDER (.hero-slider)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  background-color: var(--color-navy);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 54vh;
  min-height: 420px;
  max-height: 520px;
  overflow: hidden;
  background-color: var(--color-navy);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out, transform 0.8s ease;
  transform: scale(1.04);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 42, 67, 0.88) 0%, rgba(16, 42, 67, 0.72) 50%, rgba(10, 28, 46, 0.92) 100%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--color-white);
  max-width: 860px;
  width: 90%;
  padding: 20px;
  z-index: 3;
}

.hero-badge {
  display: inline-block;
  background: rgba(22, 119, 255, 0.25);
  border: 1px solid rgba(22, 119, 255, 0.6);
  color: #85B8FF;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-title .text-highlight {
  color: #529BFF;
}

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

.hero-text {
  font-size: 1.05rem;
  color: #E2E8F0;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

/* Slider Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  backdrop-filter: blur(4px);
}

.slider-arrow:hover {
  background: rgba(22, 119, 255, 0.85);
  border-color: var(--color-blue);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}

/* Slider Dots Indicator */
.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

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

.slider-dot.active {
  background-color: var(--color-white);
  width: 32px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .hero-slider {
    height: 52vh;
    min-height: 400px;
    max-height: none;
  }
  .hero-title {
    font-size: 1.7rem;
  }
  .hero-text {
    font-size: 0.95rem;
  }
  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
  .slider-arrow.prev {
    left: 10px;
  }
  .slider-arrow.next {
    right: 10px;
  }
}

/* ==========================================================================
   15. GLOBAL SHARED INNER PAGE COMPONENTS (.breadcrumb-nav, .about-banner, .about-cta)
   ========================================================================== */
.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.breadcrumb-nav a {
  color: #93C5FD;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.breadcrumb-nav a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.breadcrumb-nav span {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-nav .current {
  color: var(--color-white);
  font-weight: 600;
}

/* Full-Width Inner Banner Component */
.about-banner {
  position: relative;
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

.about-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.22;
}

.about-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 42, 67, 0.9), rgba(22, 119, 255, 0.78));
  z-index: 1;
}

.about-banner-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.about-banner-title {
  color: var(--color-white);
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 16px;
  line-height: 1.25;
}

.about-banner-text {
  color: #E2E8F0;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 26px;
}

/* Inner Page CTA Card */
.about-cta {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-navy) 100%);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 50px 30px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  margin: 40px auto 0 auto;
  max-width: 1000px;
}

.about-cta-title {
  color: var(--color-white);
  font-size: 1.85rem;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 14px;
}

.about-cta-text {
  color: #DBEAFE;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.about-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

@media (min-width: 768px) {
  .about-banner-title {
    font-size: 2.5rem;
  }
  .about-cta {
    padding: 60px 50px;
  }
  .about-cta-title {
    font-size: 2.3rem;
  }
}

@media (min-width: 992px) {
  .about-banner {
    padding: 100px 20px;
  }
}

/* ==========================================================================
   16. REUSABLE FAQ ACCORDION COMPONENT
   ========================================================================== */
.faq-section {
  padding: 80px 0;
  background-color: var(--color-bg-light);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-border-dark);
}

.faq-item.active {
  border-color: var(--color-blue);
  box-shadow: 0 4px 14px rgba(22, 119, 255, 0.12);
}

.faq-header-wrap {
  margin: 0;
  padding: 0;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-navy);
  user-select: none;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-blue);
  background-color: rgba(22, 119, 255, 0.02);
}

.faq-question:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: -2px;
}

.faq-question-text {
  flex: 1;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-bg-light);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform var(--transition-base), background-color var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--color-blue);
  color: var(--color-white);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: var(--color-text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding-bottom: 22px;
}

.faq-answer-inner p {
  margin: 0;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-blue);
  background-color: var(--color-blue-light);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

/* ==========================================================================
   17. PARTNER WHATSAPP CTA BOX
   ========================================================================== */
.partner-whatsapp-box {
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  border: 2px dashed #16A765;
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(22, 167, 101, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.partner-whatsapp-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
  margin: 0 auto 4px auto;
}

.partner-whatsapp-title {
  font-size: 1.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #102A43;
  margin: 0;
  line-height: 1.3;
}

.partner-whatsapp-desc {
  color: #374151;
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto 6px auto;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 50px 0;
  }
  .faq-question {
    padding: 16px 18px;
    font-size: 0.98rem;
    gap: 12px;
  }
  .faq-icon {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  .faq-answer {
    padding: 0 18px;
    font-size: 0.92rem;
  }
  .faq-item.active .faq-answer {
    padding-bottom: 18px;
  }
  .partner-whatsapp-box {
    padding: 32px 20px;
  }
  .partner-whatsapp-title {
    font-size: 1.35rem;
  }
  .partner-whatsapp-desc {
    font-size: 0.95rem;
  }
}

