:root {
    --site-padding: 20px; 
    --logo-width: 100px; 
    --font-size-header: 28px; 
    --primary-color: #3a0ca3; 
    --secondary-color: #ffcc00; 
    --text-color: #ffffff;
    --background-color: #f0f0f0;
    --header-background: #d2c4f3; 
    --hero-background: #d2c4f3; 
    --hover-background: #3a0ca3; 
    --hover-text: #ffcc00; 
    --chat-window-width: 40%;
    --message-color: #333;
    --bot-message-background: #e6e6e6;
    --user-message-background: #d9fdd3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: var(--background-color);
    color: #333;
}

header.sticky-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--header-background);
    padding: 5px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    width: var(--logo-width);
    object-fit: contain;
}

.nav-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.language-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #5f5fc4;
    color: var(--text-color);
    font-weight: bold;
    padding: 5px 10px;
    border: 2px solid var(--text-color);
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.language-button:hover {
    background-color: var(--hover-background);
    color: var(--hover-text);
    border: 3px solid var(--secondary-color);
}

#slide-in-form {
    position: fixed;
    top: 0;
    right: -400px;
    width: 300px;
    height: 50%;
    background-color: var(--primary-color);
    color: var(--text-color);
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    padding: 20px;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#slide-in-form.show {
    right: 0;
}

.close-button {
    align-self: flex-end;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5em;
    cursor: pointer;
}

.close-button:hover {
    color: var(--hover-text);
    border: 3px solid var(--secondary-color);
}

#contact-slide-form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

#contact-slide-form .form-group {
    margin-bottom: 15px;
}

#contact-slide-form .form-group label {
    display: block;
    margin-bottom: 5px;
}

#contact-slide-form .form-group input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

#contact-slide-form button {
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

#contact-slide-form button:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.confirmation-message {
    margin-top: 10px;
    color: var(--secondary-color);
    font-weight: bold;
}
.nav-buttons a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    padding: 10px 20px;
    background-color: var(--primary-color);
    border: 2px solid var(--text-color);
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

    .nav-buttons a:hover {
        background-color: var(--hover-background);
        color: var(--hover-text);
        border: 3px solid var(--secondary-color);
    }

.tagline-container {
    flex: 1;
    text-align: center;
}

.tagline {
    font-size: var(--font-size-header);
    font-weight: bold;
}

.hero {
    width: 100%;
    height: 25vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: var(--hero-background);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.hero-text-container {
    background: rgba(115, 109, 109, 0.5);
    padding: 20px;
    border-radius: 10px;
    align-items: center;
    text-align: center;
}

    .hero-text-container h1 {
        font-size: 2em;
        margin-bottom: 10px;
    }

    .hero-text-container p {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

.hero-animation {
    position: absolute;
    bottom: 0;
    width: 80%;
    height: 20%;
}

.cta-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: 1em;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer !important;
    z-index: 10;
}

    .cta-button:hover {
        background-color: var(--hover-background);
        color: var(--hover-text);
        border: 3px solid var(--secondary-color);
    }

.quotes-container {
    margin-top: 20px;
    font-size: 1.2em;
    color: var(--primary-color);
    text-align: center;
    font-weight: bold;
}

.services {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
}

    .service:hover {
        transform: translateY(-5px);
        box-shadow: 0 0 20px rgba(0,0,0,0.2);
        border: 3px solid var(--secondary-color);
    }

    .service img {
        width: 100px;
        height: auto;
        margin-right: 20px;
        margin-left: 20px;
        border-radius: 10px;
    }

.service-text {
    flex: 1;
}

    .service-text h2 {
        font-size: 1.5em;
        margin-bottom: 10px;
        color: var(--primary-color);
    }

    .service-text p {
        font-size: 1em;
        color: #7858ca;
    }

footer {
    background-color: #7887e9;
    color: var(--text-color);
    padding: 20px;
    text-align: center;
}

    footer h2 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
footer .cta-text {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--secondary-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
    }

    .form-group input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

form button {
    padding: 10px 20px;
    color: var(--text-color);
    background: #efcccc;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

    form button:hover {
        background: var(--hover-background);
    }

.customer-stories {
    background: #6f6095;
    color: var(--text-color);
    padding: 50px 20px;
    text-align: center;
}

    .customer-stories h2 {
        font-size: 2em;
        margin-bottom: 20px;
    }

.story-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.story {
    background: rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

    .story p {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    .story .customer-name {
        font-weight: bold;
    }

.contact-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 10px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
}

    .contact-icon img {
        width: 30px;
        height: 30px;
        transition: transform 0.3s;
    }

    .contact-icon:hover {
        transform: scale(1.1);
        background-color: var(--hover-background);
        border: 3px solid var(--secondary-color);
    }

    .contact-icon:active img {
        transform: scale(1.2);
    }

.nav-buttons a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    padding: 10px 20px;
    background-color: var(--primary-color);
    border: 2px solid var(--text-color);
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

    .nav-buttons a:hover {
        background-color: var(--hover-background);
        color: var(--hover-text);
        border: 3px solid var(--secondary-color);
    }

.facebook-button {
    background-color: #1877f2; /* Facebook blue */
}

.facebook-button:hover {
    background-color: #166fe5; /* Darker Facebook blue on hover */
}


.chat-window {
    display: none;
    position: fixed;
    width: var(--chat-window-width);
    max-height: 80vh;
    background: rgba(125, 119, 119, 0.646);
    color: var(--text-color);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    overflow: hidden;
    z-index: 1000;
    flex-direction: column;
    transition: width 0.3s, height 0.3s, left 0.3s, top 0.3s, opacity 0.5s;
    resize: both;
    background-size: cover;
    opacity: 0;
}

.chat-header {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px 10px 0 0;
    cursor: move;
}

    .chat-header h2 {
        margin: 0;
    }

    .chat-header button {
        background: none;
        border: none;
        font-size: 1.2em;
        cursor: pointer;
    }

.chat-messages {
    padding: 10px;
    overflow-y: auto;
    flex-grow: 1;
    word-wrap: break-word;
}

#chat-input {
    display: flex;
    align-items: center;
    padding: 10px;
    border-top: 1px solid #ccc;
}

#chat-input-field {
    flex-grow: 1;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 2em;
    max-height: 150px;
    overflow-y: auto;
    resize: none;
}

.chat-input button {
    margin-left: 10px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.5em;
}

#send-chat {
    padding: 10px 20px;
    margin-left: 10px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

    #send-chat:hover {
        background-color: var(--primary-color);
        color: var(--secondary-color);
    }

.bot-message-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.chat-message {
    background: var(--user-message-background);
    border-radius: 10px;
    padding: 10px;
    margin: 10px 0;
    position: relative;
    color: var(--message-color);
}

    .chat-message.bot {
        background: var(--bot-message-background);
    }

    .chat-message strong {
        display: block;
        font-weight: bold;
    }

.message-timestamp {
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 0.8em;
    color: #666;
    padding-right: 20px;
    padding-left: 20px;
}

.faq-button {
    display: block;
    width: 100%;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

    .faq-button:hover {
        background: var(--hover-background);
        color: var(--hover-text);
    }

.draggable {
    resize: both;
    overflow: auto;
}

.about-us {
    background-color: var(--hero-background);
    padding: 50px 20px;
    text-align: center;
}

    .about-us h2 {
        font-size: 2em;
        margin-bottom: 20px;
        color: var(--primary-color);
    }

.about-us-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-us-cell {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background-color 0.3s, color 0.3s;
    text-align: justify;
}

    .about-us-cell:hover {
        background: var(--primary-color);
        color: var(--secondary-color);
        transform: scale(1.05);
    }

.quote {
    font-family: 'Georgia', serif;
    font-size: 1.2em;
    font-style: italic;
    color: var(--text-color);
}

.fade-in {
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}