/*
Theme Name: AllMed Solution
Theme URI: https://allmedsolution.com
Author: AllMed Solution
Description: Professional Medical Billing & Healthcare Solutions Theme
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: allmed-solution
*/

/* ===========================
   CSS VARIABLES & ROOT
=========================== */
:root {
    --primary-color: #0056b3;
    --primary-dark: #003d82;
    --primary-light: #4d8fd6;
    --secondary-color: #00a86b;
    --secondary-dark: #008555;
    --accent-color: #ff6b35;
    --dark-color: #1a1a2e;
    --dark-secondary: #16213e;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --gray-100: #f5f7fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --text-color: #2d3748;
    --text-muted: #718096;
    --gradient-primary: linear-gradient(135deg, #0056b3 0%, #00a86b 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 86, 179, 0.95) 0%, rgba(0, 168, 107, 0.9) 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;
}

/* ===========================
   RESET & BASE STYLES
=========================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* ===========================
   UTILITY CLASSES
=========================== */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-sm {
    padding: 60px 0;
}

.section-lg {
    padding: 140px 0;
}

.bg-light {
    background-color: var(--gray-100);
}

.bg-dark {
    background: var(--gradient-dark);
    color: var(--white);
}

.bg-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-muted {
    color: var(--text-muted);
}

.text-white {
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header .subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-header .subtitle::before,
.section-header .subtitle::after {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.bg-dark .section-header .subtitle {
    color: var(--secondary-color);
}

.bg-dark .section-header .subtitle::before,
.bg-dark .section-header .subtitle::after {
    background: var(--secondary-color);
}

.bg-dark .section-header h2 {
    color: var(--white);
}

.bg-dark .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

/* ===========================
   BUTTONS
=========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-xl);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform var(--transition-medium);
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 86, 179, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--gray-100);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-dark {
    background: var(--dark-color);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--dark-secondary);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 12px 24px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 20px 40px;
    font-size: 1.125rem;
}

.btn-icon {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
}

.btn i {
    font-size: 1.1em;
    transition: transform var(--transition-fast);
}

.btn:hover i {
    transform: translateX(5px);
}

/* ===========================
   HEADER & NAVIGATION
=========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-medium);
}

.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    flex-shrink: 0;
    z-index: 2;
}

.logo img,
.logo .site-logo {
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.footer-brand .logo img,
.footer-brand .logo .site-logo {
    height: 48px;
    max-width: 200px;
}

.policy-hero-logo {
    height: 56px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    margin: 0 auto 18px;
    display: block;
}

.logo-text {
    color: var(--white);
    transition: color var(--transition-fast);
}

.logo.has-image .logo-text {
    display: none;
}

.logo-text span {
    color: var(--secondary-color);
}

.header.scrolled .logo-text {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 5px 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header.scrolled .nav-link {
    color: var(--text-color);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary-color);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    z-index: 2;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 600;
}

.header-phone i {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.header.scrolled .header-phone {
    color: var(--text-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.header.scrolled .mobile-menu-toggle span {
    background: var(--dark-color);
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: url('assets/images/hero-bg.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 15s infinite;
}

/* Dollar Sign Particles */
.dollar-particle {
    position: absolute;
    color: #00e68a;
    font-weight: 800;
    font-family: var(--font-heading);
    text-shadow: 0 0 15px rgba(0, 230, 138, 0.6), 0 0 30px rgba(0, 230, 138, 0.3);
    animation: floatDollar 12s infinite ease-out;
    pointer-events: none;
    z-index: 10;
}

@keyframes floatDollar {
    0% {
        transform: translateY(0) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    5% {
        opacity: 0.4;
        transform: translateY(-10vh) rotate(15deg) scale(1);
    }
    50% {
        opacity: 0.5;
    }
    95% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(-30deg) scale(1.3);
        opacity: 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: var(--white);
    padding-top: 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 168, 107, 0.25);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--border-radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 25px;
    animation: fadeInDown 0.8s ease;
    border: 1px solid rgba(0, 168, 107, 0.4);
}

.hero-badge i {
    color: #00e68a;
}

.hero-badge span {
    color: #ffffff;
}

.hero-text h1 {
    color: var(--white);
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-text h1 span {
    color: var(--secondary-color);
    position: relative;
}

.hero-text p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-benefit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 168, 107, 0.2);
    padding: 12px 20px;
    border-radius: var(--border-radius-xl);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 168, 107, 0.3);
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-benefit i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stat {
    text-align: center;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all var(--transition-medium);
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.hero-stat.hipaa-stat {
    background: rgba(0, 168, 107, 0.25);
    border-color: rgba(0, 168, 107, 0.5);
}

.hero-stat.hipaa-stat:hover {
    background: rgba(0, 168, 107, 0.35);
}

.hipaa-icon {
    font-size: 2.5rem;
    color: #00e68a;
    margin-bottom: 8px;
}

.hipaa-icon i {
    filter: drop-shadow(0 0 10px rgba(0, 230, 138, 0.5));
}

.hero-stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease 0.5s both;
}

.hero-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image img {
    width: 100%;
    height: auto;
}

.hero-floating-card {
    position: absolute;
    background: var(--white);
    padding: 20px 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: floatCard 3s ease-in-out infinite;
}

.hero-floating-card.card-1 {
    top: 10%;
    left: -30px;
}

.hero-floating-card.card-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: 1.5s;
}

.hero-floating-card .icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.hero-floating-card .content h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.hero-floating-card .content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===========================
   TRUST BADGES SECTION
=========================== */
.trust-badges {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-200);
}

.trust-badges-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.trust-badges-inner.hipaa-only {
    justify-content: center;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    transition: all var(--transition-medium);
    filter: grayscale(100%);
}

.trust-badge:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.trust-badge img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.trust-badge span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hipaa-badge {
    padding: 20px 40px;
    background: linear-gradient(135deg, rgba(0, 168, 107, 0.1) 0%, rgba(0, 86, 179, 0.1) 100%);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--secondary-color);
    opacity: 1;
    filter: none;
}

.hipaa-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 168, 107, 0.2);
}

.hipaa-badge img {
    height: 70px;
}

.hipaa-badge span {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 700;
}

/* ===========================
   INSURANCE PARTNERS
=========================== */
.insurance-partners {
    background: var(--gray-100);
    padding: 50px 0;
}

.partners-title {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 35px;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px 50px;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-500);
    transition: all var(--transition-medium);
}

.partner-item i {
    font-size: 1.1rem;
    color: var(--gray-400);
    transition: all var(--transition-medium);
}

.partner-item:hover {
    color: var(--primary-color);
}

.partner-item:hover i {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .partners-grid {
        gap: 15px 30px;
    }
    .partner-item {
        font-size: 0.875rem;
    }
    .partner-item i {
        font-size: 1rem;
    }
}

/* ===========================
   SERVICES SECTION
=========================== */
.services {
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-medium);
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 25px;
    transition: all var(--transition-medium);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    transition: color var(--transition-fast);
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-features {
    margin-bottom: 25px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.service-features li i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-link i {
    transition: transform var(--transition-fast);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* Digital Services Grid */
.digital-services {
    background: var(--gradient-dark);
}

.digital-services .section-header .subtitle {
    color: var(--secondary-color);
}

.digital-services .section-header .subtitle::before,
.digital-services .section-header .subtitle::after {
    background: var(--secondary-color);
}

.digital-services .section-header h2 {
    color: #ffffff;
}

.digital-services .section-header p {
    color: rgba(255, 255, 255, 0.85);
}

.digital-services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.digital-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 35px 25px;
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.digital-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: -1;
}

.digital-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--secondary-color);
}

.digital-card:hover::after {
    opacity: 0.1;
}

.digital-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    transition: all var(--transition-medium);
}

.digital-card:hover .digital-icon {
    transform: rotateY(180deg) scale(1.1);
}

.digital-card h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.digital-card .digital-subtitle {
    color: var(--secondary-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.digital-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.digital-card .btn-sm {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.digital-card:hover .btn-sm {
    background: var(--white);
    color: var(--primary-color);
}

/* ===========================
   ABOUT SECTION
=========================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-main img {
    width: 100%;
    height: auto;
}

.about-experience {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 30px 40px;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience .number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.about-experience span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-text .subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.about-text h2 {
    margin-bottom: 25px;
}

.about-text .lead {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 35px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gray-100);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-feature h5 {
    margin-bottom: 5px;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===========================
   WHY CHOOSE US
=========================== */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-us-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-medium);
    position: relative;
}

.why-us-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius-lg);
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: -1;
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    color: var(--white);
}

.why-us-card:hover::before {
    opacity: 1;
    z-index: 0;
}

.why-us-card > * {
    position: relative;
    z-index: 1;
}

.why-us-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: var(--white);
    transition: all var(--transition-medium);
}

.why-us-card:hover .why-us-icon {
    background: var(--white);
    color: var(--primary-color);
    transform: scale(1.1);
}

.why-us-card h4 {
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

.why-us-card:hover h4 {
    color: var(--white);
}

.why-us-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    transition: color var(--transition-fast);
}

.why-us-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* ===========================
   STATISTICS SECTION
=========================== */
.statistics {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.statistics::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/images/pattern-dots.png') repeat;
    opacity: 0.1;
}

.statistics .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all var(--transition-medium);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    text-shadow: 0 0 20px rgba(0, 168, 107, 0.5);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-number::after {
    content: '+';
    font-size: 0.6em;
    vertical-align: top;
}

.stat-item:first-child .stat-number::after {
    content: '%';
}

.stat-item:last-child .stat-number::after {
    content: '%';
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===========================
   TESTIMONIALS SECTION
=========================== */
.testimonials {
    background: var(--gray-100);
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 25px;
    color: #ffc107;
    font-size: 1.25rem;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.testimonial-info h5 {
    margin-bottom: 3px;
}

.testimonial-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ===========================
   CONTACT FORM SECTION
=========================== */
.contact-section {
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.contact-info {
    background: var(--gradient-primary);
    padding: 60px 50px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.contact-info > p {
    opacity: 0.9;
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item h5 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-item p {
    opacity: 0.9;
    font-size: 0.95rem;
    margin: 0;
}

.contact-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    padding: 60px 50px;
}

.contact-form-wrapper h3 {
    margin-bottom: 10px;
}

.contact-form-wrapper > p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-form {
    display: grid;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group label .required {
    color: #dc3545;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    background: var(--white);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

.form-control::placeholder {
    color: var(--gray-500);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* Checkbox group styling */
.checkbox-group {
    padding: 15px;
    background: var(--gray-100);
    border-radius: var(--border-radius-sm);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkbox-item span {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Conditional fields */
.conditional-field {
    display: none;
    animation: fadeInDown 0.3s ease;
}

.conditional-field.show {
    display: block;
}

/* Form submit button */
.form-submit {
    margin-top: 10px;
}

.form-submit .btn {
    width: 100%;
}

/* ===========================
   FOOTER
=========================== */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding-top: 100px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 25px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-title {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-contact-item span {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-badges img {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.footer-badges img:hover {
    opacity: 1;
}

/* ===========================
   BACK TO TOP BUTTON
=========================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-medium);
    z-index: 999;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ===========================
   ANIMATIONS
=========================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }
.animate-on-scroll.delay-6 { transition-delay: 0.6s; }

/* ===========================
   RESPONSIVE DESIGN
=========================== */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .digital-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: right var(--transition-medium);
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--text-color);
        font-size: 1.125rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image {
        order: -1;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding: 40px 30px;
    }
    
    .contact-form-wrapper {
        padding: 40px 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 1200px) {
    .header .container {
        gap: 12px;
    }

    .nav-menu {
        gap: 14px;
    }

    .header-phone span {
        display: none;
    }

    .nav-link {
        font-size: 0.95rem;
    }

    .btn.btn-sm {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .digital-services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .trust-badges-inner {
        gap: 20px;
    }
    
    .trust-badge img {
        height: 40px;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 8px 15px;
    }
    
    .btn {
        padding: 14px 25px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}

/* ===================================
   Live Chat Widget
   =================================== */

.live-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.chat-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.4);
    transition: all 0.3s ease;
    animation: chatPulse 2s infinite;
}

.chat-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(52, 152, 219, 0.5);
}

.chat-button.hidden {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.chat-button i {
    font-size: 1.5rem;
}

.chat-button .chat-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.chat-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    top: -2px;
    right: -2px;
}

.chat-status.online {
    background: #00c853;
    box-shadow: 0 0 10px rgba(0, 200, 83, 0.6);
    animation: onlinePulse 2s infinite;
}

@keyframes chatPulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(52, 152, 219, 0.4); }
    50% { box-shadow: 0 8px 40px rgba(52, 152, 219, 0.6); }
}

@keyframes onlinePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 520px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    position: relative;
}

.chat-avatar .online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #00c853;
    border-radius: 50%;
    border: 2px solid white;
}

.chat-header-text h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chat-header-text .status-text {
    font-size: 0.8rem;
    opacity: 0.9;
}

.chat-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8fafc;
}

.chat-message {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.chat-message.bot .message-avatar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.chat-message.user .message-avatar {
    background: #e2e8f0;
    color: #64748b;
}

.message-content {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
}

.chat-message.bot .message-content {
    background: white;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 4px;
}

.chat-message.user .message-content {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-bottom-right-radius: 4px;
}

.message-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-line;
}

.message-time {
    display: block;
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: 6px;
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.quick-reply {
    background: white;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-reply:hover {
    background: var(--primary-color);
    color: white;
}

.typing-dots {
    display: flex;
    gap: 4px;
    padding: 5px 0;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

.chat-input-area {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.chat-input-area form {
    display: flex;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 25px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.chat-input-area input:focus {
    border-color: var(--primary-color);
}

.chat-send {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chat-send:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.4);
}

/* Mobile Chat Responsive */
@media (max-width: 480px) {
    .live-chat-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .chat-button {
        padding: 14px 18px;
    }
    
    .chat-button .chat-label {
        display: none;
    }
    
    .chat-window {
        width: calc(100vw - 40px);
        height: calc(100vh - 120px);
        bottom: 70px;
        right: -10px;
    }
}
