/* Base Styles */
:root {
    --primary-color: #4a6cf7;
    --secondary-color: #ff6b6b;
    --accent-color: #6c5ce7;
    --text-color: #333;
    --light-text: #666;
    --bg-color: #fff;
    --light-bg: #f8f9fa;
    --border-color: #e1e5ee;
    --success-color: #2ecc71;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

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

.btn-secondary {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.hidden {
    display: none;
}

/* Header Styles */
header {
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

nav ul li a.active,
nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.hero-section h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Info Cards */
.contact-info {
    padding: 60px 0;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: -60px;
}

.card {
    background-color: var(--bg-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
}

.card .icon {
    width: 70px;
    height: 70px;
    background-color: rgba(74, 108, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card .icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.card p {
    color: var(--light-text);
    margin-bottom: 10px;
}

/* Contact Form Section */
.contact-form-section {
    padding: 60px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.form-container {
    background-color: var(--bg-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-container h2 {
    margin-bottom: 30px;
    font-size: 28px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

.success-message {
    background-color: rgba(46, 204, 113, 0.1);
    border-left: 4px solid var(--success-color);
    padding: 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.success-message i {
    color: var(--success-color);
    font-size: 24px;
    margin-right: 15px;
}

/* WhatsApp Container */
.whatsapp-container {
    display: flex;
    flex-direction: column;
}

.whatsapp-card {
    background-color: var(--bg-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow);
    height: 100%;
}

.whatsapp-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.whatsapp-header i {
    font-size: 30px;
    color: #25D366;
    margin-right: 15px;
}

.whatsapp-header h3 {
    font-size: 22px;
}

.whatsapp-card p {
    margin-bottom: 25px;
    color: var(--light-text);
}

.whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 30px;
    transition: var(--transition);
}

.whatsapp-button:hover {
    background-color: #128C7E;
    color: white;
}

.whatsapp-button i {
    margin-right: 8px;
}

.callback-request {
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.callback-request h4 {
    margin-bottom: 15px;
}

.callback-form {
    display: flex;
    gap: 10px;
}

.callback-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
}

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

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: var(--primary-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-color);
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 500;
}

.toggle-icon {
    transition: var(--transition);
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 0;
}

.newsletter-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 8px;
    padding: 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
}

.newsletter-content {
    flex: 1;
}

.newsletter-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 450px;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
}

.newsletter-form button {
    background-color: white;
    color: var(--primary-color);
}

.newsletter-form button:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.chat-button:hover {
    transform: scale(1.1);
}

.chat-button i {
    color: white;
    font-size: 24px;
}

.chat-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background-color: var(--bg-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: none;
}

.chat-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    font-size: 18px;
}

.close-chat {
    cursor: pointer;
}

.chat-messages {
    height: 300px;
    padding: 20px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
}

.message p {
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 14px;
}

.message .time {
    font-size: 12px;
    color: var(--light-text);
    margin-top: 5px;
    display: block;
}

.message.received {
    align-self: flex-start;
}

.message.received p {
    background-color: #f1f0f0;
}

.message.sent {
    margin-left: auto;
    text-align: right;
}

.message.sent p {
    background-color: var(--primary-color);
    color: white;
}

.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid var(--border-color);
}

.chat-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    margin-right: 10px;
}

.chat-input button {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.chat-input button:hover {
    background-color: var(--accent-color);
}

/* Footer */
footer {
    background-color: #2d3748;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #cbd5e0;
    max-width: 300px;
}

.footer-links h3,
.footer-social h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after,
.footer-social h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #cbd5e0;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .newsletter-card {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-content {
        margin-bottom: 20px;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 32px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .callback-form {
        flex-direction: column;
    }
    
    .chat-container {
        width: 300px;
        right: -10px;
    }
}

@media (max-width: 576px) {
    .form-container {
        padding: 20px;
    }
    
    .whatsapp-card {
        padding: 20px;
    }
    
    .newsletter-card {
        padding: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
