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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #ffffff;
    scroll-behavior: smooth;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-medium {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-small {
    max-width: 896px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid #f3f4f6;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    display: block;
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #4b5563;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #111827;
}

.nav-btn {
    padding: 0.5rem 1.5rem;
    background: #2563eb;
    color: white;
    border-radius: 0.5rem;
    transition: background 0.3s;
}

.nav-btn:hover {
    background: #1d4ed8;
}

.nav-lang {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0.2rem 0.35rem;
}
.nav-lang a {
    color: #475569;
    text-decoration: none;
    padding: 0.2em 0.5em;
    border-radius: 999px;
    line-height: 1.2;
}
.nav-lang a:hover {
    color: #1d4ed8;
}
.nav-lang a.nav-lang-active {
    font-weight: 600;
    color: #ffffff;
    background: #2563eb;
}
.nav-lang-sep {
    opacity: 0.45;
    user-select: none;
}
.nav-mobile-lang {
    margin-top: 0.75rem;
    padding-top: 0.9rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.95rem;
    color: #334155;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    background: #f8fafc;
    border-radius: 0.65rem;
    padding-bottom: 0.6rem;
}
.nav-mobile-lang a {
    color: #334155;
    text-decoration: none;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid transparent;
}
.nav-mobile-lang a.nav-lang-active {
    font-weight: 600;
    color: #ffffff;
    background: #2563eb;
    border-color: #2563eb;
}
.nav-mobile-lang .nav-lang-sep {
    margin: 0 0.15em;
    opacity: 0.45;
}

.nav-mobile-toggle {
    display: flex;
    padding: 0.5rem;
    color: #4b5563;
}

.nav-mobile-toggle:hover {
    color: #111827;
}

.close-icon {
    display: none;
}

.nav-mobile-toggle.active .menu-icon {
    display: none;
}

.nav-mobile-toggle.active .close-icon {
    display: block;
}

.nav-mobile {
    display: none;
    border-top: 1px solid #f3f4f6;
    background: white;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nav-mobile-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 1rem;
    color: #4b5563;
    border-radius: 0.5rem;
    transition: background 0.3s;
}

.nav-mobile-link:hover {
    background: #f9fafb;
}

.nav-mobile-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 1rem;
    background: #2563eb;
    color: white;
    border-radius: 0.5rem;
    transition: background 0.3s;
}

.nav-mobile-btn:hover {
    background: #1d4ed8;
}

/* Hero Section */
.hero {
    padding: 8rem 1rem 5rem;
}

.hero-content {
    text-align: center;
    max-width: 896px;
    margin: 0 auto;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #dbeafe;
    color: #1d4ed8;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.badge-icon {
    margin-right: 0.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #111827;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: #2563eb;
    color: white;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: white;
    color: #374151;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.btn-icon {
    margin-left: 0.5rem;
}

/* Services Section */
.services {
    padding: 5rem 1rem;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
}

.section-description {
    color: #6b7280;
    margin-top: 0.5rem;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    transition: box-shadow 0.3s;
    width: 100%;
}

.service-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: #dbeafe;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    color: #2563eb;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #111827;
}

.service-description {
    color: #4b5563;
    line-height: 1.6;
}

/* Areas Section */
.areas {
    padding: 5rem 1rem;
}

.areas-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.area-item {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.area-image,
.area-images {
    flex: 1;
    width: 100%;
}

.area-image img,
.area-images img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.area-images {
    display: grid;
    gap: 0.75rem;
}

.area-images-2 {
    grid-template-columns: 1fr 1fr;
}

.area-images-2 img {
    height: 240px;
}

.area-images-4 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
}

.area-images-4 img {
    height: 180px;
}

.area-content {
    flex: 1;
}

.area-icon {
    width: 56px;
    height: 56px;
    background: #dbeafe;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.area-icon svg {
    color: #2563eb;
}

.area-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111827;
}

.area-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 1rem;
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: #f3f4f6;
    color: #374151;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.area-description {
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.area-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.area-points li {
    display: flex;
    align-items: flex-start;
    color: #4b5563;
}

.area-points li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #2563eb;
    border-radius: 50%;
    margin-right: 0.75rem;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

/* About Section */
.about {
    padding: 5rem 1rem;
    background: #f9fafb;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
}

.about-text {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
}

.about-highlights {
    display: grid;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid #f3f4f6;
}

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

.highlight-icon {
    width: 48px;
    height: 48px;
    background: #dbeafe;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.highlight-icon svg {
    color: #2563eb;
}

.highlight-text {
    color: #4b5563;
}

/* Contact Section */
.contact {
    padding: 5rem 1rem;
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

.contact-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #111827;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.company-name {
    color: #111827;
    font-weight: 500;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    color: #2563eb;
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.contact-item a {
    color: #4b5563;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #2563eb;
}

.contact-item p {
    color: #4b5563;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: none;
}

.btn-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: #2563eb;
    color: white;
    border-radius: 0.5rem;
    transition: background 0.3s;
}

.btn-submit:hover:not(:disabled) {
    background: #1d4ed8;
}

.btn-submit:disabled {
    background: #16a34a;
    cursor: not-allowed;
}

#submitText {
    display: inline-flex;
    align-items: center;
}

.form-success-message {
    display: none;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 0.5rem;
    color: #065f46;
    font-size: 1rem;
    line-height: 1.5;
}

.form-success-message[hidden] {
    display: none !important;
}

.form-success-message:not([hidden]) {
    display: block;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 2rem 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #9ca3af;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-title {
        font-size: 3.75rem;
    }

    .services-grid .service-card {
        width: calc(50% - 1rem);
    }

    .about-highlights {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .container-medium {
        padding: 0 1.5rem;
    }

    .container-small {
        padding: 0 1.5rem;
    }

    .nav-desktop {
        display: flex;
    }

    .nav-mobile-toggle {
        display: none;
    }

    .about-card {
        padding: 3rem;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .container-medium {
        padding: 0 2rem;
    }

    .container-small {
        padding: 0 2rem;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .services-grid .service-card {
        width: 320px;
        max-width: 100%;
    }

    .area-item {
        flex-direction: row;
        gap: 3rem;
    }

    .area-item-reverse {
        flex-direction: row-reverse;
    }
}
