/*
Theme Name: AZN Global
Description: Custom child theme for AZN Global — Refero/ExpressVPN design system with Flatsome
Author: AZN Global
Template: flatsome
Version: 1.0
*/

/* ============================================
   AZN GLOBAL DESIGN SYSTEM
   Based on Refero/ExpressVPN style
   ============================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Brand Colors */
  --azn-forest-teal: #1a5fb4;
  --azn-dark-teal: #15438c;
  --azn-deep-ocean: #0d2b5c;
  --azn-midnight: #001d2f;

  /* Neutrals */
  --azn-white: #ffffff;
  --azn-ghost-gray: #f7f8f9;
  --azn-cool-stone: #ccd2d5;
  --azn-slate-blue: #667782;

  /* Accents */
  --azn-warm-beige: #f0eacf;
  --azn-soft-peach: #ffe4d4;
  --azn-sky-mist: #b7c8e0;
  --azn-light-mint: #c3daf0;

  /* Gradients */
  --azn-gradient-ocean: linear-gradient(261deg, #0d2b5c 21.96%, #001827 82.57%);
  --azn-gradient-teal: linear-gradient(135deg, #1a5fb4 0%, #15438c 100%);
  --azn-gradient-hero: linear-gradient(135deg, #001d2f 0%, #0d2b5c 50%, #1a5fb4 100%);

  /* Typography */
  --azn-font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --azn-font-heading: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Type Scale */
  --azn-text-caption: 10px;
  --azn-text-body: 14px;
  --azn-text-body-lg: 16px;
  --azn-text-subheading: 18px;
  --azn-text-heading: 24px;
  --azn-text-heading-lg: 32px;
  --azn-text-display: 64px;

  /* Spacing */
  --azn-spacing-unit: 4px;
  --azn-section-gap: 80px;
  --azn-card-padding: 32px;
  --azn-element-gap: 24px;

  /* Border Radius */
  --azn-radius-sm: 4px;
  --azn-radius-md: 10px;
  --azn-radius-lg: 20px;
  --azn-radius-xl: 24px;
  --azn-radius-pill: 34px;
  --azn-radius-full: 9999px;

  /* Shadows */
  --azn-shadow-xl: rgba(0, 0, 0, 0.12) 0px 0px 32px 0px;
  --azn-shadow-md: rgba(0, 0, 0, 0.1) 0px 0px 15px 0px;
  --azn-shadow-sm: rgba(0, 0, 0, 0.12) 0px 4px 16px 0px;

  /* Surfaces */
  --azn-surface-page: #f7f8f9;
  --azn-surface-card: #ffffff;
  --azn-surface-accent: #1a5fb4;
}

/* ============================================
   GLOBAL OVERRIDES
   ============================================ */

/* Page Background */
body,
.page-wrapper,
#wrapper,
.main-content-wrapper {
  background-color: var(--azn-surface-page) !important;
}

/* Typography Base */
body,
p,
li,
td,
th,
label,
input,
textarea,
select,
.button,
.wp-element-button {
  font-family: var(--azn-font-body) !important;
  color: var(--azn-midnight);
}

h1, h2, h3, h4, h5, h6,
.heading-font,
.header-nav .nav > li > a,
.nav-dark .nav > li > a {
  font-family: var(--azn-font-heading) !important;
  color: var(--azn-midnight) !important;
  font-weight: 700 !important;
  letter-spacing: -0.016em;
}

/* --- Headings Scale --- */
h1, .h1 {
  font-size: var(--azn-text-display) !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
  letter-spacing: -0.016em !important;
}

h2, .h2 {
  font-size: var(--azn-text-heading-lg) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: -0.016em !important;
}

h3, .h3 {
  font-size: var(--azn-text-heading) !important;
  line-height: 1.33 !important;
  font-weight: 700 !important;
}

h4, .h4 {
  font-size: 20px !important;
  line-height: 1.5 !important;
  font-weight: 700 !important;
}

h5, .h5 {
  font-size: var(--azn-text-subheading) !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
}

@media (max-width: 849px) {
  h1, .h1 { font-size: 36px !important; }
  h2, .h2 { font-size: 28px !important; }
  h3, .h3 { font-size: 22px !important; }
}

/* ============================================
   PRIMARY BUTTONS (Pill Shape, Deep Azure)
   ============================================ */
.button,
button,
.wp-element-button,
input[type='submit'],
.fl-builder-button,
.ux-button .button {
  background-color: var(--azn-forest-teal) !important;
  color: var(--azn-white) !important;
  border-radius: var(--azn-radius-pill) !important;
  font-family: var(--azn-font-body) !important;
  font-weight: 600 !important;
  transition: all 0.25s ease !important;
  letter-spacing: 0 !important;
}

.button:hover,
button:hover,
.wp-element-button:hover,
input[type='submit']:hover {
  background-color: var(--azn-dark-teal) !important;
  color: var(--azn-white) !important;
  transform: translateY(-1px);
  box-shadow: var(--azn-shadow-md);
}

/* Ghost/Outline Button */
.button.ghost,
.button.outline,
.ux-button .button.ghost {
  background: transparent !important;
  color: var(--azn-midnight) !important;
  border: 1px solid var(--azn-midnight) !important;
  border-radius: var(--azn-radius-pill) !important;
}

.button.ghost:hover,
.button.outline:hover {
  background: var(--azn-ghost-gray) !important;
  color: var(--azn-midnight) !important;
  border-color: var(--azn-midnight) !important;
}

/* Secondary Teal Button */
.button.secondary {
  background: var(--azn-light-mint) !important;
  color: var(--azn-dark-teal) !important;
  border: none !important;
}

.button.secondary:hover {
  background: var(--azn-forest-teal) !important;
  color: var(--azn-white) !important;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header-wrapper,
#masthead,
.site-header {
  background: var(--azn-white) !important;
  box-shadow: 0 1px 0 var(--azn-cool-stone) !important;
}

.header-nav .nav > li > a,
.nav-dark .nav > li > a,
.header-nav .nav > li > .nav-top-link {
  color: var(--azn-midnight) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
  border-radius: var(--azn-radius-sm) !important;
}

.header-nav .nav > li > a:hover,
.nav-dark .nav > li > a:hover {
  color: var(--azn-forest-teal) !important;
  background: var(--azn-ghost-gray) !important;
}

.header-nav .nav > li.active > a,
.header-nav .nav > li.current-menu-item > a {
  color: var(--azn-forest-teal) !important;
}

/* Mobile Menu */
.nav-mobile .nav > li > a {
  color: var(--azn-midnight) !important;
  font-weight: 500 !important;
}

/* CTA Button in Nav */
.header-cta .button,
.nav-top-link .button {
  background-color: var(--azn-forest-teal) !important;
  color: var(--azn-white) !important;
  border-radius: var(--azn-radius-pill) !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.azn-hero {
  background: var(--azn-gradient-hero) !important;
  color: var(--azn-white) !important;
  padding: 100px 0 80px !important;
  position: relative;
  overflow: hidden;
}

.azn-hero h1,
.azn-hero h2,
.azn-hero h3 {
  color: var(--azn-white) !important;
}

.azn-hero p,
.azn-hero .lead {
  color: rgba(255,255,255,0.85) !important;
  font-size: var(--azn-text-body-lg) !important;
  line-height: 1.75 !important;
}

.azn-hero .button {
  background: var(--azn-forest-teal) !important;
  color: var(--azn-white) !important;
  border-radius: var(--azn-radius-pill) !important;
  padding: 16px 36px !important;
  font-size: var(--azn-text-body-lg) !important;
  font-weight: 600 !important;
}

.azn-hero .button.ghost {
  background: transparent !important;
  color: var(--azn-white) !important;
  border: 1px solid rgba(255,255,255,0.4) !important;
  border-radius: var(--azn-radius-pill) !important;
}

.azn-hero .button.ghost:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: var(--azn-white) !important;
}

/* ============================================
   CARDS
   ============================================ */

/* Elevated Feature Card */
.azn-card,
.col .col-inner.has-box-shadow,
[data-section-type="card"] {
  background: var(--azn-surface-card) !important;
  border-radius: var(--azn-radius-xl) !important;
  box-shadow: var(--azn-shadow-xl) !important;
  padding: var(--azn-card-padding) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.azn-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: rgba(0,0,0,0.15) 0px 8px 40px 0px !important;
}

/* Subtle Card */
.azn-card-subtle {
  background: var(--azn-ghost-gray) !important;
  border-radius: var(--azn-radius-xl) !important;
  padding: var(--azn-card-padding) !important;
  border: none !important;
}

/* Accent Card (Teal) */
.azn-card-accent {
  background: var(--azn-forest-teal) !important;
  border-radius: var(--azn-radius-lg) !important;
  box-shadow: var(--azn-shadow-md) !important;
  padding: 30px !important;
  color: var(--azn-white) !important;
}

.azn-card-accent h3,
.azn-card-accent h4,
.azn-card-accent h5 {
  color: var(--azn-white) !important;
}

.azn-card-accent p {
  color: rgba(255,255,255,0.9) !important;
}

/* ============================================
   STATS COUNTER
   ============================================ */
.azn-stat {
  text-align: center;
  padding: 24px;
}

.azn-stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--azn-forest-teal);
  line-height: 1;
  letter-spacing: -0.016em;
}

.azn-stat-label {
  font-size: var(--azn-text-body);
  color: var(--azn-slate-blue);
  margin-top: 8px;
  font-weight: 500;
}

.azn-stat-suffix {
  font-size: 48px;
  font-weight: 700;
  color: var(--azn-forest-teal);
}

/* ============================================
   SECTION BANDING (Alternating)
   ============================================ */
.azn-section-light {
  background: var(--azn-surface-page) !important;
}

.azn-section-white {
  background: var(--azn-surface-card) !important;
}

.azn-section-dark {
  background: var(--azn-midnight) !important;
  color: var(--azn-white);
}

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

.azn-section-dark p {
  color: rgba(255,255,255,0.8) !important;
}

.azn-section-teal {
  background: var(--azn-gradient-teal) !important;
  color: var(--azn-white);
}

.azn-section-teal h2,
.azn-section-teal h3 {
  color: var(--azn-white) !important;
}

.azn-section-teal p {
  color: rgba(255,255,255,0.85) !important;
}

/* ============================================
   BADGES & TAGS
   ============================================ */
.azn-badge,
.badge,
.label {
  border-radius: var(--azn-radius-full) !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  padding: 6px 16px !important;
  letter-spacing: 0.02em;
}

.azn-badge-teal {
  background: var(--azn-light-mint) !important;
  color: var(--azn-dark-teal) !important;
}

.azn-badge-dark {
  background: var(--azn-midnight) !important;
  color: var(--azn-white) !important;
}

.azn-badge-outline {
  background: transparent !important;
  color: var(--azn-forest-teal) !important;
  border: 1px solid var(--azn-forest-teal) !important;
}

/* ============================================
   DIVIDER
   ============================================ */
.azn-divider {
  height: 3px;
  background: var(--azn-gradient-teal);
  border-radius: 2px;
  margin: 20px auto;
  max-width: 60px;
}

/* ============================================
   PARTNER LOGOS
   ============================================ */
.azn-partner-logo {
  filter: grayscale(100%); opacity: 0.5;
  transition: all 0.3s ease;
  padding: 12px 20px;
}

.azn-partner-logo:hover {
  filter: grayscale(0%); opacity: 1;
}

/* ============================================
   FORMS
   ============================================ */
input[type='text'],
input[type='email'],
input[type='tel'],
input[type='url'],
textarea,
select,
.wpcf7-form-control {
  border: 1px solid var(--azn-cool-stone) !important;
  border-radius: var(--azn-radius-pill) !important;
  padding: 12px 16px !important;
  font-family: var(--azn-font-body) !important;
  font-size: var(--azn-text-body) !important;
  color: var(--azn-midnight) !important;
  background: var(--azn-white) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--azn-forest-teal) !important;
  box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.15) !important;
  outline: none !important;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-wrapper,
#footer {
  background: var(--azn-midnight) !important;
  color: rgba(255,255,255,0.7) !important;
}

.footer-wrapper h4,
.footer-wrapper h5,
.footer-wrapper h6 {
  color: var(--azn-white) !important;
  font-weight: 600 !important;
}

.footer-wrapper a,
.footer-wrapper .widget a {
  color: rgba(255,255,255,0.7) !important;
  transition: color 0.2s ease;
}

.footer-wrapper a:hover {
  color: var(--azn-light-mint) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  background: rgba(0,0,0,0.2) !important;
}

/* ============================================
   FLATSOME-SPECIFIC OVERRIDES
   ============================================ */

/* Remove Flatsome's aggressive shadows */
.box, .box-text, .col-inner {
  box-shadow: none !important;
}

/* Flatsome Row with background */
.row.has-bg {
  border-radius: 0 !important;
}

/* UX Builder Banner */
.banner {
  border-radius: var(--azn-radius-xl) !important;
  overflow: hidden;
}

/* Flatsome Slider */
.slider .slide {
  border-radius: var(--azn-radius-xl) !important;
}

/* Icon Box */
.icon-box .icon-box-img img {
  border-radius: var(--azn-radius-lg) !important;
}

.icon-box-center .icon-box-title {
  color: var(--azn-midnight) !important;
}

/* Tab style */
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover {
  color: var(--azn-forest-teal) !important;
  border-bottom-color: var(--azn-forest-teal) !important;
}

/* Accordion */
.accordion .accordion-title {
  color: var(--azn-midnight) !important;
  font-weight: 600 !important;
  border-radius: var(--azn-radius-pill) !important;
}

.accordion .accordion-title.active {
  color: var(--azn-forest-teal) !important;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.azn-text-teal { color: var(--azn-forest-teal) !important; }
.azn-text-muted { color: var(--azn-slate-blue) !important; }
.azn-text-dark { color: var(--azn-midnight) !important; }
.azn-bg-teal { background-color: var(--azn-forest-teal) !important; }
.azn-bg-page { background-color: var(--azn-surface-page) !important; }
.azn-bg-white { background-color: var(--azn-surface-card) !important; }
.azn-border-teal { border-color: var(--azn-forest-teal) !important; }

/* Section Number (like BTS) */
.azn-section-number {
  font-size: 120px;
  font-weight: 800;
  color: rgba(26, 95, 180, 0.08);
  line-height: 1;
  position: absolute;
  top: -20px;
  left: 0;
}

/* Animated underline for links */
.azn-link-underline {
  position: relative;
  text-decoration: none;
  color: var(--azn-forest-teal);
  font-weight: 500;
}

.azn-link-underline::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: var(--azn-forest-teal);
  transition: width 0.3s ease;
}

.azn-link-underline:hover::after {
  width: 100%;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 849px) {
  .azn-hero {
    padding: 60px 0 40px !important;
  }
  
  .azn-stat-number,
  .azn-stat-suffix {
    font-size: 36px;
  }
  
  .azn-card {
    padding: 24px !important;
  }
  
  .azn-section-number {
    font-size: 80px;
  }
}

@media (max-width: 549px) {
  .azn-hero {
    padding: 40px 0 30px !important;
  }
  
  h1, .h1 {
    font-size: 28px !important;
  }
  
  .azn-stat-number,
  .azn-stat-suffix {
    font-size: 30px;
  }
}
/* ============================================
   AZN GLOBAL - COMPONENT STYLES
   Additional CSS for Home page components
   ============================================ */

/* --- Hero Section --- */
.azn-hero {
  background: linear-gradient(135deg, #001d2f 0%, #0d2b5c 50%, #0a4f3f 100%) !important;
  color: #ffffff;
  padding: 60px 0 40px !important;
  position: relative;
  overflow: hidden;
}

.azn-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(15,134,108,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.azn-hero-kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c3daf0;
  margin-bottom: 16px;
}

.azn-hero h1 {
  color: #ffffff !important;
  font-size: 56px !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
  letter-spacing: -0.016em !important;
  margin-bottom: 24px !important;
}

.azn-hero-lead {
  color: rgba(255,255,255,0.85) !important;
  font-size: 18px !important;
  line-height: 1.75 !important;
  margin-bottom: 32px !important;
  max-width: 520px;
}

.azn-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.azn-hero-btn {
  background: #1a5fb4 !important;
  color: #ffffff !important;
  border-radius: 34px !important;
  padding: 14px 32px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  border: none !important;
  transition: all 0.25s ease !important;
}

.azn-hero-btn:hover {
  background: #15438c !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: rgba(0,0,0,0.1) 0px 0px 15px 0px;
}

.azn-hero-btn.ghost {
  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.4) !important;
  border-radius: 34px !important;
}

.azn-hero-btn.ghost:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.7) !important;
}

.azn-hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.azn-hero-badges .azn-badge {
  font-size: 11px;
  padding: 5px 14px;
}

/* --- Hero Visual / Stats --- */
.azn-hero-visual {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(10px);
}

.azn-hero-stat-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.azn-hero-stat {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.azn-hero-stat-number {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.016em;
}

.azn-hero-stat-suffix {
  font-size: 24px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.azn-hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
  font-weight: 500;
}

.azn-hero-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.azn-hero-feature {
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px 18px;
  border-left: 3px solid #1a5fb4;
}

.azn-hero-feature strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.azn-hero-feature span {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

/* --- Home Section Headings --- */
.azn-home-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.azn-home-lead {
  color: #667782;
  font-size: 17px;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Segment Cards --- */
.azn-segment-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: rgba(0,0,0,0.06) 0px 4px 24px 0px;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.04);
}

.azn-segment-card:hover {
  transform: translateY(-6px);
  box-shadow: rgba(0,0,0,0.1) 0px 12px 40px 0px;
}

.azn-segment-number {
  font-size: 80px;
  font-weight: 800;
  color: rgba(15,134,108,0.08);
  line-height: 1;
  position: absolute;
  top: 20px;
  right: 24px;
}

.azn-segment-card h3 {
  color: #001d2f !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
}

.azn-segment-card p {
  color: #667782;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* --- Advantages Grid (Dark Section) --- */
.azn-advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.azn-advantage-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s ease;
}

.azn-advantage-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(15,134,108,0.3);
}

.azn-advantage-icon {
  font-size: 28px;
  font-weight: 700;
  color: #1a5fb4;
  margin-bottom: 12px;
}

.azn-advantage-item h4 {
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}

.azn-advantage-item p {
  color: rgba(255,255,255,0.75) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* --- Partners Grid --- */
.azn-partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.azn-partner-logo {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 60px;
  transition: all 0.3s ease;
  filter: grayscale(100%); opacity: 0.5;
}

.azn-partner-logo:hover {
  filter: grayscale(0%); opacity: 1;
  transform: translateY(-2px);
  box-shadow: rgba(0,0,0,0.06) 0px 4px 16px 0px;
}

.azn-partner-logo img {
  max-height: 40px;
  width: auto;
}

/* --- CTA Card --- */
.azn-cta-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: rgba(0,0,0,0.12) 0px 0px 32px 0px;
}

.azn-cta-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.azn-cta-item strong {
  display: block;
  font-size: 13px;
  color: #001d2f;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.azn-cta-item a {
  font-size: 16px;
  color: #1a5fb4;
  font-weight: 500;
  text-decoration: none;
}

.azn-cta-item a:hover {
  text-decoration: underline;
}

/* --- Card hover fix for service cards --- */
.azn-card {
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow: rgba(0,0,0,0.06) 0px 2px 20px 0px !important;
  padding: 36px 28px !important;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(0,0,0,0.04) !important;
}

.azn-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: rgba(0,0,0,0.1) 0px 12px 40px 0px !important;
}

.azn-card h4 {
  color: #001d2f !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
}

.azn-card p {
  color: #667782;
  font-size: 15px;
  line-height: 1.6;
}

/* --- Section Dark Lead --- */
.azn-section-dark-lead {
  color: rgba(255,255,255,0.8) !important;
  font-size: 17px !important;
  line-height: 1.7 !important;
  margin-bottom: 24px !important;
}

/* --- Responsive --- */
@media (max-width: 849px) {
  .azn-hero h1 {
    font-size: 36px !important;
  }
  
  .azn-hero-visual {
    padding: 20px;
  }
  
  .azn-hero-stat-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .azn-hero-stat-number {
    font-size: 32px;
  }
  
  .azn-advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .azn-segment-number {
    font-size: 60px;
  }
  
  .azn-hero-actions {
    flex-direction: column;
  }
}

@media (max-width: 549px) {
  .azn-hero {
    padding: 40px 0 30px !important;
  }
  
  .azn-hero h1 {
    font-size: 28px !important;
  }
  
  .azn-partners-grid {
    gap: 8px;
  }
  
  .azn-partner-logo {
    padding: 10px 14px;
    min-width: 90px;
    min-height: 45px;
  }
}

/* Blue-specific overrides */
.azn-section-blue {
  background: #1a5fb4 !important;
  color: #ffffff;
}
.azn-section-blue h2,
.azn-section-blue h3 {
  color: #ffffff !important;
}
.azn-section-blue p {
  color: rgba(255,255,255,0.85) !important;
}
.azn-badge-blue {
  background: #c3daf0 !important;
  color: #15438c !important;
}
.azn-segment-card {
  border-left: 3px solid #1a5fb4;
}
.azn-hero-feature {
  border-left-color: #1a5fb4;
}
.azn-advantage-icon {
  color: #1a5fb4;
}
.azn-advantage-item:hover {
  border-color: rgba(26,95,180,0.3);
}
.azn-link-underline::after {
  background: #1a5fb4;
}
.azn-link-underline {
  color: #1a5fb4;
}
.azn-section-number {
  color: rgba(26,95,180,0.08);
}

/* ============================================
   HOMOGENIZATION FIXES
   ============================================ */

/* Fix badges - auto width, inline display */
.azn-badge,
.azn-badge-blue,
.azn-badge-teal,
.azn-badge-dark,
.azn-badge-outline {
  display: inline-block !important;
  width: auto !important;
  max-width: none !important;
}

/* Fix hero badges row */
.azn-hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.azn-hero-badges .azn-badge {
  display: inline-block !important;
  width: auto !important;
}

/* Fix all buttons to be pill/round by default */
.button,
button,
.wp-element-button,
input[type=submit],
.fl-button,
.ux-button .button {
  border-radius: 34px !important;
}

/* Ghost buttons in hero should also be pill */
.azn-hero-btn.ghost,
.button.ghost,
.button.outline,
.button.style-outline {
  border-radius: 34px !important;
  border-width: 2px !important;
}

/* Fix Flatsome outline style buttons */
.button.style-outline {
  border-radius: 34px !important;
}

/* Fix service cards Learn More buttons (were radius=10, now pill) */
.azn-card .button,
.azn-card .button.style-outline {
  border-radius: 34px !important;
  padding: 10px 24px !important;
  font-size: 14px !important;
}

/* Fix contact page - white card on white bg needs shadow */
.azn-section-white .azn-cta-card {
  box-shadow: rgba(0,0,0,0.08) 0px 4px 24px 0px !important;
  border: 1px solid #e4e8eb !important;
}

/* Fix section-dark missing bg in Flatsome context */
.azn-section-dark {
  background-color: #001d2f !important;
  color: #ffffff;
}

.azn-section-dark p,
.azn-section-dark span {
  color: rgba(255,255,255,0.8);
}

/* Fix section-dark office address cards need bg */
.azn-section-dark [class*=ux-html],
.azn-section-dark div[style*=border-radius] {
  background: rgba(255,255,255,0.06) !important;
}

/* Fix hero kicker - auto width */
.azn-hero-kicker {
  display: inline-block;
  width: auto !important;
}

/* Fix badge in headings - auto width and centered */
.azn-home-head .azn-badge,
.azn-home-head .azn-badge-blue {
  display: inline-block !important;
  width: auto !important;
  margin-bottom: 12px !important;
}

/* Remove Flatsome's aggressive section padding on some inner pages */
.zl-hero-icon {
  display: none !important;
}

/* Remove old ZL class references */
.zl-home-section,
.zl-home-surface-mist,
.zl-home-surface-plain,
.zl-home-surface-dark,
.zl-home-surface-soft {
  background: transparent !important;
}

/* Fix Flatsome's button style=outline radius */
[class*=button][class*=style-outline],
[class*=button][style*=outline] {
  border-radius: 34px !important;
}

/* CTA card emoji replacement - make icon container styled */
.azn-cta-card div[style*=width:56px] {
  background: #c3daf0 !important;
  border-radius: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* === DARK SECTION TEXT FIX === */
/* Force white text in ALL Flatsome dark sections */
.section.dark,
section.dark,
[class*="section"][class*="dark"] {
  color: #ffffff !important;
}
.section.dark h1,
.section.dark h2,
.section.dark h3,
.section.dark h4,
.section.dark h5,
.section.dark h6,
section.dark h1,
section.dark h2,
section.dark h3,
section.dark h4,
section.dark h5,
section.dark h6 {
  color: #ffffff !important;
}
.section.dark p,
.section.dark li,
.section.dark td,
.section.dark th,
.section.dark span,
.section.dark a:not(.button),
.section.dark strong,
.section.dark em,
section.dark p,
section.dark li,
section.dark td,
section.dark th,
section.dark span,
section.dark a:not(.button),
section.dark strong,
section.dark em {
  color: rgba(255,255,255,0.85) !important;
}
.section.dark a:not(.button):hover,
section.dark a:not(.button):hover {
  color: #ffffff !important;
}
.section.dark .button.primary,
section.dark .button.primary {
  color: #ffffff !important;
}
.section.dark ul,
.section.dark ol,
section.dark ul,
section.dark ol {
  color: rgba(255,255,255,0.85) !important;
}
/* Fix dark section labels / small text */
.section.dark label,
.section.dark small,
.section.dark .label,
section.dark label,
section.dark small,
section.dark .label {
  color: rgba(255,255,255,0.65) !important;
}
/* Ensure key facts sidebar in dark sections is readable */
.section.dark .col-inner h2,
section.dark .col-inner h2 {
  color: #ffffff !important;
}
.section.dark .col-inner ul li,
section.dark .col-inner p,
section.dark .col-inner a:not(.button),
section.dark .col-inner strong,
section.dark .col-inner span,
section.dark .col-inner em {
  color: rgba(255,255,255,0.85) !important;
}

/* === MARQUEE LOGO SCROLL === */
.azn-logo-marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 20px 0;
}
.azn-logo-marquee-track {
  display: inline-flex;
  animation: azn-marquee 30s linear infinite;
}
.azn-logo-marquee-track:hover {
  animation-play-state: paused;
}
.azn-logo-marquee img {
  height: 40px;
  width: auto;
  margin: 0 32px;
  filter: grayscale(100%); opacity: 0.5;
  transition: filter 0.3s;
  vertical-align: middle;
}
.azn-logo-marquee img:hover {
  filter: grayscale(0%); opacity: 1;
}
@keyframes azn-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === AZN ICON CARD (3-per-row, compact) === */
.azn-icon-card {
  text-align: center;
  padding: 32px 24px;
}
.azn-icon-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}
.azn-icon-card h3 {
  color: #001d2f;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px 0;
}
.azn-icon-card p {
  color: #5a6d7a;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* === NUMBERED STEPS (01/02/03) === */
.azn-steps {
  max-width: 600px;
  margin: 0 auto;
}
.azn-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0,29,47,0.08);
}
.azn-step:last-child {
  border-bottom: none;
}
.azn-step-number {
  font-size: 32px;
  font-weight: 800;
  color: #1a5fb4;
  line-height: 1;
  min-width: 48px;
}
.azn-step-content h4 {
  color: #001d2f;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px 0;
}
.azn-step-content p {
  color: #5a6d7a;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* === DARK SECTION VARIANTS === */
.section.dark .azn-step {
  border-bottom-color: rgba(255,255,255,0.1);
}
.section.dark .azn-step-number {
  color: rgba(255,255,255,0.3);
}
.section.dark .azn-step-content h4 {
  color: #ffffff;
}
.section.dark .azn-step-content p {
  color: rgba(255,255,255,0.7);
}
.section.dark .azn-icon-card h3 {
  color: #ffffff;
}
.section.dark .azn-icon-card p {
  color: rgba(255,255,255,0.7);
}

/* === TESTIMONIAL CARDS === */
.azn-testimonial {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e4e8eb;
}
.azn-testimonial blockquote {
  font-size: 16px;
  line-height: 1.6;
  color: #001d2f;
  margin: 0 0 20px 0;
  font-style: italic;
}
.azn-testimonial cite {
  font-style: normal;
  font-size: 14px;
  color: #5a6d7a;
}
.azn-testimonial cite strong {
  color: #001d2f;
  display: block;
  margin-bottom: 2px;
}

/* === TAB EXPLORER (Services page) === */
.azn-tab-nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.azn-tab-btn {
  padding: 12px 28px;
  border-radius: 34px;
  border: 2px solid #e4e8eb;
  background: transparent;
  color: #5a6d7a;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}
.azn-tab-btn:hover,
.azn-tab-btn.active {
  border-color: #1a5fb4;
  background: #1a5fb4;
  color: #ffffff;
}
.azn-tab-panel {
  display: none;
}
.azn-tab-panel.active {
  display: block;
}

/* === SERVICE PRODUCT CARD (compact) === */
.azn-product-card {
  background: #ffffff;
  border: 1px solid #e4e8eb;
  border-radius: 16px;
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.azn-product-card:hover {
  box-shadow: 0 8px 24px rgba(0,29,47,0.08);
  transform: translateY(-2px);
}
.azn-product-card img {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}
.azn-product-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #001d2f;
  margin: 0 0 8px 0;
}
.azn-product-card p {
  font-size: 14px;
  color: #5a6d7a;
  line-height: 1.5;
  margin: 0 0 16px 0;
}
.azn-product-card a {
  color: #1a5fb4;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.azn-product-card a:hover {
  text-decoration: underline;
}

/* === FIX: CTA button hover on dark bg (shade style) === */
.section.dark .button.style-shade:hover,
.azn-section-blue .button.style-shade:hover,
[section*="bg_color=\"#1a5fb4\""] .button.style-shade:hover {
  background: rgba(255,255,255,0.2) !important;
  color: #ffffff !important;
}
.button.style-shade:hover {
  opacity: 0.9;
}

/* === FIX: outline button on dark bg hover === */
.section.dark .button.style-outline:hover,
[section*="dark"] .button.color-white:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}


/* === FIX: outline/white button hover — no white-on-white === */
.button.is-outline:hover,
.button.style-outline:hover,
.button.outline:hover,
.button.white.is-outline:hover,
.button.white.style-outline:hover,
.button.color-white.is-outline:hover,
.button.color-white.style-outline:hover {
  background: rgba(26,95,180,0.08) !important;
  color: #1a5fb4 !important;
  border-color: #1a5fb4 !important;
}

.section.dark .button.is-outline:hover,
.section.dark .button.style-outline:hover,
.section.dark .button.white.is-outline:hover,
.section.dark .button.white.style-outline:hover,
.section.dark .button.color-white.is-outline:hover,
.section.dark .button.color-white.style-outline:hover,
.azn-section-blue .button.is-outline:hover,
.azn-section-blue .button.style-outline:hover,
.azn-section-blue .button.white.is-outline:hover,
.azn-section-blue .button.color-white.is-outline:hover {
  background: rgba(255,255,255,0.12) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

/* Header nav button — proper hover */
.header-button .button:hover,
.header-cta .button:hover,
.nav-top-link .button:hover {
  background-color: #15438c !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,95,180,0.3);
}
