* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0052cc;
    --secondary-color: #003d99;
    --accent-color: #ff6b35;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 800;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    max-height: 70px;
}

.logo-image {
    width: 150px;
    height: 65px;
    object-fit: contain;
    display: block;
    border-radius: 0;
    background: transparent;
    padding: 0;
    filter: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 14px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--primary-color);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 260px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.25s ease;
    z-index: 110;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    white-space: nowrap;
    color: var(--text-dark);
    font-size: 13px;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 14px;
    margin-bottom: 24px;
    opacity: 0.95;
}

.cta-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    background-color: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Services Section */
.services {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

/* Expertise Section */
.expertise {
    padding: 80px 20px;
    background-color: var(--bg-white);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.expertise-item {
    padding: 30px;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.expertise-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(0, 82, 204, 0.15);
}

.expertise-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.expertise-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.about-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.about-content p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
    max-width: 800px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-box {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-box h3 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-box p {
    color: var(--text-light);
    font-size: 15px;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background-color: var(--bg-white);
}

.contact-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.submit-button {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.chatbot-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    font-family: inherit;
}

.chatbot-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 999px;
    padding: 12px 18px;
    box-shadow: 0 12px 30px rgba(0, 82, 204, 0.32);
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
}

.chatbot-toggle:hover {
    transform: translateY(-2px);
}

.chatbot-toggle-icon {
    font-size: 18px;
}

.chatbot-panel {
    position: absolute;
    right: 0;
    bottom: 72px;
    width: min(360px, calc(100vw - 24px));
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary-color);
    color: #fff;
    padding: 14px 16px;
    font-size: 14px;
}

.chatbot-close {
    border: none;
    background: transparent;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}

.chatbot-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 260px;
    overflow-y: auto;
    padding: 16px;
    background: #f7f9fd;
}

.chat-message {
    max-width: 85%;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.bot-message {
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    align-self: flex-start;
}

.user-message {
    background: var(--primary-color);
    color: #fff;
    align-self: flex-end;
}

.chatbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 16px 0;
    background: #fff;
}

.chatbot-suggestion {
    border: 1px solid var(--border-color);
    background: #f5f7fb;
    color: var(--text-dark);
    border-radius: 999px;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 12px;
}

.chatbot-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px 16px;
    background: #fff;
}

.chatbot-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chatbot-form input,
.chatbot-form textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    resize: vertical;
}

.chatbot-submit {
    border: none;
    border-radius: 10px;
    background: var(--accent-color);
    color: #fff;
    font-weight: 700;
    padding: 10px 16px;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
        font-size: 12px;
    }

    .hero-content h2 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        height: 60px;
    }

    .logo h1 {
        font-size: 22px;
    }

    .nav-links {
        gap: 10px;
        font-size: 11px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }

    .section-title {
        font-size: 26px;
    }

    .service-card {
        padding: 25px;
    }

    .chatbot-widget {
        right: 12px;
        bottom: 12px;
    }

    .chatbot-toggle {
        padding: 10px 14px;
    }
}
