/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e40af;
    --secondary-color: #3b82f6;
    --accent-color: #f97316;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --spacing-unit: 8px;
    --border-radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 2);
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: calc(var(--spacing-unit) * 2) 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: calc(var(--spacing-unit) * 4);
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
    padding-top: calc(var(--spacing-unit) * 10);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: calc(var(--spacing-unit) * 3);
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: calc(var(--spacing-unit) * 4);
    max-width: 600px;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    display: flex;
    gap: calc(var(--spacing-unit) * 6);
    margin-top: calc(var(--spacing-unit) * 6);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing-unit) * 6);
    color: var(--primary-color);
    font-weight: 700;
}

/* Services */
.services {
    padding: calc(var(--spacing-unit) * 10) 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
}

.service-card {
    background: var(--white);
    padding: calc(var(--spacing-unit) * 4);
    border-radius: calc(var(--border-radius) * 2);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.service-card h3 {
    color: var(--accent-color);
    margin-bottom: calc(var(--spacing-unit) * 2);
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
}

/* Blog */
.blog {
    padding: calc(var(--spacing-unit) * 10) 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
}

.blog-card {
    background: var(--white);
    border-radius: calc(var(--border-radius) * 2);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: calc(var(--spacing-unit) * 3);
}

.blog-content h3 {
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--primary-color);
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #ea580c;
}

/* Testimonials */
.testimonials {
    padding: calc(var(--spacing-unit) * 10) 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
}

.testimonial-card {
    background: var(--white);
    padding: calc(var(--spacing-unit) * 4);
    border-radius: calc(var(--border-radius) * 2);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: calc(var(--spacing-unit) * 3);
    font-size: 1.1rem;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: calc(var(--spacing-unit) / 2);
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Location */
.location {
    padding: calc(var(--spacing-unit) * 10) 0;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: calc(var(--spacing-unit) * 6);
    align-items: center;
}

.location-info h3 {
    color: var(--primary-color);
    margin-bottom: calc(var(--spacing-unit) * 3);
    font-size: 1.5rem;
}

.location-info p {
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--text-light);
}

.location-info i {
    color: var(--accent-color);
    margin-right: calc(var(--spacing-unit));
}

.map-container {
    border-radius: calc(var(--border-radius) * 2);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Contact */
.contact {
    padding: calc(var(--spacing-unit) * 10) 0;
    background: var(--primary-color);
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.form-row input,
.form-row select,
.form-row textarea {
    flex: 1;
    padding: calc(var(--spacing-unit) * 2);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--white);
    color: var(--text-dark);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.submit-btn {
    width: 100%;
    padding: calc(var(--spacing-unit) * 2);
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: calc(var(--spacing-unit) * 6) 0 calc(var(--spacing-unit) * 3) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.footer-section p,
.footer-section li {
    color: #d1d5db;
    margin-bottom: calc(var(--spacing-unit));
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: calc(var(--spacing-unit) * 3);
    text-align: center;
    color: #9ca3af;
}

/* Chat Bot */
.chatbot {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 350px;
    height: 400px;
    background: var(--white);
    border-radius: calc(var(--border-radius) * 2);
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.chat-header {
    background: var(--primary-color);
    color: var(--white);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: calc(var(--border-radius) * 2) calc(var(--border-radius) * 2) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    padding: calc(var(--spacing-unit) * 2);
    overflow-y: auto;
    max-height: 300px;
}

.bot-message,
.user-message {
    margin-bottom: calc(var(--spacing-unit) * 2);
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: var(--border-radius);
    max-width: 80%;
}

.bot-message {
    background: var(--bg-light);
    color: var(--text-dark);
}

.user-message {
    background: var(--primary-color);
    color: var(--white);
    margin-left: auto;
}

.chat-input {
    display: flex;
    padding: calc(var(--spacing-unit) * 2);
    border-top: 1px solid #e5e7eb;
}

.chat-input input {
    flex: 1;
    padding: calc(var(--spacing-unit) * 1.5);
    border: 1px solid #d1d5db;
    border-radius: var(--border-radius);
    margin-right: calc(var(--spacing-unit));
}

.chat-input button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: var(--border-radius);
    cursor: pointer;
}

.chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 1000;
}

.chat-toggle:hover {
    background: #ea580c;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: calc(var(--spacing-unit) * 2) 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 3);
    }
    
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .chatbot {
        width: 90%;
        right: 5%;
        left: 5%;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.blog-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}