:root {
    --primary-color: #28a745;
    --primary-dark: #218838;
    --primary-light: #34ce57;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--white) !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0.75rem !important;
}

.navbar-nav .nav-link:hover {
    color: var(--white) !important;
}

.navbar-nav .nav-link.active {
    color: var(--white) !important;
    font-weight: 600;
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 30px;
        opacity: 1;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    opacity: 0.1;
    border-radius: 50% 0 0 50%;
    transform: translateX(30%);
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Consultation Section */
.consultation-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.consultation-section .card {
    border: none;
    border-radius: 20px;
}

.consultation-section .form-label {
    color: var(--text-dark);
    font-weight: 500;
}

.consultation-section .form-control,
.consultation-section .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.consultation-section .form-control:focus,
.consultation-section .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* About Section */
.about-section {
    background: var(--white);
    padding: 5rem 0;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--white);
    transform: translateX(10px);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-item:hover i {
    color: var(--white);
}

.feature-item h5 {
    margin: 0;
    font-weight: 600;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
}

.stat-card {
    padding: 2rem;
}

.stat-card h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* Services Section */
.services-section {
    background: var(--light-color);
    padding: 5rem 0;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.2);
    border-color: var(--primary-color);
}

.service-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.service-card.featured .badge {
    position: absolute;
    top: -15px;
    right: 20px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.service-price {
    margin: 1.5rem 0;
}

.service-card ul li {
    padding: 0.5rem 0;
    text-align: left;
}

/* Procedure Section */
.procedure-section {
    background: var(--white);
    padding: 5rem 0;
}

.procedure-step {
    padding: 2rem;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.procedure-step h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Team Section */
.team-section {
    background: var(--light-color);
    padding: 5rem 0;
}

.team-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.2);
}

.team-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-avatar i {
    font-size: 6rem;
    color: var(--white);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--white);
    padding: 5rem 0;
}

.testimonial-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 20px;
    height: 100%;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.15);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer ul li {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white) !important;
    transform: translateY(-3px);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for fixed navbar */
}

/* Section scroll offset */
section[id] {
    scroll-margin-top: 100px;
}

/* ============================================
   MOBILE OPTIMIZATIONS
   ============================================ */

/* Base mobile styles */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px; /* Smaller offset for mobile */
        -webkit-text-size-adjust: 100%; /* Prevent iOS text size adjust */
    }

    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    section[id] {
        scroll-margin-top: 70px;
    }
    
    .hero-section {
        padding-top: 80px;
        padding-bottom: 2rem;
    }
    
    .display-3 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .display-5 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .service-card.featured {
        transform: scale(1);
    }
    
    .hero-features {
        margin-top: 2rem;
    }

    /* Enhanced mobile navigation */
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .navbar-toggler {
        min-width: 44px;
        min-height: 44px;
        padding: 0.5rem;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 4px;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
    }

    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav {
        gap: 0.25rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.875rem 1rem !important;
        min-height: 44px;
        display: flex;
        align-items: center;
        border-radius: 4px;
        margin: 0.25rem 0;
        transition: background-color 0.2s ease;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        background-color: rgba(255, 255, 255, 0.1);
    }

    #theme-toggle {
        min-width: 44px;
        min-height: 44px;
        padding: 0.875rem 1rem !important;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        margin: 0.25rem 0;
    }

    /* Mobile form optimizations */
    .form-control,
    .form-select {
        font-size: 16px !important; /* Prevent zoom on iOS */
        padding: 0.75rem 1rem;
        min-height: 44px;
        border-radius: 8px;
    }

    .form-control-lg {
        font-size: 16px !important;
        padding: 0.875rem 1.125rem;
        min-height: 48px;
    }

    textarea.form-control,
    textarea.form-control-lg {
        min-height: 120px;
        padding: 0.875rem 1.125rem;
    }

    .form-label {
        font-size: 0.95rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    /* Mobile button optimizations */
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        border-radius: 8px;
        touch-action: manipulation; /* Remove tap delay */
    }

    .btn-lg {
        min-height: 48px;
        padding: 0.875rem 2rem;
        font-size: 1.1rem;
    }

    .btn-sm {
        min-height: 40px;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    /* Mobile card optimizations */
    .card {
        border-radius: 12px;
        margin-bottom: 1.5rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    /* Mobile spacing optimizations */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* Mobile typography */
    h1,
    .h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h2,
    .h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    h3,
    .h3 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    h4,
    .h4 {
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .lead {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    /* Mobile service cards */
    .service-card {
        margin-bottom: 1.5rem;
    }

    /* Mobile team cards */
    .team-card {
        margin-bottom: 2rem;
    }

    /* Mobile testimonial cards */
    .testimonial-card {
        margin-bottom: 1.5rem;
    }

    /* Mobile chat widget */
    .chat-window {
        width: calc(100vw - 20px);
        height: calc(100vh - 100px);
        max-height: 600px;
        border-radius: 16px 16px 0 0;
        bottom: 80px;
        right: 10px;
    }

    .chat-button {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }

    /* Mobile back to top */
    .back-to-top {
        bottom: 90px;
        right: 20px;
        width: 48px;
        height: 48px;
    }

    /* Mobile cookie consent */
    .cookie-consent {
        padding: 1.25rem 1rem;
    }

    .cookie-consent-content {
        gap: 1rem;
    }

    .cookie-consent-actions {
        width: 100%;
    }

    .cookie-consent-actions .btn {
        flex: 1;
    }

    /* Mobile image optimizations */
    img {
        max-width: 100%;
        height: auto;
    }

    .team-photo {
        width: 120px;
        height: 120px;
    }

    /* Mobile feature cards */
    .feature-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }

    /* Mobile stats */
    .stat-card {
        margin-bottom: 1.5rem;
    }

    /* Mobile procedure steps */
    .procedure-step {
        margin-bottom: 2rem;
    }

    /* Improve touch targets for all interactive elements */
    a,
    button,
    input[type='button'],
    input[type='submit'],
    .nav-link,
    .btn,
    .quick-reply-btn {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(40, 167, 69, 0.2);
    }

    /* Remove tap highlight for non-interactive elements */
    * {
        -webkit-tap-highlight-color: transparent;
    }

    a,
    button,
    .btn,
    .nav-link {
        -webkit-tap-highlight-color: rgba(40, 167, 69, 0.2);
    }
}

/* Small mobile devices (phones in portrait) */
@media (max-width: 480px) {
    .hero-section {
        padding-top: 70px;
    }

    .display-3 {
        font-size: 1.75rem;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .card-body {
        padding: 1.25rem;
    }

    section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .btn-lg {
        width: 100%;
        padding: 1rem;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 720px;
    }

    .hero-section {
        padding-top: 90px;
    }

    .display-3 {
        font-size: 2.5rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .btn:hover,
    .nav-link:hover,
    .service-card:hover {
        transform: none;
    }

    /* Increase touch target sizes */
    .btn,
    .nav-link,
    a {
        min-height: 44px;
        min-width: 44px;
    }

    /* Improve tap feedback */
    .btn:active,
    .nav-link:active {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Chat Widget Styles */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Floating Chat Button */
.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: pulse 2s infinite;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(40, 167, 69, 0.6);
}

.chat-button:active {
    transform: scale(0.95);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: var(--white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid var(--white);
}

.chat-badge.hidden {
    display: none;
}

@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 4px 20px rgba(40, 167, 69, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(40, 167, 69, 0.7);
    }
}

/* Chat Window */
.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 600px;
    max-height: calc(100vh - 100px);
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.chat-window.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chat-window.minimized {
    height: 60px;
    overflow: hidden;
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 20px 20px 0 0;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.chat-status-indicator {
    width: 10px;
    height: 10px;
    background: #28a745;
    border-radius: 50%;
    animation: blink 2s infinite;
}

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

.chat-header-info h6 {
    margin: 0;
    font-weight: 600;
    color: var(--white);
}

.chat-header-info small {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
}

.chat-minimize,
.chat-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    transition: background 0.2s ease;
}

.chat-minimize:hover,
.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    animation: slideIn 0.3s ease;
}

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

.chat-message-user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.chat-message-user .message-avatar {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.message-content {
    max-width: 75%;
    background: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.chat-message-user .message-content {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.message-content p {
    margin: 0;
    word-wrap: break-word;
}

.message-time {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: 0.25rem;
    display: block;
}

.chat-message-user .message-time {
    color: rgba(255, 255, 255, 0.8);
}

/* Chat Input */
.chat-input-container {
    border-top: 1px solid #e9ecef;
    background: var(--white);
    padding: 1rem;
}

.chat-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.chat-input {
    flex: 1;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input:focus {
    border-color: var(--primary-color);
}

.chat-send {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.chat-send:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.4);
}

.chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

/* Typing Indicator */
.typing-dots {
    display: inline-flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-light);
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Quick Replies */
.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-reply-btn {
    background: var(--light-color);
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-dark);
}

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

/* Responsive Chat */
@media (max-width: 768px) {
    .chat-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .chat-button {
        width: 55px;
        height: 55px;
        font-size: 1.25rem;
    }
    
    .chat-window {
        width: calc(100vw - 30px);
        height: calc(100vh - 80px);
        bottom: 75px;
        right: 0;
        border-radius: 15px;
    }
    
    .message-content {
        max-width: 85%;
    }
}

/* Skeleton Loader Styles */
.skeleton-loader {
    padding: 2rem;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skeleton-line {
    height: 1rem;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-line.short {
    width: 60%;
}

@keyframes skeleton-pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Image Optimization */
img[loading='lazy'] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading='lazy'].loaded {
    opacity: 1;
}

/* Performance: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Accessibility: Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
    font-weight: 600;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid var(--white);
    outline-offset: 2px;
}

/* Accessibility: Focus indicators */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Enhanced focus for interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.2);
}

/* Form accessibility */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    outline-color: #dc3545;
}

/* Button focus states */
.btn:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.4);
}

.btn-outline-primary:focus-visible {
    outline-color: var(--primary-color);
}

/* Navbar focus */
.navbar-nav .nav-link:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Chat widget focus */
.chat-button:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 3px;
}

.chat-input:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid var(--white);
    }

    .nav-link {
        border: 1px solid transparent;
    }

    .nav-link:focus {
        border-color: var(--white);
    }
}

/* Touch target sizes (minimum 44x44px for accessibility) */
button,
a,
input[type='submit'],
input[type='button'],
.nav-link {
    min-height: 44px;
    min-width: 44px;
}

/* Ensure sufficient color contrast */
.text-muted {
    color: #495057 !important; /* Better contrast than default */
}

/* Error Handling Styles */
.component-error {
    padding: 2rem;
    animation: fadeIn 0.3s ease-in;
}

.component-loading {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-error {
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.875rem;
}

/* Form validation states */
.form-control.is-valid,
.form-select.is-valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6 1.4 1.4m0-1.4-1.4 1.4m1.4 3.6-1.4-1.4m0 1.4 1.4-1.4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}

.form-control.is-valid:focus,
.form-select.is-valid:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #28a745;
}

/* Loading spinner animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spinner-border {
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* Network status indicator */
.network-status {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #dc3545;
    color: white;
    padding: 0.5rem;
    text-align: center;
    z-index: 10000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.network-status.show {
    transform: translateY(0);
}

.network-status.online {
    background: #28a745;
}

/* ============================================
   UX ENHANCEMENTS
   ============================================ */

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 250px;
}

.cookie-consent-text h6 {
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-consent-text p {
    color: var(--text-light);
    margin: 0;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-actions {
        width: 100%;
        justify-content: stretch;
    }

    .cookie-consent-actions .btn {
        flex: 1;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.6);
}

.back-to-top:active {
    transform: translateY(-3px) scale(0.95);
}

.back-to-top:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Theme Toggle Button */
#theme-toggle {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    position: relative;
}

#theme-toggle:hover {
    color: var(--white) !important;
    background-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.1) rotate(15deg);
}

#theme-toggle:active {
    transform: scale(0.95);
}

#theme-toggle:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
    border-radius: 50%;
}

#theme-toggle i {
    transition: transform 0.3s ease;
}

#theme-toggle:hover i {
    transform: scale(1.2);
}

/* Dark Mode Styles */
.theme-dark,
[data-theme='dark'] {
    --primary-color: #34ce57;
    --primary-dark: #28a745;
    --primary-light: #5dd879;
    --secondary-color: #adb5bd;
    --dark-color: #f8f9fa;
    --light-color: #212529;
    --white: #1a1a1a;
    --text-dark: #e9ecef;
    --text-light: #adb5bd;
    --bg-primary: #121212;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2d2d2d;
    --border-color: #404040;
}

.theme-dark body,
[data-theme='dark'] body {
    background-color: var(--bg-primary);
    color: var(--text-dark);
}

.theme-dark .navbar,
[data-theme='dark'] .navbar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.theme-dark .hero-section,
[data-theme='dark'] .hero-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    color: var(--text-dark);
}

.theme-dark .hero-section h1,
[data-theme='dark'] .hero-section h1,
.theme-dark .hero-section .lead,
[data-theme='dark'] .hero-section .lead {
    color: var(--text-dark);
}

.theme-dark .service-card,
.theme-dark .team-card,
.theme-dark .testimonial-card,
.theme-dark .stat-card,
.theme-dark .procedure-step,
[data-theme='dark'] .service-card,
[data-theme='dark'] .team-card,
[data-theme='dark'] .testimonial-card,
[data-theme='dark'] .stat-card,
[data-theme='dark'] .procedure-step {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-dark);
}

.theme-dark .service-card:hover,
.theme-dark .team-card:hover,
.theme-dark .testimonial-card:hover,
[data-theme='dark'] .service-card:hover,
[data-theme='dark'] .team-card:hover,
[data-theme='dark'] .testimonial-card:hover {
    box-shadow: 0 8px 20px rgba(52, 206, 87, 0.2);
    transform: translateY(-5px);
}

.theme-dark .form-control,
.theme-dark .form-select,
.theme-dark textarea,
[data-theme='dark'] .form-control,
[data-theme='dark'] .form-select,
[data-theme='dark'] textarea {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-dark);
}

.theme-dark .form-control:focus,
.theme-dark .form-select:focus,
.theme-dark textarea:focus,
[data-theme='dark'] .form-control:focus,
[data-theme='dark'] .form-select:focus,
[data-theme='dark'] textarea:focus {
    background-color: var(--bg-tertiary);
    border-color: var(--primary-color);
    color: var(--text-dark);
    box-shadow: 0 0 0 0.25rem rgba(52, 206, 87, 0.25);
}

.theme-dark .form-label,
[data-theme='dark'] .form-label {
    color: var(--text-dark);
}

.theme-dark .cookie-consent,
[data-theme='dark'] .cookie-consent {
    background: var(--bg-tertiary);
    border-top-color: var(--primary-color);
    color: var(--text-dark);
}

.theme-dark .cookie-consent-text h6,
.theme-dark .cookie-consent-text p,
[data-theme='dark'] .cookie-consent-text h6,
[data-theme='dark'] .cookie-consent-text p {
    color: var(--text-dark);
}

.theme-dark .chat-window,
[data-theme='dark'] .chat-window {
    background: var(--bg-tertiary);
    color: var(--text-dark);
    border-color: var(--border-color);
}

.theme-dark .chat-message,
[data-theme='dark'] .chat-message {
    background: var(--bg-secondary);
    color: var(--text-dark);
}

.theme-dark .chat-input,
[data-theme='dark'] .chat-input {
    background: var(--bg-secondary);
    color: var(--text-dark);
    border-color: var(--border-color);
}

.theme-dark .chat-input:focus,
[data-theme='dark'] .chat-input:focus {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--text-dark);
}

/* Additional dark mode styles */
.theme-dark .about-section,
[data-theme='dark'] .about-section,
.theme-dark .consultation-section,
[data-theme='dark'] .consultation-section,
.theme-dark .services-section,
[data-theme='dark'] .services-section,
.theme-dark .team-section,
[data-theme='dark'] .team-section,
.theme-dark .testimonials-section,
[data-theme='dark'] .testimonials-section,
.theme-dark .procedure-section,
[data-theme='dark'] .procedure-section {
    background-color: var(--bg-primary);
    color: var(--text-dark);
}

.theme-dark h1,
.theme-dark h2,
.theme-dark h3,
.theme-dark h4,
.theme-dark h5,
.theme-dark h6,
[data-theme='dark'] h1,
[data-theme='dark'] h2,
[data-theme='dark'] h3,
[data-theme='dark'] h4,
[data-theme='dark'] h5,
[data-theme='dark'] h6 {
    color: var(--text-dark);
}

.theme-dark p,
.theme-dark .lead,
.theme-dark .text-muted,
[data-theme='dark'] p,
[data-theme='dark'] .lead,
[data-theme='dark'] .text-muted {
    color: var(--text-light);
}

.theme-dark .btn-primary,
[data-theme='dark'] .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
}

.theme-dark .btn-primary:hover,
[data-theme='dark'] .btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.theme-dark .btn-outline-primary,
[data-theme='dark'] .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.theme-dark .btn-outline-primary:hover,
[data-theme='dark'] .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
}

.theme-dark .footer,
[data-theme='dark'] .footer {
    background-color: var(--bg-secondary);
    color: var(--text-dark);
}

.theme-dark .footer a,
[data-theme='dark'] .footer a {
    color: var(--primary-light);
}

.theme-dark .footer a:hover,
[data-theme='dark'] .footer a:hover {
    color: var(--primary-color);
}

.theme-dark .accordion-item,
[data-theme='dark'] .accordion-item {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
}

.theme-dark .accordion-button,
[data-theme='dark'] .accordion-button {
    background-color: var(--bg-tertiary);
    color: var(--text-dark);
}

.theme-dark .accordion-button:not(.collapsed),
[data-theme='dark'] .accordion-button:not(.collapsed) {
    background-color: var(--bg-secondary);
    color: var(--text-dark);
}

.theme-dark .accordion-body,
[data-theme='dark'] .accordion-body {
    background-color: var(--bg-secondary);
    color: var(--text-light);
}

.theme-dark .card,
[data-theme='dark'] .card {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-dark);
}

.theme-dark .card-title,
[data-theme='dark'] .card-title {
    color: var(--text-dark);
}

.theme-dark .card-text,
[data-theme='dark'] .card-text {
    color: var(--text-light);
}

.theme-dark .badge,
[data-theme='dark'] .badge {
    background-color: var(--primary-color);
    color: #000;
}

.theme-dark .back-to-top,
[data-theme='dark'] .back-to-top {
    background-color: var(--primary-color);
    color: #000;
}

.theme-dark .back-to-top:hover,
[data-theme='dark'] .back-to-top:hover {
    background-color: var(--primary-light);
}

.theme-dark #theme-toggle,
[data-theme='dark'] #theme-toggle {
    color: var(--white) !important;
}

.theme-dark #theme-toggle:hover,
[data-theme='dark'] #theme-toggle:hover {
    color: var(--primary-light) !important;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Fade-in Animation */
.fade-in-target {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-target.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Page Transitions */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Ensure touch targets are properly sized on all touch devices */
@media (pointer: coarse) {
    button,
    a,
    input[type='submit'],
    input[type='button'],
    .nav-link,
    .btn,
    .quick-reply-btn,
    .chat-button,
    #theme-toggle,
    #back-to-top {
        min-height: 44px;
        min-width: 44px;
    }
}

/* ============================================
   CONTENT ENHANCEMENTS
   ============================================ */

/* FAQ Section */
.faq-section {
    background: var(--light-color);
    padding: 5rem 0;
}

.accordion-button {
    font-weight: 600;
    color: var(--text-dark);
    background: var(--white);
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

.accordion-body {
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.8;
}

/* Case Studies Section */
.case-studies-section {
    background: var(--white);
    padding: 5rem 0;
}

.case-study-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.15);
}

.case-study-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-study-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.case-study-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.case-study-amount,
.case-study-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.case-study-description {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.case-study-outcome {
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

.case-study-outcome strong {
    color: var(--primary-color);
}

/* Trust Badges Section */
.trust-badges-section {
    background: var(--light-color);
    padding: 4rem 0;
}

.trust-badge-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.trust-badge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.trust-badge-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.trust-badge-card h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Blog Section */
.blog-section {
    background: var(--white);
    padding: 5rem 0;
}

.blog-card {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.15);
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.blog-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-author,
.blog-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.7;
    flex: 1;
}

.blog-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

/* Testimonials Carousel */
.testimonials-carousel-wrapper {
    position: relative;
    padding: 2rem 0;
}

.testimonials-carousel-container {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonials-carousel-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.carousel-control-prev,
.carousel-control-next {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.carousel-control-prev:focus,
.carousel-control-next:focus {
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
}

.testimonials-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-indicator:focus {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .testimonials-carousel-controls {
        margin-top: 1.5rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .case-study-card,
    .blog-card {
        margin-bottom: 1.5rem;
    }

    .trust-badge-card {
        margin-bottom: 1.5rem;
    }
}

/* ============================================
   WHATSAPP INTEGRATION
   ============================================ */

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #25d366;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
    min-height: 48px;
    min-width: 48px;
}

.whatsapp-button:hover {
    background: #20ba5a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    text-decoration: none;
}

.whatsapp-button:active {
    transform: translateY(0);
}

.whatsapp-button:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.5);
    outline-offset: 2px;
}

.whatsapp-button.fixed-bottom-right {
    right: 20px;
}

.whatsapp-button.fixed-bottom-left {
    left: 20px;
}

.whatsapp-button svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.whatsapp-button-text {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 90px;
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .whatsapp-button.fixed-bottom-right {
        right: 15px;
    }

    .whatsapp-button.fixed-bottom-left {
        left: 15px;
    }

    .whatsapp-button-text {
        display: none;
    }

    .whatsapp-button {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
}
