@font-face {
    font-family: 'Ramphox';
    src: url('/assets/fonts/Ramphox.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
    transition: all 1s ease;
}


nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo:hover {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #000;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

main {
    position: relative;
    background: #fff;
    margin-top: 100vh;
    z-index: 1;
}

.mission-section {
    padding: 80px 0 60px;
    background: #fff;
}

.mission-header {
    text-align: center;
    margin-bottom: 60px;
}

.mission-title {
    font-size: clamp(48px, 15vw, 120px);
    font-weight: 900;
    color: #000;
    line-height: 0.9;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: -2px;
    font-family: 'Ramphox', sans-serif;
}

.mission-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 22px;
    line-height: 1.8;
    color: #464646;
    font-weight: 400;
}

/* Content sections */
.content-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
    background: #fff;
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
}

.text-content h2 {
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 800;
    margin-bottom: 32px;
    color: #000;
    line-height: 1.1;
    font-family: 'Ramphox', sans-serif;
}

.text-content p {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.projects-section {
    padding: 80px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.projects-title {
    text-align: center;
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 800;
    margin-bottom: 60px;
    color: #000;
    line-height: 1.1;
    font-family: 'Ramphox', sans-serif;
}

.projects-container {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.projects-scroll {
    display: flex;
    gap: 30px;
    padding: 20px;
    transition: transform 0.3s ease;
    will-change: transform;
}

.project-card {
    flex: 0 0 450px;
    height: 200px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    position: relative;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #dee2e6;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 16px;
    height: 16px;
    background-image: url('/assets/img/external-link-line.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.project-card:hover::after {
    opacity: 1;
}

.project-info {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #333;
}

.project-thumbnail {
    width: 140px;
    height: 140px;
    overflow: hidden;
    position: relative;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 24px 30px 0;
    border-radius: 8px;
    flex-shrink: 0;
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-thumbnail img {
    transform: scale(1.05);
}

.project-thumbnail::before {
    font-size: 24px;
    color: #adb5bd;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.project-thumbnail img+.project-thumbnail::before {
    display: none;
}

.project-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
}

.project-description {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 16px;
    flex-grow: 1;
}

.project-status {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6c757d;
    font-weight: 600;
}

footer {
    background: #000;
    color: #fff;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Ramphox', sans-serif;
}

.footer-description {
    font-size: 16px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 14px;
    color: #666;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.loading {
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: #666;
}

.error {
    color: #ff0000;
    text-align: center;
    padding: 20px;
}

.projects-container.dragging {
    cursor: grabbing;
    user-select: none;
}
.projects-container {
    cursor: grab;
}


@media (max-width: 768px) {
    .hero {
        position: relative;
        height: 50vh;
        min-height: 400px;
        z-index: auto;
    }

    main {
        margin-top: 70px;
    }

    header {
        transition: all 0.3s ease;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid #e5e5e5;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .content-section {
        padding: 80px 0;
    }

    .mission-section {
        padding: 60px 0;
    }

    .mission-title {
        font-size: clamp(32px, 10vw, 64px);
        letter-spacing: -1px;
    }

    .text-content h2 {
        font-size: clamp(28px, 8vw, 48px);
    }

    .text-content p {
        font-size: 16px;
    }

    .project-card {
        flex: 0 0 350px;
        height: 180px;
    }

    .project-thumbnail {
        width: 100px;
        height: 100px;
        margin: 20px 16px 20px 0;
    }

    .project-info {
        padding: 20px 16px;
    }

    .project-title {
        font-size: 18px;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0 15px;
    }

    .main-content {
        padding: 0 15px;
    }

    .content-section {
        padding: 60px 0;
    }

    .mission-section {
        padding: 40px 0;
    }

    .mission-description {
        font-size: 16px;
    }

    .footer-content {
        padding: 0 15px;
    }

    .project-card {
        flex: 0 0 300px;
    }

    .project-thumbnail {
        width: 80px;
        height: 80px;
        margin: 16px 14px 16px 0;
    }

    .project-info {
        padding: 16px 14px;
    }
}