.hero-section {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    color: white;
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.feature-icon {
    font-size: 2.5rem;
    color: #2a5298;
    margin-bottom: 1rem;
}

.btn-demo {
    background-color: #ff9800;
    color: white;
    border: none;
    transition: all 0.3s;
}

.btn-demo:hover {
    background-color: #f57c00;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

/* Premium Navbar Styles */
.glass-navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s ease;
}

/* Premium Wordmark Styles */
.navbar-brand {
    text-decoration: none !important;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover {
    opacity: 0.9;
}

.brand-text {
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 2px;
}

.brand-service {
    font-weight: 600;
    /* Semi-bold */
    color: #2a5298;
}

.brand-crm {
    font-weight: 900;
    /* Extra-bold */
    color: #2a5298;
    /* Deeper blue for visual anchor */
}

.btn-header-demo {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white !important;
    border: none;
    border-radius: 50px;
    padding: 8px 24px;
    transition: all 0.3s ease;
}

.btn-header-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
}

/* Mobile Responsiveness Improvements */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 100px 0 40px 0;
        min-height: auto;
    }

    .hero-section h1.display-4 {
        font-size: 2.5rem;
    }

    .hero-section p.lead {
        font-size: 1.1rem;
    }

    .hero-section .hero-image-container {
        transform: none !important;
        /* Disable 3D tilt on mobile for better fit */
        /* margin-top: 30px; */
        max-width: 100%;
    }

    .hero-section .hero-image-container img {
        max-height: 300px;
    }

    .feature-icon {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg {
        padding: 4px !important;
    }
}

/* ==========================================================================
   Contact Section & Buttons Responsive Enhancements
   ========================================================================== */
.contact-card {
    box-sizing: border-box;
    overflow: hidden;
}

.captcha-container {
    box-sizing: border-box;
    width: 100%;
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.captcha-question {
    min-width: 110px;
    line-height: 1.3;
}

.captcha-action-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-input {
    width: 140px;
    max-width: 150px;
}

.captcha-refresh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 38px;
    border-radius: 6px;
    flex-shrink: 0;
}

.submit-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    transition: all 0.3s ease;
}

.submit-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.35);
}

.contact-btn-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.btn-contact-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 32px;
    transition: all 0.3s ease;
}

.call-btn-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.call-btn-label {
    display: inline-flex;
    align-items: center;
}

.call-btn-divider {
    display: inline;
}

.call-btn-number {
    white-space: nowrap;
}

.btn-contact-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 32px;
    background-color: #25d366;
    border-color: #25d366;
    color: white;
    transition: all 0.3s ease;
}

.btn-contact-wa:hover {
    background-color: #128c7e;
    border-color: #128c7e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* Mobile Media Queries for Contact Section */
@media (max-width: 767.98px) {
    .contact-card {
        padding: 24px 18px !important;
        border-radius: 1.25rem !important;
    }

    .contact-btn-group {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 380px !important;
        margin: 0 auto !important;
        gap: 12px !important;
    }

    .contact-btn-group .btn {
        width: 100% !important;
        max-width: 100% !important;
    }

    .btn-contact-call {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 14px 10px !important;
        min-height: 52px !important;
        border-radius: 50px !important;
        white-space: nowrap !important;
        font-size: clamp(12.5px, 3.8vw, 17px) !important;
    }

    .call-btn-content {
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        width: 100% !important;
        white-space: nowrap !important;
        font-size: inherit !important;
    }

    .call-btn-label,
    .call-btn-divider,
    .call-btn-number {
        display: inline !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        font-size: inherit !important;
        font-weight: 700 !important;
    }

    .call-btn-divider {
        display: inline !important;
    }

    .btn-contact-wa {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 14px 10px !important;
        min-height: 52px !important;
        font-size: clamp(13px, 3.8vw, 17px) !important;
        border-radius: 50px !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 575.98px) {
    .captcha-wrapper {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .captcha-question {
        width: 100% !important;
        font-size: 1.1rem !important;
        margin-bottom: 2px !important;
        word-break: break-word !important;
    }

    .captcha-action-group {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 200px !important;
        /* Compact answer row on mobile */
    }

    .captcha-input {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: 120px !important;
        max-width: 140px !important;
        height: 44px !important;
        font-size: 1rem !important;
    }

    .captcha-refresh-btn {
        flex: 0 0 44px !important;
        width: 44px !important;
        height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
    }

    .submit-contact-btn {
        font-size: 1rem !important;
        padding: 12px 16px !important;
        min-height: 46px !important;
    }
}

@media (max-width: 360px) {
    .btn-contact-call {
        padding: 12px 6px !important;
        font-size: 12px !important;
    }

    .call-btn-content {
        gap: 3px !important;
    }

    .btn-contact-wa {
        padding: 12px 6px !important;
        font-size: 12.5px !important;
    }

    .contact-card {
        padding: 18px 14px !important;
    }
}

.floating-contact {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

.floating-contact.show-widget {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    animation: subtle-float 3s ease-in-out infinite alternate;
}

@keyframes subtle-float {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-6px);
    }
}

.floating-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 15px);
    background: #333;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.floating-btn::after {
    content: '';
    position: absolute;
    right: calc(100% + 9px);
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-btn:hover {
    transform: scale(1.08) translateY(-2px);
    color: white;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    animation-play-state: paused;
}

.floating-btn:hover::before,
.floating-btn:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(-50%);
}

.floating-btn:hover::before {
    transform: translateX(0);
}

.floating-wa {
    background-color: #25D366;
    animation-delay: 0s;
}

.floating-wa:hover {
    background-color: #128C7E;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.6);
}

.floating-call {
    background-color: #007bff;
    animation-delay: 1.5s;
}

.floating-call:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.6);
}

@media (max-width: 991.98px) {
    .floating-contact {
        bottom: 18px;
        right: 16px;
        gap: 12px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .floating-btn::before,
    .floating-btn::after {
        display: none;
    }
}

/* ==========================================================================
   WhatsApp Integration Feature Showcase
   ========================================================================== */
.whatsapp-feature-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.wa-badge {
    background-color: #e8f8ee;
    color: #128c7e;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.wa-feature-card {
    background: #fbfdfc;
    border: 1px solid #e1efe6;
    border-radius: 1rem;
    padding: 24px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.wa-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.15);
    border-color: #25d366;
}

.wa-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e8f8ee 0%, #d4f4e2 100%);
    color: #128c7e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.wa-chat-mockup {
    background: #efeae2;
    background-image: radial-gradient(#d1d7db 1px, transparent 1px);
    background-size: 16px 16px;
    border-radius: 1.25rem;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #d1d7db;
    max-width: 460px;
    margin: 0 auto;
}

.wa-chat-header {
    background: #075e54;
    color: white;
    padding: 10px 16px;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: -20px -20px 16px -20px;
}

.wa-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

.wa-bubble {
    background: #ffffff;
    border-radius: 8px 8px 8px 0;
    padding: 12px 14px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #111b21;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    position: relative;
}

.wa-time {
    font-size: 0.7rem;
    color: #667781;
    text-align: right;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.wa-link-btn,
.wa-chat-link {
    color: #027eb5 !important;
    text-decoration: underline !important;
    font-size: 0.84rem;
    word-break: break-all;
    display: inline-block;
    margin-top: 4px;
    font-weight: 500;
}

.wa-chat-link:hover {
    color: #015c8a !important;
}