/* --------------------------------------------------------------------------
 * DESIGN SYSTEM & CONFIGURATION
 * Livehelper Facility Services
 * -------------------------------------------------------------------------- */
:root {
    --primary-green: #219156;
    --dark-green: #208C4F;
    --secondary-green: #418967;
    --accent-yellow: #F9B12B;
    --black: #000000;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f4f8f5;
    --bg-dark: #153b27;
    --border-color: #e5e7eb;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.25s ease-in-out;
    --radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Base Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 60px; /* Space for mobile bottom CTA */
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--dark-green);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead-text { font-size: 1.125rem; font-weight: 500; color: var(--text-dark); }
.text-center { text-align: center; }
.text-white { color: var(--bg-white); }
.text-white h1, .text-white h2, .text-white h3 { color: var(--bg-white); }
.text-dark { color: var(--black); }
.max-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

/* Grid & Layout */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.align-center { align-items: center; }
.gap-md { gap: 1.5rem; }
.gap-lg { gap: 2.25rem; }

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.section-padding { padding: 4rem 0; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.bg-accent { background-color: rgba(249, 177, 43, 0.15); }

.section-header { margin-bottom: 2.5rem; }
.section-tag {
    display: inline-block;
    color: var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--bg-white);
}
.btn-primary:hover {
    background-color: var(--dark-green);
}

.btn-secondary {
    background-color: var(--accent-yellow);
    color: var(--black);
}
.btn-secondary:hover {
    background-color: #e09b1f;
}

.btn-outline {
    border-color: var(--primary-green);
    color: var(--primary-green);
    background: transparent;
}
.btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--bg-white);
}

.btn-full { width: 100%; }

.btn-link {
    color: var(--primary-green);
    font-weight: 600;
    display: inline-block;
    margin-top: 0.75rem;
}
.btn-link:hover { color: var(--dark-green); text-decoration: underline; }

/* 1. TOP BAR */
.top-bar {
    background-color: var(--dark-green);
    color: var(--bg-white);
    font-size: 0.85rem;
    padding: 0.4rem 0;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-link {
    color: var(--accent-yellow);
    font-weight: 600;
}

/* 2. NAVIGATION BAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}
.brand-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}
.hamburger-bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-green);
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav-list {
    display: flex;
    gap: 1.25rem;
}
.nav-link {
    font-weight: 500;
    color: var(--text-dark);
}
.nav-link:hover {
    color: var(--primary-green);
}

@media (max-width: 991px) {
    .menu-toggle { display: flex; }
    .nav-menu {
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        display: none;
    }
    .nav-menu.active { display: flex; }
    .nav-list {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    .top-bar-cta { display: none; }
}

/* 3. HERO SECTION */
.hero-section {
    position: relative;
    color: var(--bg-white);
    background-color: var(--bg-dark);
    min-height: 520px;
}
.hero-slider {
    position: relative;
    width: 100%;
    min-height: 520px;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.hero-slide.active {
    opacity: 1;
    z-index: 1;
}
.hero-content {
    max-width: 750px;
    padding-top: 3rem;
    padding-bottom: 3rem;
    position: relative;
    z-index: 2;
}
.hero-content h1, .hero-content h2 { color: var(--bg-white); margin-bottom: 1rem; }
.hero-subtitle {
    font-size: 1.35rem;
    color: var(--accent-yellow);
    font-weight: 600;
    margin-bottom: 1rem;
}
.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
    color: #e5e7eb;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-badge {
    display: inline-block;
    background: var(--accent-yellow);
    color: var(--black);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}
.slider-dot.active { background: var(--accent-yellow); }

/* 4. ABOUT & CARDS */
.feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}
.badge-item {
    background-color: var(--bg-white);
    border: 1px solid var(--secondary-green);
    color: var(--dark-green);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card {
    background: var(--bg-white);
    padding: 1.75rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-4px);
}
.card-icon {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* 7. SERVICE IMAGE COMBINATION */
.content-block { margin-bottom: 3.5rem; }
.content-block:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
    .content-block.reverse .block-image { order: 2; }
    .content-block.reverse .block-content { order: 1; }
}

/* 8. WHY CHOOSE US */
.why-card {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
}
.why-card h3 { color: var(--accent-yellow); }
.why-card.span-full { grid-column: 1 / -1; }

/* 9. INDUSTRIES */
.industry-card {
    background: var(--bg-white);
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    text-align: center;
}
.ind-icon { font-size: 2.25rem; margin-bottom: 0.5rem; }

/* 10. PRICING / SERVICE CARDS */
.pricing-card {
    background: var(--bg-white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.pricing-card.accent {
    border: 2px solid var(--primary-green);
    box-shadow: var(--shadow);
}
.badge-pop {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-yellow);
    color: var(--black);
    padding: 0.2rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 10px;
}

/* 11 & 12 SECTION SPECIFICS */
.objective-box {
    margin-top: 1.5rem;
    background: var(--bg-white);
    padding: 1.25rem;
    border-radius: var(--radius);
}
.objective-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
    font-weight: 600;
}
.tagline-text { color: var(--primary-green); margin-bottom: 1rem; }
.cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}

/* 13. REVIEWS WIDGET PLACEHOLDER */
.reviews-widget-placeholder {
    min-height: 50px;
    margin-bottom: 1.5rem;
}
.reviews-carousel-wrapper { overflow: hidden; }
.review-placeholder-card {
    background: var(--bg-white);
    padding: 1.5rem;
    text-align: center;
    border-radius: var(--radius);
    border: 1px dashed var(--secondary-green);
}

/* 14. ACCORDION (FAQ) */
.accordion { display: flex; flex-direction: column; gap: 0.75rem; }
.accordion-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}
.accordion-header {
    width: 100%;
    padding: 1.25rem;
    text-align: left;
    background: none;
    border: none;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark-green);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion-content {
    padding: 0 1.25rem 1.25rem;
    display: none;
    color: var(--text-dark);
}
.accordion-item.active .accordion-content { display: block; }

/* 15. CONTACT FORM */
.contact-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1rem; text-align: left; }
.form-group label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.25rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.65rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
}

/* 17. FOOTER */
.footer { background: var(--bg-dark); color: #9ca3af; padding-top: 3.5rem; font-size: 0.9rem; }
.footer h4 { color: var(--bg-white); margin-bottom: 1rem; }
.footer ul li { margin-bottom: 0.5rem; }
.footer-logo { height: 45px; width: auto; margin-bottom: 1rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: 3rem; }
.bottom-footer { background: #0c2317; padding: 1rem 0; color: #6b7280; font-size: 0.8rem; border-top: 1px solid rgba(255,255,255,0.05); }

/* 19. FLOATING BUTTONS */
.floating-actions {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.whatsapp-btn { background-color: #25D366; }
.phone-btn { background-color: var(--primary-green); }

@media (min-width: 769px) {
    .floating-actions { bottom: 30px; }
}

/* 20. MOBILE FIXED CTA */
.mobile-bottom-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55px;
    background: var(--bg-white);
    display: flex;
    z-index: 1000;
    border-top: 1px solid var(--border-color);
    padding-bottom: env(safe-area-inset-bottom);
}
.mobile-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
.mobile-cta-btn.phone { background: var(--dark-green); color: white; }
.mobile-cta-btn.whatsapp { background: #25D366; color: white; }
.mobile-cta-btn.quote { background: var(--accent-yellow); color: var(--black); }

@media (min-width: 769px) {
    .mobile-bottom-cta { display: none; }
}

/* ACCESSIBILITY & REDUCED MOTION */
@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;
    }
}


/* --------------------------------------------------------------------------
 * CUSTOM FLOATING PHONE WIDGET STYLES & ANIMATIONS
 * -------------------------------------------------------------------------- */
.custom-floating-phone-widget {
    position: fixed;
    bottom: 65px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .custom-floating-phone-widget {
        bottom: 24px;
        left: 24px;
        transform: none;
    }
}

/* Tooltip Badge */
.tooltip-badge {
    margin-bottom: 8px;
    background-color: var(--bg-white);
    color: var(--black);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    transition: transform 0.3s ease;
}

.tooltip-badge:hover {
    transform: scale(1.05);
}

.badge-action-text {
    color: var(--accent-yellow);
    font-weight: 800;
}

/* Floating Call Button */
.floating-call-circle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--bg-white);
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.floating-call-circle:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--accent-yellow), #e09b1f);
}

.floating-call-circle:active {
    transform: scale(0.95);
}

/* Rings & Wave Animations */
.ring-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: var(--primary-green);
    opacity: 0.75;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ring-ripple {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background-color: rgba(33, 145, 86, 0.3);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Icon Bouncing Animation */
.phone-svg-icon {
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 10;
    animation: bounce 2s infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@keyframes pulse {
    50% {
        opacity: .5;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-10%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}


.footer-contact-info {
    margin-top: 15px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.footer-contact-info p {
    margin-bottom: 10px;
}

.footer-contact-info a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-info a:hover {
    color: var(--accent-yellow, #F9B12B);
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon-link:hover {
    background-color: var(--primary-green, #219156);
    color: #ffffff;
    transform: translateY(-3px);
}

.bottom-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon-link:hover {
    background-color: var(--primary-green, #219156);
    color: #ffffff;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .bottom-footer-content {
        flex-direction: column;
        text-center: center;
    }
}


/* Custom Tick Mark List Style */
ul.check-list {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

ul.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.5;
}

ul.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #219156; /* Green accent color */
    font-weight: bold;
    font-size: 1.1rem;
}

.review-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.stars {
    color: #ffb400;
    font-size: 1.1rem;
}

.review-text {
    font-style: italic;
    color: #555555;
    margin-bottom: 15px;
}

.review-source-link {
    font-size: 0.875rem;
    color: #219156;
    text-decoration: none;
    font-weight: 600;
}

.review-source-link:hover {
    text-decoration: underline;
}