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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2a2a2a;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header */
.header {
    background-color: rgba(26, 30, 36, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    margin-right: auto;
}

.nav-logo img {
    height: 42px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-menu a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #4a9eff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: #f0f0f0;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e2329;
    letter-spacing: -0.5px;
}

.section-intro {
    font-size: 17px;
    line-height: 1.6;
    color: #5a6169;
    max-width: 680px;
    margin: 0 auto;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #1a1e24 0%, #2d3138 100%);
    color: #ffffff;
    padding: 200px 0;
    text-align: center;
}

.hero-content {
    max-width: 840px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-divider {
    width: 50px;
    height: 3px;
    background-color: #ffffff;
    margin: 0 auto 24px;
    opacity: 0.8;
}

.hero-subtitle {
    font-size: 19px;
    color: #f0f0f0;
    margin-bottom: 10px;
    font-weight: 500;
}

.hero-location {
    font-size: 16px;
    color: #f0f0f0;
    margin-bottom: 32px;
}

.hero-cta {
    margin-top: 32px;
}

.btn-hero {
    display: inline-block;
    padding: 14px 32px;
    background-color: #ffffff;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    border-radius: 4px;
}

.btn-hero:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

/* Services */
.services {
    padding: 80px 0;
    background-color: #f5f7f9;
}

.project-examples {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 64px;
    align-items: center;
}

.example-image {
    position: relative;
    overflow: hidden;
    background: #e5e5e5;
    border-radius: 8px;
}

.example-image:first-child {
    grid-row: 1 / 3;
    aspect-ratio: 3/4;
    align-self: stretch;
}

.example-image:not(:first-child) {
    aspect-ratio: 3/2;
}

.example-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.example-image:hover img {
    transform: scale(1.05);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.service-card {
    background: #ffffff;
    padding: 36px 32px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s;
}

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

.service-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.service-number {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: #1a1a1a;
    flex-shrink: 0;
}

.service-title-wrapper {
    flex: 1;
}

.service-title {
    margin-bottom: 6px;
}

.service-division {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #999999;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.service-name {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.service-description {
    font-size: 14px;
    line-height: 1.5;
    color: #666666;
    margin: 0;
}

.service-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category {
    background: #fafafa;
    border-radius: 6px;
    overflow: hidden;
}

.category-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: background-color 0.2s;
}

.category-header:hover {
    background-color: #f0f0f0;
}

.category-header.expanded {
    background-color: #f5f5f5;
}

.category-name {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    flex: 1;
}

.category-count {
    font-size: 12px;
    color: #999999;
    margin-right: 8px;
    font-weight: 400;
}

.category-icon {
    display: flex;
    align-items: center;
    color: #666666;
}

.category-items {
    list-style: none;
    padding: 12px 16px 16px 16px;
    margin: 0;
    background: #ffffff;
}

.category-items li {
    padding: 6px 0;
    padding-left: 16px;
    position: relative;
    color: #555555;
    font-size: 14px;
    line-height: 1.5;
}

.category-items li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 4px;
    height: 4px;
    background-color: #999999;
    border-radius: 50%;
}

/* Slide transition */
.slide-enter-active,
.slide-leave-active {
    max-height: 2000px;
    overflow: hidden;
}

.slide-enter-from,
.slide-leave-to {
    max-height: 0;
    opacity: 0;
}

.services-callout {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
    font-style: italic;
}

.callout-content h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.callout-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

/* Team Experience */
.team-experience {
    padding: 80px 0;
    background-color: #ffffff;
}

/* How We Work */
.how-we-work {
    padding: 80px 0;
    background-color: #ffffff;
}

/* About Shared Styles */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 64px;
    text-align: center;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #666666;
    line-height: 1.4;
    font-weight: 500;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.about-card {
    padding: 28px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s;
}

.about-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.about-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.3;
}

.about-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
    margin: 0;
}

.about-experience {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
}

.about-experience h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.about-experience p {
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
    margin: 0;
}

.about-credentials {
    text-align: center;
    max-width: 800px;
    margin: 32px auto 0;
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* Contact */
.contact {
    padding: 80px 0;
    background-color: #f9fafb;
}

.contact-wrapper {
    max-width: 840px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-form {
    background: #fafafa;
    padding: 40px;
    border-radius: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333333;
    font-size: 14px;
}

.optional {
    font-weight: 400;
    color: #999999;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d5d5d5;
    background-color: #ffffff;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
    line-height: 1.5;
    border-radius: 4px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #1a1a1a;
    color: #ffffff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    border-radius: 4px;
}

.btn-submit:hover {
    background-color: #2d2d2d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-submit:active {
    transform: translateY(0);
}

.contact-info {
    display: grid;
    gap: 20px;
}

.info-box {
    background: #ffffff;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.info-box h3 {
    font-size: 16px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.info-box p {
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
    margin: 0;
}

.email-link {
    display: inline-block;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: opacity 0.2s;
}

.email-link:hover {
    opacity: 0.6;
}

.info-box a:not(.email-link) {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #1a1a1a;
    transition: opacity 0.3s;
}

.info-box a:not(.email-link):hover {
    opacity: 0.7;
}

/* Footer */
.footer {
    background-color: #1a1e24;
    color: #8a9099;
    padding: 28px 0;
    text-align: center;
}

.footer p {
    font-size: 14px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 73px;
        flex-direction: column;
        background-color: rgba(26, 30, 36, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 24px 0;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 12px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-location {
        font-size: 15px;
    }

    .btn-hero {
        padding: 12px 28px;
        font-size: 14px;
    }

    .section-title {
        font-size: 30px;
    }

    .section-intro {
        font-size: 16px;
    }

    .project-examples {
        grid-template-columns: 1fr;
        margin-bottom: 56px;
        gap: 20px;
    }

    .example-image:first-child {
        grid-row: auto;
        aspect-ratio: 4/3;
    }

    .example-image:not(:first-child) {
        aspect-ratio: 4/3;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 32px 28px;
    }

    .service-number {
        font-size: 44px;
    }

    .service-name {
        font-size: 22px;
    }

    .service-description {
        font-size: 13px;
    }

    .services-callout {
        font-size: 15px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 48px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form {
        padding: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-location {
        font-size: 14px;
    }

    .btn-hero {
        padding: 12px 24px;
        font-size: 14px;
    }

    .section-title {
        font-size: 26px;
    }

    .nav-logo img {
        height: 36px;
    }

    .project-examples {
        gap: 16px;
        margin-bottom: 44px;
    }

    .service-card {
        padding: 28px 20px;
    }

    .service-header {
        gap: 16px;
    }

    .service-number {
        font-size: 38px;
    }

    .service-name {
        font-size: 20px;
    }

    .category-header {
        padding: 10px 14px;
    }

    .category-name {
        font-size: 13px;
    }

    .category-items {
        padding: 10px 14px 14px 14px;
    }

    .category-items li {
        font-size: 13px;
    }

    .stat-number {
        font-size: 34px;
    }

    .contact-form {
        padding: 24px 20px;
    }
}
