/*
Theme Name: Xbabble
Theme URI: https://xbabble.com
Author: AVLinkPro
Author URI: https://avlinkpro.com
Description: Official Xbabble communication platform theme. A revolutionary communication platform bridging facilities, campuses, and fleets with comprehensive audio, video, and text capabilities.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xbabble
Tags: one-page, technology, business, custom-colors, custom-logo, full-width-template
*/

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

:root {
    --primary: #FF8C00;
    --primary-dark: #E67E00;
    --secondary: #1F4A6E;
    --dark: #0D2137;
    --darker: #081525;
    --light: #F8FAFC;
    --white: #ffffff;
    --gray: #64748B;
    --gray-light: #E2E8F0;
    --green: #10B981;
    --font-main: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p { color: var(--gray); line-height: 1.7; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,140,0,0.35);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}

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

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

/* ============================================================
   SECTION LABELS / HEADERS
   ============================================================ */
.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,140,0,0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-title {
    color: var(--dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13,33,55,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 44px;
    width: auto;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

.nav-links .btn {
    padding: 10px 20px;
    font-size: 0.88rem;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--darker) 0%, var(--secondary) 60%, var(--dark) 100%);
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,140,0,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-visual {
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255,140,0,0.15);
    border: 1px solid rgba(255,140,0,0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 24px;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    letter-spacing: -1px;
}

.hero-content h1 span {
    color: var(--primary);
    position: relative;
}

.hero-description {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 36px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-number {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

/* ============================================================
   HERO PHONE SLIDER
   ============================================================ */

/* ── Slider wrapper ── */
.hero-phone-slider {
    position: relative;
    width: 280px;
    /*
     * Height = phone-frame padding (14px top + 14px bottom)
     *        + notch (28px) + notch margin (10px)
     *        + screen aspect-ratio height: width 260px * (19/9) approx 549px
     * Total approx 615px
     */
    height: 615px;
    margin: 0 100px;
    overflow: visible;
}

/* ── Individual slide — all absolutely stacked ── */
.phone-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
    transform: translateY(12px) scale(0.97);
}

.phone-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* ── Slide inner wrapper — badges positioned relative to this ── */
.phone-slide-inner {
    position: relative;
    display: block;
    width: 100%;
    overflow: visible;
}</thinking>

/* ── Phone frame ── */
.phone-frame {
    position: relative;
    width: 100%;
    background: #111418;
    border-radius: 44px;
    padding: 0;
    overflow: hidden;
    box-shadow:
        0 0 0 3px #2a2e36,
        0 0 0 6px #111418,
        0 0 0 9px #2a2e36,
        0 30px 70px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.06);
}

/* Dynamic island / notch — hidden, space only kept via screen border-radius */
.phone-notch {
    display: none;
}

/* Side hardware buttons — positioned on outer frame rings */
.phone-button-vol-up,
.phone-button-vol-down,
.phone-button-power {
    position: absolute;
    background: #2a2e36;
    border-radius: 3px;
    z-index: 30;
}
.phone-button-vol-up {
    left: -12px;
    top: 22%;
    width: 4px;
    height: 44px;
    border-radius: 2px 0 0 2px;
}
.phone-button-vol-down {
    left: -12px;
    top: 35%;
    width: 4px;
    height: 44px;
    border-radius: 2px 0 0 2px;
}
.phone-button-power {
    right: -12px;
    top: 28%;
    width: 4px;
    height: 64px;
    border-radius: 0 2px 2px 0;
}

/* ── Screen image area ── */
.phone-screen-image {
    border-radius: 42px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 270 / 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-phone-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    border-radius: 0;
    background: #000;
}

.slide-phone-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    text-align: center;
}

/* ── Floating Badges ── */
.floating-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 18, 32, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50px;
    padding: 9px 16px 9px 12px;
    white-space: nowrap;
    box-shadow: 0 8px 28px rgba(0,0,0,0.45);
    z-index: 20;
}

/* Badge 1 — top right, overlaps right side of phone */
.floating-badge.badge-1 {
    top: 18%;
    right: -30px;
    animation: badgeFloat1 3.5s ease-in-out infinite;
}

/* Badge 2 — lower left, overlaps left side of phone */
.floating-badge.badge-2 {
    bottom: 22%;
    left: -30px;
    animation: badgeFloat2 3.5s ease-in-out infinite;
    animation-delay: 1.6s;
}

@keyframes badgeFloat1 {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

@keyframes badgeFloat2 {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

.badge-icon {
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
}

.badge-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.2px;
}

/* ── Slider navigation arrows ── */
.slider-arrow {
    position: absolute;
    bottom: -50px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 20;
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.slider-prev { left: 50%; transform: translateX(calc(-50% - 28px)); }
.slider-next { left: 50%; transform: translateX(calc(-50% + 28px)); }
.slider-prev:hover { transform: translateX(calc(-50% - 28px)) scale(1.1); }
.slider-next:hover { transform: translateX(calc(-50% + 28px)) scale(1.1); }

/* ── Dots navigation ── */
.hero-slider-dots {
    display: flex;
    gap: 8px;
    margin-top: 32px;
    align-items: center;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
    flex-shrink: 0;
}

.slider-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(255,140,0,0.5);
}

/* ── Progress bar (auto-play indicator) ── */
.slider-progress {
    position: absolute;
    bottom: -8px;
    left: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    width: 0%;
    transition: width linear;
    z-index: 5;
    opacity: 0.7;
}</thinking>

Now let me also update the responsive section to handle the new slider properly:

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
    padding: 100px 0;
    background: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255,140,0,0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 18px;
    line-height: 1;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--gray);
    margin: 0;
}

/* ============================================================
   SOLUTIONS SECTION
   ============================================================ */
.solutions {
    padding: 100px 0;
    background: var(--white);
}

.solutions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.solutions-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.solutions-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,140,0,0.15);
    pointer-events: none;
}

.solutions-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.solutions-text .section-label {
    margin-bottom: 16px;
}

.solutions-text h2 {
    color: var(--dark);
    margin-bottom: 20px;
}

.solutions-text > p {
    color: var(--gray);
    margin-bottom: 32px;
    font-size: 1rem;
    line-height: 1.75;
}

.solutions-list {
    list-style: none;
    margin-bottom: 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.solutions-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--dark);
    padding: 10px 0;
}

.solutions-list li::before {
    content: '✓';
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
    padding: 100px 0;
    background: var(--light);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 10px;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(255,140,0,0.35);
    position: relative;
}

.step h3 {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.step p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   PLATFORMS SECTION
   ============================================================ */
.platforms {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--darker) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

.platforms::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,140,0,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.platforms-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.platforms-text h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.platforms-text > p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 36px;
}

.app-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    min-width: 180px;
}

.app-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
    color: var(--white);
}

.app-btn-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.app-btn-text {
    display: flex;
    flex-direction: column;
}

.app-btn-text small {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 2px;
}

.app-btn-text span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.platforms-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 24px;
}

.device-mockup {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 14px;
    transition: var(--transition);
}

.device-mockup:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.1);
}

.device-mockup.android {
    margin-top: 30px;
}

.device-mockup img {
    border-radius: 8px;
    width: 140px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta {
    padding: 100px 0;
    background: var(--white);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 70px 60px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255,140,0,0.3);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    pointer-events: none;
}

.cta-box h2 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

.cta-box p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-buttons .btn {
    padding: 15px 32px;
    font-size: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--darker);
    padding: 70px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 30px;
}

.footer-brand .logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-brand img {
    height: auto;
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    line-height: 1.65;
    max-width: 300px;
    margin: 0;
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.35);
    font-size: 0.82rem;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ============================================================
   WORDPRESS SPECIFIC OVERRIDES
   ============================================================ */
.wp-block-image img {
    border-radius: var(--radius);
}

/* Ensure admin bar offset */
.admin-bar .navbar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .navbar {
        top: 46px;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    .solutions-content,
    .platforms-content {
        gap: 40px;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(13,33,55,0.98);
        flex-direction: column;
        padding: 20px 24px;
        border-top: 1px solid rgba(255,255,255,0.08);
        gap: 4px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 12px 16px;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 90px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .hero-visual {
        display: flex;
        justify-content: center;
        margin-top: 40px;
    }

    .hero-phone-slider {
        width: 240px;
        margin: 0 70px;
    }

    .steps-container {
        grid-template-columns: 1fr 1fr;
    }

    .steps-container::before {
        display: none;
    }

    .solutions-content,
    .platforms-content {
        grid-template-columns: 1fr;
    }

    .solutions-list {
        grid-template-columns: 1fr;
    }

    .solutions-image {
        order: -1;
    }

    .cta-box {
        padding: 50px 30px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .floating-badge {
        padding: 7px 12px 7px 10px;
        font-size: 0.75rem;
    }

    .badge-label {
        font-size: 0.75rem;
    }
}

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

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero-stats {
        gap: 20px;
    }
}
/* ============================================================
   CUSTOM PAGE SECTIONS (xbabble_section CPT)
   ============================================================ */

.custom-section {
    padding: 80px 0;
    position: relative;
}

/* ── Full-width text layout ── */
.custom-section-text-full {
    max-width: 780px;
    margin: 0 auto;
}

.custom-section-text-full h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.25;
}

.custom-section-text-full .custom-section-content {
    font-size: 1.08rem;
    line-height: 1.8;
}

/* ── Two-column layouts (text-image / image-text) ── */
.custom-section-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.custom-section-two-col.image-first {
    direction: rtl;
}

.custom-section-two-col.image-first > * {
    direction: ltr;
}

.custom-section-col-text h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}

.custom-section-col-text .custom-section-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.custom-section-col-image img.custom-section-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* ── Centered text / CTA layout ── */
.custom-section-centered {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.custom-section-centered h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.25;
}

.custom-section-centered .custom-section-content {
    font-size: 1.08rem;
    line-height: 1.8;
}

/* ── Cards layout ── */
.custom-section-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

/* ── Dark CTA layout ── */
.custom-section--dark {
    background: linear-gradient(135deg, #0D2137 0%, #1a3a5c 100%) !important;
}

.custom-section-dark-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.custom-section-dark-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

.custom-section-dark-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.25;
}

.custom-section-dark-text .custom-section-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ── Section label pill ── */
.custom-section .section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 14px;
    border-radius: 50px;
    background: rgba(255, 140, 0, 0.1);
    color: var(--primary);
    margin-bottom: 14px;
}

/* ── Shared content styles ── */
.custom-section-content p {
    margin-bottom: 1em;
}

.custom-section-content ul,
.custom-section-content ol {
    padding-left: 1.4em;
    margin-bottom: 1em;
}

.custom-section-content ul li {
    list-style: disc;
    margin-bottom: 6px;
}

.custom-section-content ol li {
    list-style: decimal;
    margin-bottom: 6px;
}

/* ── Responsive: tablets ── */
@media (max-width: 768px) {
    .custom-section {
        padding: 60px 0;
    }

    .custom-section-two-col,
    .custom-section-dark-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .custom-section-two-col.image-first {
        direction: ltr;
    }

    .custom-section-col-text h2,
    .custom-section-text-full h2,
    .custom-section-centered h2,
    .custom-section-dark-text h2 {
        font-size: 1.7rem;
    }

    .custom-section-cards {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Responsive: mobile ── */
@media (max-width: 480px) {
    .custom-section-cards {
        grid-template-columns: 1fr;
    }

    .custom-section-col-text h2,
    .custom-section-text-full h2,
    .custom-section-centered h2,
    .custom-section-dark-text h2 {
        font-size: 1.45rem;
    }
}
