/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #faf7f2 0%, #ffffff 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #0e304b;
    color: white;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid #0e304b;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

/* Chat Widget Button */
.chat-widget-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #c4b88b, #0e304b);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(196, 184, 139, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite 1s;
}

.chat-widget-button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(196, 184, 139, 0.4);
}

.chat-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    animation: bounce 1s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(14, 48, 75, 0.3);
    display: none;
    flex-direction: column;
    z-index: 1001;
    overflow: hidden;
    border: 2px solid #c4b88b;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, #0e304b, #1a4663);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #c4b88b;
}

.chat-avatar-fallback {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #c4b88b;
    color: #0e304b;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.chat-header-text h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 2px;
}

.chat-status {
    font-size: 12px;
    color: #c4b88b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    display: inline-block;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.3s;
    line-height: 1;
    padding: 0 5px;
}

.chat-close:hover {
    transform: scale(1.2);
    color: #c4b88b;
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.message.received {
    justify-content: flex-start;
}

.message.sent {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 12px 15px;
    border-radius: 15px;
    position: relative;
    word-wrap: break-word;
}

.message.received .message-content {
    background: white;
    border: 1px solid rgba(196, 184, 139, 0.3);
    border-bottom-left-radius: 5px;
}

.message.sent .message-content {
    background: linear-gradient(135deg, #c4b88b, #d4c49b);
    color: #0e304b;
    border-bottom-right-radius: 5px;
}

.message-content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 5px;
}

.message-time {
    font-size: 10px;
    color: #999;
    display: block;
    text-align: right;
}

.message.sent .message-time {
    color: rgba(14, 48, 75, 0.7);
}

/* Chat Options */
.chat-options {
    padding: 15px;
    background: white;
    border-top: 1px solid rgba(196, 184, 139, 0.2);
}

.quick-reply-title {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 600;
}

.quick-replies {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.quick-reply {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 8px 12px;
    font-size: 12px;
    color: #0e304b;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.quick-reply i {
    color: #c4b88b;
    font-size: 12px;
}

.quick-reply:hover {
    background: #c4b88b;
    color: white;
    border-color: #c4b88b;
    transform: translateY(-2px);
}

.quick-reply:hover i {
    color: white;
}

/* Chat Input Area */
.chat-input-area {
    padding: 15px;
    background: white;
    border-top: 2px solid rgba(196, 184, 139, 0.2);
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    transition: all 0.3s;
}

.chat-input:focus {
    outline: none;
    border-color: #c4b88b;
    box-shadow: 0 0 0 3px rgba(196, 184, 139, 0.2);
}

.chat-send {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #c4b88b, #0e304b);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.chat-send:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 5px 15px rgba(196, 184, 139, 0.4);
}

/* Chat Footer */
.chat-footer {
    padding: 10px 15px;
    background: #f5f5f5;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid rgba(196, 184, 139, 0.2);
}

.chat-footer-link {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.chat-footer-link i {
    color: #c4b88b;
    font-size: 14px;
}

.chat-footer-link:hover {
    color: #0e304b;
    transform: translateY(-2px);
}

/* WhatsApp Section */
.whatsapp-section {
    padding: 100px 0;
    min-height: 100vh;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: #0e304b;
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #c4b88b;
}

.whatsapp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.whatsapp-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(14, 48, 75, 0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(196, 184, 139, 0.2);
}

.whatsapp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(14, 48, 75, 0.15);
    border-color: #c4b88b;
}

.whatsapp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #c4b88b, #0e304b);
}

.whatsapp-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 40px;
    color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.live-chat-icon {
    background: linear-gradient(135deg, #c4b88b, #0e304b);
    box-shadow: 0 10px 30px rgba(196, 184, 139, 0.3);
}

.whatsapp-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: #0e304b;
    margin-bottom: 15px;
}

.whatsapp-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.whatsapp-features {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
}

.whatsapp-features li {
    margin-bottom: 12px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-features li i {
    color: #c4b88b;
    font-size: 16px;
}

.whatsapp-number,
.whatsapp-hours {
    background: #f5f5f5;
    padding: 10px 15px;
    border-radius: 50px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #0e304b;
    display: inline-block;
}

.whatsapp-number i,
.whatsapp-hours i {
    color: #c4b88b;
    margin-right: 8px;
}

.whatsapp-button,
.chat-button {
    display: inline-block;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    margin: 20px 0 15px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.chat-button {
    background: linear-gradient(135deg, #c4b88b, #0e304b);
    box-shadow: 0 10px 20px rgba(196, 184, 139, 0.3);
}

.whatsapp-button:hover,
.chat-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.chat-button:hover {
    box-shadow: 0 15px 30px rgba(196, 184, 139, 0.4);
}

.response-time {
    color: #999;
    font-size: 13px;
    font-style: italic;
}

.chat-availability {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #4CAF50;
    font-weight: 600;
    margin: 15px 0;
}

.online-dot {
    width: 10px;
    height: 10px;
    background: #4CAF50;
    border-radius: 50%;
    display: inline-block;
    animation: blink 1.5s infinite;
}

/* Business Hours */
.business-hours {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
    box-shadow: 0 20px 40px rgba(14, 48, 75, 0.1);
    border: 1px solid rgba(196, 184, 139, 0.2);
}

.business-hours h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    color: #0e304b;
    text-align: center;
    margin-bottom: 30px;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s;
}

.hour-item:hover {
    background: #c4b88b;
    color: white;
    transform: translateX(5px);
}

.hour-item .day {
    font-weight: 600;
    color: #0e304b;
}

.hour-item .time {
    color: #666;
}

.hour-item:hover .day,
.hour-item:hover .time {
    color: white;
}

/* FAQ Contact */
.faq-contact {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: rgba(196, 184, 139, 0.1);
    border-radius: 10px;
}

.faq-contact h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: #0e304b;
    margin-bottom: 10px;
}

.faq-contact p {
    color: #666;
}

.faq-contact a {
    color: #c4b88b;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.faq-contact a:hover {
    color: #0e304b;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .chat-widget {
        width: 90%;
        right: 5%;
        left: 5%;
        bottom: 20px;
        height: 80vh;
    }

    .whatsapp-float {
        bottom: 90px;
        right: 20px;
    }

    .chat-widget-button {
        bottom: 20px;
        right: 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .whatsapp-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .quick-replies {
        grid-template-columns: 1fr;
    }

    .business-hours {
        padding: 30px 20px;
    }

    .hours-grid {
        grid-template-columns: 1fr;
    }

    .hour-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .whatsapp-card {
        padding: 30px 20px;
    }

    .whatsapp-card h2 {
        font-size: 22px;
    }

    .whatsapp-button,
    .chat-button {
        padding: 12px 25px;
        font-size: 14px;
    }

    .business-hours h3 {
        font-size: 24px;
    }

    .faq-contact h3 {
        font-size: 20px;
    }
}

/* Scrollbar Styling */
.chat-messages::-webkit-scrollbar {
    width: 5px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #c4b88b;
    border-radius: 5px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #0e304b;
}