@font-face {
    font-family: 'NT Somic';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/nt-somic/01_NTSomic-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'NT Somic';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/nt-somic/02_NTSomic-Medium.ttf') format('truetype');
}
@font-face {
    font-family: 'NT Somic';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/nt-somic/03_NTSomic-Bold.ttf') format('truetype');
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'NT Somic', Arial, sans-serif;
    font-weight: 400;
    color: #134243;
    height: 100%;
    overflow-x: hidden;
    background: #ffffff;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

.top-nav {
    position: fixed;
    top: 20px;
    right: 8%;
    display: flex;
    gap: 20px;
    font-weight: 500;
    z-index: 10;
    background: rgba(255,255,255,0.9);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-link {
    color: #025258;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #f0f8fa 0%, #e5f2f4 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 8%;
    box-sizing: border-box;
}

.logo {
    max-width: 180px;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.03);
}

.motto {
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #134243;
    margin-bottom: 2.5rem;
}

.hero p {
    font-size: 1.15rem;
    font-weight: 400;
    color: #134243;
    max-width: 550px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.intro, .projects, .contact-section {
    padding: 8% 12%;
    text-align: center;
    box-sizing: border-box;
}

.intro h2, .projects h2, .contact-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #025258;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.intro p, .projects p, .contact-section p {
    line-height: 1.7;
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    color: #134243;
    letter-spacing: 0.2px;
}

.intro p:last-child, .projects p:last-child, .contact-section p:last-child {
    margin-bottom: 0;
}

.projects {
    background: linear-gradient(135deg, #eef7fa 0%, #daeef0 100%);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.project-card {
    background: #ffffff;
    border: 1px solid #d3e2e3;
    border-radius: 8px;
    padding: 2rem;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.project-card p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: #134243;
    letter-spacing: 0.1px;
    margin-top: 1rem;
}

.contact-section {
    background: linear-gradient(135deg, #ffffff 0%, #eef7fa 100%);
    padding-bottom: 10%;
}

.contact-link {
    color: #025258;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #134243;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
    align-items: start;
    justify-content: center;
    max-width: 1000px;
    margin: 4rem auto 0 auto;
    box-sizing: border-box;
}

.contact-info {
    align-self: center;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #134243;
    letter-spacing: 0.2px;
}

.map-container {
    max-width: 400px;
    margin: 0 auto;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.logo.glow {
    filter: drop-shadow(0 0 10px rgba(53,148,140,0.7));
    transition: filter 0.3s ease;
}

@media (max-width: 768px) {
    .motto, .hero p, .intro p, .projects p, .contact-section p, .contact-info p {
        font-size: 1rem;
    }
    .intro h2, .projects h2, .contact-section h2 {
        font-size: 1.8rem;
    }
    .project-card p {
        font-size: 0.95rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        margin-top: 3rem;
    }
    .map-container iframe {
        height: 250px;
    }
    .contact-info, .map-container {
        max-width: 100%;
    }
    .contact-info {
        text-align: center;
    }
}
