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

/* CSS Custom Properties for dynamic sizing */
:root {
    --dynamic-font-size: 1;
    --container-padding: 120px;
    --section-padding: 50px;
}

/* Touch device optimizations */
.touch-device .nav-item,
.touch-device .social-item,
.touch-device .info-item {
    min-height: 44px;
    min-width: 44px;
}

.touch-device .nav-item:hover,
.touch-device .social-item:hover,
.touch-device .profile-card:hover {
    transform: none !important;
}

/* Landscape mobile optimizations */
.landscape-mobile .header {
    flex-direction: row !important;
    height: 80px !important;
    gap: 0 !important;
}

.landscape-mobile .profile-content {
    flex-direction: row !important;
    gap: 20px !important;
}

.landscape-mobile .about-content {
    flex-direction: row !important;
    gap: 30px !important;
}

.landscape-mobile .features-section {
    flex-direction: row !important;
    gap: 20px !important;
}

body {
    font-family: 'Noto Sans', sans-serif;
    background-color: #171716;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    width: 100%;
    margin: 0;
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    margin-top: 0;
}

/* Header Styles */
.header {
    background-color: #1e1e1d;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    z-index: 1000;
}

.logo {
    width: 332px;
    height: 51px;
    background-image: url('./assets/logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 120px;
}

.nav {
    position: relative;
    margin-right: 120px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    font-size: 20px;
    font-weight: 400;
    font-family: 'Noto Sans', sans-serif;
}

.nav-item {
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: #cccccc;
}

.nav-item.active {
    color: #ffffff;
}

.selector {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 1px;
    background-image: url('./assets/selector.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    transition: width 0.3s ease, left 0.3s ease;
}

/* 햄버거 메뉴 버튼 */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 1px;
}

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

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

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

/* 모바일 메뉴 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 80px 0 0 0;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    position: absolute;
    top: 20px;
    right: 20px;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-item {
    color: #ffffff;
    padding: 20px 30px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 모바일 메뉴 오버레이 */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 반응형 네비게이션 */
@media (max-width: 800px) {
    .header {
        height: 80px;
        padding: 0 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        margin-left: 0 !important;
        width: 280px;
        height: 43px;
        order: 1;
    }
    
    .nav {
        display: none !important;
        margin-right: 0 !important;
    }
    
    .hamburger-btn {
        display: flex !important;
        margin-right: 0 !important;
        order: 2;
    }
}

@media (max-width: 767px) {
    .header {
        background-color: #1e1e1d !important;
        height: 70px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 20px !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        box-sizing: border-box !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
    
    .logo {
        width: 240px !important;
        height: 37px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        order: 1 !important;
    }
    
    .nav {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    .hamburger-btn {
        margin: 0 !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        order: 2 !important;
    }
}

@media (max-width: 480px) {
    .header {
        background-color: #1e1e1d !important;
        height: 60px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 15px !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        box-sizing: border-box !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
    
    .logo {
        width: 200px !important;
        height: 31px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        order: 1 !important;
    }
    
    .nav {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    .hamburger-btn {
        width: 35px !important;
        height: 35px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        order: 2 !important;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
        background-color: #ffffff !important;
        display: block !important;
        margin: 3px 0 !important;
        border-radius: 1px !important;
    }
}

@media (max-width: 360px) {
    .header {
        background-color: #1e1e1d !important;
        height: 55px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 10px !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        box-sizing: border-box !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
    
    .logo {
        width: 140px !important;
        height: 22px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        order: 1 !important;
    }
    
    .nav {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    .hamburger-btn {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 30px !important;
        height: 30px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        order: 2 !important;
        min-width: 30px !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 4px !important;
        z-index: 1001 !important;
    }
    
    .hamburger-line {
        width: 18px;
        height: 2px;
        background-color: #ffffff !important;
        display: block !important;
        margin: 3px 0 !important;
        border-radius: 1px !important;
    }
}

@media (max-width: 320px) {
    .header {
        background-color: #1e1e1d !important;
        height: 50px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 8px !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        box-sizing: border-box !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
    
    .logo {
        width: 120px !important;
        height: 19px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        order: 1 !important;
    }
    
    .nav {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    .hamburger-btn {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 28px !important;
        height: 28px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        order: 2 !important;
        min-width: 28px !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 4px !important;
        z-index: 1001 !important;
    }
    
    .hamburger-line {
        width: 16px;
        height: 2px;
        background-color: #ffffff !important;
        display: block !important;
        margin: 3px 0 !important;
        border-radius: 1px !important;
    }
}

/* Main Content Styles */
.main {
    padding-top: 100px;
}

/* Title Section */
.title-section {
    display: flex;
    justify-content: center;
    padding: 200px 0;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.title-container {
    text-align: center;
    width: 100%;
    max-width: none;
}

.main-title {
    font-family: 'Noto Rashi Hebrew', sans-serif;
    font-size: 96px;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.1;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.cursor {
    animation: blink 1s infinite;
    vertical-align: baseline;
    display: inline-block;
    margin-left: 2px;
    position: relative;
    top: -8px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.title-line {
    width: 60%;
    height: 2px;
    background-image: url('./assets/titleLine.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    margin: 25px auto;
    transform: rotate(0.533deg) skewX(0.087deg);
}

.subtitle {
    font-family: 'Noto Rashi Hebrew', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* Profile Section */
.profile-section {
    padding: 50px 0;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.profile-card {
    background-color: #d9d9d9;
    border-radius: 35px;
    padding: 40px 50px;
    position: relative;
    min-height: 451px;
    height: auto;
    width: calc(100% - 240px);
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding-top: 72px;
    padding-bottom: 18px;
}

.profile-header {
    display: flex;
    margin-bottom: 40px;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: -20px;
    left: 0;
    z-index: 10;
}

.black-bar {
    background-color: #1f1f1f;
    border-radius: 35px;
    padding: 22px 80px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.white-bar {
    background-color: #ffffff;
    border-radius: 35px;
    padding: 22px 35px;
    flex-grow: 0;
    flex-shrink: 0;
    width: auto;
    min-width: fit-content;
    position: relative;
    z-index: 2;
    margin-left: -60px;
}

@media (max-width: 880px) {
    .profile-card {
        padding-left: 25px;
        padding-right: 25px;
    }
    
    .black-bar {
        padding: 12px 35px;
        padding-right: 65px;
    }
    
    .white-bar {
        padding: 12px 25px;
        margin-left: -50px;
    }
    
    .role-title,
    .name-title {
        font-size: 30px;
    }
}

@media (max-width: 800px) {
    .profile-card {
        padding-left: 25px;
        padding-right: 25px;
    }
    
    .black-bar {
        padding: 12px 30px;
        padding-right: 40px;
    }
    
    .white-bar {
        padding: 12px 20px;
        margin-left: -35px;
    }
    
    .role-title,
    .name-title {
        font-size: 28px;
    }
}

@media (max-width: 770px) {
    .black-bar {
        padding: 10px 30px;
    }
    
    .white-bar {
        padding: 10px 8px;
        margin-left: -35px;
    }
    
    .role-title,
    .name-title {
        font-size: 28px;
    }
}

@media (max-width: 650px) {
    .profile-card {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .black-bar {
        padding: 10px 25px;
    }
    
    .white-bar {
        padding: 10px 8px;
        margin-left: -30px;
    }
    
    .role-title,
    .name-title {
        font-size: 24px;
    }
}

.role-title {
    font-family: 'Noto Sans', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    word-break: keep-all;
    overflow-wrap: break-word;
}







.name-title {
    font-family: 'Noto Sans', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: #1f1f1f;
    line-height: 1.1;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.profile-content {
    display: flex;
    gap: 25px;
    min-height: calc(100% - 120px);
    height: auto;
    align-items: center;
    justify-content: space-between;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 250px;
    flex-shrink: 0;
}

.info-item {
    background-color: #ffffff;
    border-radius: 25px;
    padding: 8px 25px;
    position: relative;
    min-height: 55px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.info-item .info-label,
.info-item .info-value {
    line-height: 1;
    margin: 0;
    padding: 0;
}

.info-item.black {
    background-color: #1f1f1f;
    color: #ffffff;
}

.info-label {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 900;
    color: #1f1f1f;
    margin-bottom: 0;
    text-align: center;
    letter-spacing: -0.5px;
    line-height: 1;
}

.info-item.black .info-label {
    color: #ffffff;
}

.info-value {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #1f1f1f;
    line-height: 1;
    text-align: center;
    letter-spacing: -1px;
    margin-top: 0;
}

.info-item.black .info-value {
    color: #ffffff;
}

.info-item:nth-child(2) .info-value {
    font-family: 'Noto Sans JP', sans-serif;
}

.info-item:nth-child(3) .info-value {
    font-family: 'Noto Sans JP', sans-serif;
}

.profile-illustration {
    width: 280px;
    height: 364px;
    background-image: url('./assets/MainIlust.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 260px;
    flex-shrink: 0;
    transform: translateX(-90px);
}

@media (max-width: 1200px) {
    .profile-illustration {
        transform: translateX(0);
    }
}

.social-item {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 65px;
    height: auto;
    box-sizing: border-box;
    flex-shrink: 0;
}

.social-icon {
    width: 55px;
    height: 55px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.x-icon {
    background-image: url('./assets/X-icon.png');
}

.instagram-icon {
    background-image: url('./assets/InstaIcon.png');
}

.youtube-icon {
    background-image: url('./assets/Youtube Icon.png');
}

.github-icon {
    background-image: url('./assets/githubIcon.png');
    width: 55px;
    height: 55px;
}

.social-handle {
    font-family: 'Noto Sans', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #1f1f1f;
    line-height: 1;
    flex: 1;
    min-width: 0;
    padding-right: 50px;
}

/* About Section */
.about-section {
    padding: 50px 0;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Noto Sans', sans-serif;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 80px;
    line-height: 1.1;
    text-align: left;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.about-content {
    display: flex;
    gap: 80px;
    width: 100%;
    padding: 0 120px;
}

.section-title {
    font-family: 'Noto Sans', sans-serif;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.1;
    text-align: left;
    padding-left: 120px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.about-text {
    flex: 1;
    font-family: 'Noto Sans', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.6;
    width: 100%;
    max-width: none;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text strong {
    font-weight: 700;
    font-family: 'Noto Sans', sans-serif;
}

.profile-image {
    width: 557px;
    height: 813px;
    background-image: url('./assets/profile-img.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 35px;
    flex-shrink: 0;
}

/* Features Section */
.features-section {
    padding: 50px 0;
    display: flex;
    gap: 65px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 120px;
    padding-right: 120px;
}

.feature {
    flex: 1;
}

.feature-title {
    font-family: 'Noto Sans', sans-serif;
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.1;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.feature-text {
    font-family: 'Noto Sans', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.6;
}

.feature-text strong {
    font-weight: 700;
    font-family: 'Noto Sans', sans-serif;
}

/* Responsive Design */
@media (max-width: 1440px) {
    .container {
        width: 100%;
        padding: 0;
        max-width: 100%;
        margin: 0;
    }
    
    .header {
        padding: 0;
    }
    
    .logo {
        margin-left: 40px;
    }
    
    .nav {
        margin-right: 40px;
    }
    
    .profile-card {
        padding: 40px 45px;
        width: calc(100% - 80px);
        max-width: 1200px;
        min-height: 433px;
        padding-top: 64px;
        padding-bottom: 13px;
    }
    
    .about-content {
        padding: 0 120px;
    }
    
    .features-section {
        padding-left: 120px;
        padding-right: 120px;
    }
}

@media (max-width: 1200px) {
    .header {
        padding: 0;
    }
    
    .logo {
        margin-left: 30px;
    }
    
    .nav {
        margin-right: 30px;
    }
    
    .logo {
        width: 280px;
        height: 43px;
    }
    
    .nav-menu {
        gap: 24px;
        font-size: 18px;
    }
    
    .main-title {
        font-size: 80px;
    }
    
    .cursor {
        top: -7px;
    }
    
    /* .profile-card {
        padding: 35px 40px;
        min-height: 415px;
        width: calc(100% - 60px);
        max-width: 1000px;
        padding-top: 54px;
        padding-bottom: 10px;
    } */
    
    .about-content {
        padding: 0 30px;
    }
    
    .section-title {
        padding-left: 30px;
    }
    
    .features-section {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .profile-content {
        gap: 20px;
    }
    
    .profile-info {
        width: 230px;
        gap: 18px;
    }
/*     
    .info-item {
        padding: 18px 22px;
        min-height: 80px;
        border-radius: 25px;
    }
     */
    .info-label {
        font-size: 14px;
        margin-bottom: 0;
        line-height: 1;
    }
    
    .info-value {
        font-size: 32px;
        line-height: 1;
        margin-top: 0;
    }
    
    .profile-illustration {
        width: 252px;
        height: 336px;
        transform: translateX(0);
    }
    
    .social-links {
        width: 240px;
        gap: 2px;
        transform: translateX(-60px);
    }
    
    .social-item {
        gap: 16px;
        min-height: 60px;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .social-handle {
        font-size: 32px;
        padding-right: 45px;
    }
    
    .github-icon {
        width: 50px;
        height: 50px;
    }
    
    .about-content {
        gap: 60px;
    }
    
    .profile-image {
        width: 500px;
        height: 730px;
        background-size: cover;
        background-position: top center;
    }
    
    .features-section {
        gap: 50px;
    }
}

@media (max-width: 1024px) {
    .header {
        padding: 0;
    }
    
    .logo {
        margin-left: 25px;
    }
    
    .nav {
        margin-right: 25px;
    }
    
    .logo {
        width: 250px;
        height: 38px;
    }
    
    .nav-menu {
        gap: 20px;
        font-size: 16px;
    }
    
    .main-title {
        font-size: 72px;
    }
    
    .cursor {
        top: -6px;
    }
    
    .profile-card {
        padding: 35px 25px;
        min-height: 397px;
        width: calc(100% - 50px);
        max-width: 900px;
        padding-top: 46px;
        padding-bottom: 10px;
    }
    
    .about-content {
        padding: 0 25px;
    }
    
    .section-title {
        padding-left: 25px;
    }
    
    .features-section {
        padding-left: 25px;
        padding-right: 25px;
    }
    
    .profile-content {
        flex-direction: column;
        gap: 25px;
        height: auto;
        min-height: auto;
        align-items: stretch;
    }
    
    .profile-info {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        flex-shrink: 0;
    }
    
    .info-item {
        flex: 1;
        min-width: 200px;
        min-height: 80px;
        height: auto;
    }
    
    .info-label {
        font-size: 18px;
        margin-bottom: 0;
        line-height: 1;
    }
    
    .info-value {
        font-size: 36px;
        line-height: 1;
        margin-top: 0;
    }
    
    .profile-illustration {
        width: 100%;
        height: 280px;
        order: -1;
        flex-shrink: 0;
        margin-top: 40px;
    }
    
    .social-links {
        width: 100%;
        gap: 3px;
        flex-shrink: 0;
        transform: translateX(0);
        justify-content: center;
    }
    
    .social-item {
        flex: 1;
        min-width: 200px;
        min-height: 65px;
        height: auto;
        flex-shrink: 0;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .github-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-handle {
        font-size: 30px;
        flex: 1;
        min-width: 0;
        padding-right: 40px;
    }
    
    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-text {
        max-width: 100%;
        font-size: 22px;
    }
    
    .profile-image {
        width: 100%;
        height: 600px;
        background-size: cover;
        background-position: top center;
    }
    
    .features-section {
        flex-direction: column;
        gap: 40px;
    }
    
    .feature-title {
        font-size: 36px;
    }
    
    .feature-text {
        font-size: 22px;
    }
}

/* Galaxy Fold Inner Display - 768px width */
@media (min-width: 768px) and (max-width: 768px) {
    .header {
        padding: 0;
    }
    
    .logo {
        margin-left: 25px;
        width: 250px;
        height: 38px;
    }
    
    .nav {
        margin-right: 25px;
    }
    
    .nav-menu {
        gap: 20px;
        font-size: 16px;
    }
    
    .main-title {
        font-size: 72px;
    }
    
    .title-section {
        padding: 160px 0;
    }
    
    .profile-card {
        padding: 35px 25px;
        min-height: 397px;
        width: calc(100% - 50px);
        max-width: 900px;
        padding-top: 46px;
        padding-bottom: 10px;
    }
    
    .profile-content {
        flex-direction: column;
        gap: 25px;
        height: auto;
        min-height: auto;
    }
    
    .profile-info {
        width: 100%;
        flex-direction: column;
        gap: 25px;
    }
    
    .profile-header {
        flex-direction: column;
        gap: 0;
    }
    
    .profile-illustration {
        width: 100%;
        height: 280px;
        order: -1;
        flex-shrink: 0;
        margin-top: 40px;
    }
    
    .social-links {
        width: 100%;
        gap: 3px;
        flex-shrink: 0;
        justify-content: center;
        align-items: center;
    }
    
    .social-item {
        flex: 1;
        min-width: 200px;
        min-height: 65px;
        height: auto;
        flex-shrink: 0;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .github-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-handle {
        font-size: 30px;
        flex: 1;
        min-width: 0;
        padding-right: 40px;
    }
    
    .about-content {
        flex-direction: column;
        gap: 40px;
        padding: 0 25px;
    }
    
    .about-text {
        max-width: 100%;
        font-size: 22px;
    }
    
    .profile-image {
        width: 100%;
        height: 600px;
        background-size: cover;
        background-position: top center;
    }
    
    .section-title {
        padding-left: 25px;
        font-size: 48px;
        margin-bottom: 80px;
    }
    
    .features-section {
        flex-direction: column;
        gap: 40px;
        padding-left: 25px;
        padding-right: 25px;
    }
    
    .feature-title {
        font-size: 36px;
    }
    
    .feature-text {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .header {
        padding: 0;
        flex-direction: column;
        height: auto;
        gap: 15px;
    }
    
    .logo {
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .nav {
        margin-right: 20px;
        margin-left: 20px;
    }
    
    .logo {
        width: 220px;
        height: 33px;
    }
    
    .nav-menu {
        gap: 15px;
        font-size: 14px;
    }
    
    .selector {
        display: none;
    }
    
    .main-title {
        font-size: 56px;
    }
    
    .cursor {
        top: -4px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .profile-card {
        padding: 32px 20px;
        height: auto;
        min-height: 379px;
        width: calc(100% - 40px);
        max-width: 800px;
        padding-top: 36px;
        padding-bottom: 8px;
    }
    
    .about-content {
        padding: 0 20px;
    }
    
    .section-title {
        padding-left: 20px;
    }
    
    .features-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .profile-header {
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 10;
    }
    
    .black-bar {
        padding: 10px 20px;
    }
    
    .white-bar {
        padding: 10px 8px;
        margin-left: 0px;
    }
    
    .role-title,
    .name-title {
        font-size: 28px;
    }
    
    .profile-info {
        flex-direction: column;
        gap: 18px;
        width: 100%;
        flex-shrink: 0;
    }
    
    .info-item {
        min-width: 100%;
        min-height: 70px;
        height: auto;
    }
    
    .info-label {
        font-size: 16px;
        margin-bottom: 0;
        line-height: 1;
    }
    
    .info-value {
        font-size: 32px;
        line-height: 1;
        margin-top: 0;
    }
    
    .profile-illustration {
        height: 210px;
        flex-shrink: 0;
    }
    
    .social-links {
        flex-direction: column;
        gap: 3px;
        width: 100%;
        flex-shrink: 0;
    }
    
    .social-item {
        min-width: 100%;
        min-height: 50px;
        height: auto;
        flex-shrink: 0;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .github-icon {
        width: 35px;
        height: 35px;
    }
    
    .social-handle {
        font-size: 28px;
        flex: 1;
        min-width: 0;
        padding-right: 35px;
    }
    
    .section-title {
        font-size: 40px;
        margin-bottom: 50px;
    }
    
    .about-text {
        font-size: 20px;
    }
    
    .profile-image {
        height: 450px;
        background-size: cover;
        background-position: top center;
    }
    
    .feature-title {
        font-size: 32px;
        margin-bottom: 25px;
    }
    
    .feature-text {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0;
        max-width: 100%;
        margin: 0;
    }
    
    .header {
        padding: 0;
    }
    
    .logo {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .nav {
        margin-right: 15px;
        margin-left: 15px;
    }
    
    .logo {
        width: 200px;
        height: 30px;
    }
    
    .nav-menu {
        gap: 12px;
        font-size: 13px;
    }
    
    .main-title {
        font-size: 48px;
    }
    
    .cursor {
        top: -3px;
    }
    
    .title-section {
        padding: 140px 0;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .profile-card {
        padding: 20px 15px;
        border-radius: 25px;
        height: auto;
        min-height: 361px;
        width: calc(100% - 30px);
        max-width: 700px;
        padding-top: 28px;
        padding-bottom: 5px;
    }
    
    .about-content {
        padding: 0 15px;
    }
    
    .section-title {
        padding-left: 15px;
    }
    
    .features-section {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .profile-header {
        gap: 0;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 10;
    }
    
    .black-bar {
        padding: 8px 15px;
        border-radius: 25px;
    }
    
    .white-bar {
        padding: 8px 8px;
        border-radius: 25px;
        margin-left: 0px;
    }
    
    .role-title,
    .name-title {
        font-size: 24px;
    }
    
    .info-item {
        min-height: 60px;
        height: auto;
        padding: 15px 20px;
        border-radius: 25px;
    }
    
    .info-label {
        font-size: 14px;
        margin-bottom: 0;
        line-height: 1;
    }
    
    .info-value {
        font-size: 28px;
        line-height: 1;
        margin-top: 0;
    }
    
    .profile-illustration {
        height: 252px;
        flex-shrink: 0;
    }
    
    .social-item {
        min-height: 45px;
        height: auto;
        flex-shrink: 0;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .github-icon {
        width: 30px;
        height: 30px;
    }
    
    .social-handle {
        font-size: 24px;
        flex: 1;
        min-width: 0;
        padding-right: 30px;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .about-text {
        font-size: 18px;
    }
    
    .profile-image {
        height: 350px;
        border-radius: 25px;
        background-size: cover;
        background-position: top center;
    }
    
    .feature-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .feature-text {
        font-size: 18px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0;
        max-width: 100%;
        margin: 0;
    }
    
    .header {
        padding: 0;
    }
    
    .logo {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .nav {
        margin-right: 10px;
        margin-left: 10px;
    }
    
    .logo {
        width: 180px;
        height: 27px;
    }
    
    .nav-menu {
        gap: 10px;
        font-size: 12px;
    }
    
    .main-title {
        font-size: 40px;
    }
    
    .cursor {
        top: -7px;
    }
    
    .title-section {
        padding: 100px 0;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .profile-card {
        padding: 15px 10px;
        border-radius: 20px;
        height: auto;
        min-height: 343px;
        width: calc(100% - 20px);
        max-width: 600px;
        padding-top: 23px;
        padding-bottom: 3px;
    }
    
    .about-content {
        padding: 0 10px;
    }
    
    .section-title {
        padding-left: 10px;
    }
    
    .features-section {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .black-bar {
        padding: 6px 12px;
        border-radius: 20px;
    }
    
    .white-bar {
        padding: 6px 6px;
        border-radius: 20px;
        margin-left: 0px;
    }
    
    .role-title,
    .name-title {
        font-size: 20px;
    }
    
    .info-item {
        min-height: 55px;
        height: auto;
        padding: 12px 15px;
        border-radius: 20px;
    }
    
    .info-label {
        font-size: 12px;
        margin-bottom: 0;
        line-height: 1;
    }
    
    .info-value {
        font-size: 24px;
        line-height: 1;
        margin-top: 0;
    }
    
    .profile-illustration {
        height: 252px;
        flex-shrink: 0;
    }
    
    .social-item {
        min-height: 40px;
        height: auto;
        flex-shrink: 0;
    }
    
    .social-icon {
        width: 30px;
        height: 30px;
    }
    
    .github-icon {
        width: 25px;
        height: 25px;
    }
    
    .social-handle {
        font-size: 20px;
        flex: 1;
        min-width: 0;
        padding-right: 25px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .about-text {
        font-size: 16px;
    }
    
    .profile-image {
        height: 300px;
        border-radius: 20px;
        background-size: cover;
        background-position: top center;
    }
    
    .feature-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .feature-text {
        font-size: 16px;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .header {
        flex-direction: row;
        height: 80px;
        gap: 0;
        padding: 0;
    }
    
    .logo {
        margin-left: 20px;
        margin-right: 0;
    }
    
    .nav {
        margin-right: 20px;
        margin-left: 0;
    }
    
    .main-title {
        font-size: 48px;
    }
    
    .cursor {
        top: -3px;
    }
    
    .profile-content {
        flex-direction: row;
        gap: 20px;
    }
    
    .profile-info {
        flex-direction: row;
        flex-wrap: wrap;
        width: 50%;
    }
    
    .profile-illustration {
        width: 50%;
        height: 224px;
        order: 0;
    }
    
    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
        width: 50%;
        gap: 2px;
    }
    
    .about-content {
        flex-direction: row;
        gap: 30px;
    }
    
    .about-text {
        width: 50%;
    }
    
    .profile-image {
        width: 50%;
        height: 400px;
        background-size: cover;
        background-position: top center;
    }
    
    .features-section {
        flex-direction: row;
        gap: 20px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo,
    .profile-illustration,
    .profile-image,
    .social-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    /* Already dark theme, no changes needed */
}

/* Tooltip Styles */
.tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 0;
    max-width: 300px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.tooltip.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tooltip-content {
    padding: 16px;
}

.tooltip-content h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Noto Sans', sans-serif;
}

.tooltip-content p {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    font-family: 'Noto Sans', sans-serif;
}

.tech-otaku {
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tech-otaku:hover {
    color: #4a9eff;
}

.zainichi-korean {
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.zainichi-korean:hover {
    color: #4a9eff;
}

/* Education History Styles */
.about-me-section {
    padding: 50px 120px;
    margin-top: 100px;
    width: 100%;
    max-width: 1440px;
    margin-right: auto;
}

.education-history {
    margin-bottom: 80px;
}

.edu-header {
    position: relative;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.edu-header:hover {
    transform: translateY(-2px);
}

.edu-header .edu-white-bar {
    background-color: #ffffff;
    border-radius: 35px;
    height: 91px;
    width: 601px;
    max-width: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.edu-header .edu-black-bar {
    background-color: #1f1f1f;
    border-radius: 35px;
    height: 91px;
    width: 601px;
    max-width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 40px;
}

.edu-title {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 800;
    font-size: 48px;
    color: #1f1f1f;
    margin: 0;
    line-height: 1.1;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.expand-arrow {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.expand-arrow.expanded {
    transform: rotate(180deg);
}

.triangle-icon {
    width: 37px;
    height: 34px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
    transform-origin: 50% 50%;
    display: block;
}

.edu-content {
    background-color: #d9d9d9;
    border-radius: 35px;
    padding: 40px;
    padding-top: 90px;
    margin-top: -75px;
    transition: all 0.5s ease;
    overflow: hidden;
}

.edu-hidden-section {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    margin-top: 0;
}

.edu-hidden-section.expanded {
    max-height: 1000px;
    opacity: 1;
    margin-top: 30px;
}

.completed-label {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 800;
    font-size: 48px;
    color: rgba(31, 31, 31, 0.5);
    margin-bottom: 30px;
    text-align: center;
}

.edu-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
    flex-wrap: wrap;
    overflow: hidden;
}

.edu-item:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.edu-item.completed {
    opacity: 0.7;
}

.edu-icon {
    width: 70px;
    height: 47px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    margin-top: 8px;
}

.jp-icon {
    background-image: url('assets/JP.png');
}

.kr-icon {
    background-image: url('assets/KR.png');
}

.edu-details {
    flex: 1;
}

.edu-school {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 800;
    font-size: 32px;
    color: #1f1f1f;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.edu-item.completed .edu-school {
    color: rgba(31, 31, 31, 0.5);
}

.edu-department {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #1f1f1f;
    margin: 0;
    line-height: 1.3;
}

.edu-item.completed .edu-department {
    color: rgba(31, 31, 31, 0.5);
}

.edu-multiple-departments p {
    margin: 2px 0;
    font-size: 14px;
    line-height: 1.3;
    color: rgba(31, 31, 31, 0.5);
}

.edu-status {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #1f1f1f;
    text-align: right;
    min-width: 250px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 300px;
    flex-shrink: 0;
    overflow: hidden;
}

.edu-item.completed .edu-status {
    color: rgba(31, 31, 31, 0.5);
    font-size: 16px;
}

/* Large screen adjustments for Education History */
@media (min-width: 1400px) {
    .edu-header .edu-white-bar {
        width: 65%;
        min-width: 601px;
    }
    
    .edu-header .edu-black-bar {
        width: 65%;
        min-width: 601px;
    }
}

/* Responsive Design for Education History */
@media (max-width: 1200px) {
    .edu-header .edu-white-bar {
        width: 75%;
    }
    
    .edu-header .edu-black-bar {
        width: 75%;
    }
    
    .edu-title {
        font-size: 40px;
    }
    
    .completed-label {
        font-size: 36px;
    }
    
    .edu-status {
        font-size: 18px;
        min-width: 200px;
    }
    
    .edu-item.completed .edu-status {
        font-size: 14px;
    }
}

@media (max-width: 880px) {
    .edu-header .edu-white-bar {
        width: 70%;
    }
    
    .edu-header .edu-black-bar {
        width: 85%;
    }
    
    .edu-status {
        font-size: 18px;
        min-width: 200px;
        max-width: 280px;
    }
}

@media (max-width: 800px) {
    .edu-header .edu-white-bar {
        width: 75%;
    }
    
    .edu-header .edu-black-bar {
        width: 90%;
    }
    
    .edu-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .edu-status {
        font-size: 16px;
        min-width: auto;
        max-width: 100%;
        text-align: left;
        flex-shrink: 1;
    }
    
    .edu-title {
        font-size: 32px;
    }
    
    .completed-label {
        font-size: 28px;
    }
    
    .edu-item.completed .edu-status {
        font-size: 13px;
    }
}

@media (max-width: 770px) {
    .edu-header .edu-white-bar {
        width: 80%;
    }
    
    .edu-header .edu-black-bar {
        width: 95%;
    }
    
    .edu-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .edu-status {
        font-size: 15px;
        min-width: auto;
        max-width: 100%;
        text-align: left;
        flex-shrink: 1;
    }
    
    .edu-item.completed .edu-status {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .about-me-section {
        padding: 30px 20px;
    }
    
    .edu-header .edu-white-bar {
        width: 80%;
        height: 70px;
    }
    
    .edu-header .edu-black-bar {
        width: 95%;
        height: 70px;
        padding-right: 20px;
    }
    
    .edu-title {
        font-size: 28px;
    }
    
    .completed-label {
        font-size: 24px;
    }
    
    .edu-content {
        padding: 20px;
        padding-top: 70px;
    }
    
    .edu-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        text-align: left;
    }
    
    .edu-school {
        font-size: 24px;
    }
    
    .edu-status {
        text-align: left;
        min-width: auto;
        max-width: 100%;
        font-size: 16px;
    }
    
    .edu-item.completed .edu-status {
        font-size: 14px;
    }
    
    .triangle-icon {
        width: 25px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .edu-header .edu-white-bar {
        width: 85%;
    }
    
    .edu-header .edu-black-bar {
        width: 100%;
    }
    
    .edu-title {
        font-size: 22px;
    }
    
    .completed-label {
        font-size: 20px;
    }
    
    .edu-school {
        font-size: 20px;
    }
    
    .edu-department {
        font-size: 12px;
    }
    
    .edu-status {
        text-align: left;
        min-width: auto;
        max-width: 100%;
        font-size: 14px;
    }
    
    .edu-item.completed .edu-status {
        font-size: 12px;
    }
}

/* Print styles */
@media print {
    .header {
        background-color: #ffffff !important;
        color: #000000 !important;
    }
    
    .profile-card {
        background-color: #f5f5f5 !important;
        color: #000000 !important;
    }
    
    .info-item {
        background-color: #ffffff !important;
        color: #000000 !important;
    }
    
    .social-handle {
        color: #000000 !important;
    }
    
    .main-title,
    .section-title,
    .feature-title {
        color: #000000 !important;
    }
    
    .about-text,
    .feature-text {
        color: #000000 !important;
    }
}

/* Projects Section Styles */
.projects-section {
    background-color: #171716;
    padding: 50px 120px;
    margin-top: 100px;
    width: 100%;
    max-width: 1440px;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.projects-header {
    position: relative;
    margin-bottom: 32px;
    height: 91px;
}

.projects-black-bar {
    background-color: #1f1f1f;
    border-radius: 35px;
    height: 91px;
    width: 601px;
    max-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.projects-title {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 800;
    font-size: 48px;
    color: #ffffff;
    margin: 0;
    line-height: 1.1;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.projects-content {
    background-color: #d9d9d9;
    border-radius: 35px;
    padding: 40px;
    padding-top: 84px;
    margin-top: -90px;
    position: relative;
}

.projects-container {
    display: flex;
    gap: 42px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.projects-container::-webkit-scrollbar {
    display: none;
}

.project-card {
    flex: 0 0 342px;
    max-width: 342px;
    background-color: #c8c7c7;
    border-radius: 35px;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.project-image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #c8c7c7;
    border-radius: 35px 35px 0 0;
    flex-shrink: 0;
}

.project-info {
    padding: 40px 20px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    font-size: 48px;
    color: #000000;
    margin: 0 0 20px 0;
    text-align: center;
    line-height: 1.1;
    word-break: keep-all;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    min-height: 1.1em;
}

.project-title.preparing-title {
    color: rgba(0, 0, 0, 0.35);
}

.project-description {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #000000;
    margin: 0 0 40px 0;
    line-height: 1.4;
    text-align: left;
    flex: 1;
    white-space: pre-line;
    word-break: break-word;
    overflow-wrap: break-word;
}

.project-description.preparing-description {
    color: rgba(0, 0, 0, 0.35);
}

.project-button {
    background-color: #1f1f1f;
    color: #ffffff;
    border: none;
    border-radius: 35px;
    height: 50px;
    width: 100%;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 500;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.project-button.preparing-button {
    background-color: rgba(31, 31, 31, 0.35);
    color: rgba(255, 255, 255, 0.35);
    cursor: not-allowed;
}

.project-button.active-button:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.scroll-bar-container {
    margin-top: 20px;
    width: 100%;
}

.scroll-bar {
    height: 14px;
    background-color: #c8c7c7;
    border-radius: 35px;
    position: relative;
    width: 100%;
}

.scroll-knob {
    height: 14px;
    background-color: #a9a7a7;
    border-radius: 35px;
    width: 342px;
    position: absolute;
    top: 0;
    left: 0;
    transition: left 0.3s ease;
}

/* Projects Section Responsive Design */
@media (min-width: 1400px) {
    .projects-black-bar {
        width: 65%;
        min-width: 601px;
    }
}

@media (max-width: 1200px) {
    .projects-black-bar {
        width: 75%;
    }
    
    .projects-title {
        font-size: 40px;
    }
    
    .project-title {
        font-size: 40px;
    }
}

@media (min-width: 1201px) {
    .project-title {
        font-size: 42px;
        line-height: 1.2;
        word-break: normal;
        overflow-wrap: normal;
    }
}

@media (max-width: 880px) {
    .projects-section {
        padding: 40px 60px;
    }
    
    .projects-black-bar {
        width: 85%;
    }
    
    .projects-title {
        font-size: 32px;
    }
    
    .project-title {
        font-size: 32px;
    }
    
    .project-description {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .projects-section {
        padding: 30px 20px;
    }
    
    .projects-black-bar {
        width: 90%;
        height: 70px;
    }
    
    .projects-title {
        font-size: 28px;
    }
    
    .projects-content {
        padding: 20px;
        padding-top: 60px;
    }
    
    .project-card {
        flex: 0 0 280px;
    }
    
    .project-image-placeholder {
        height: 320px;
    }
    
    .project-info {
        padding: 30px 15px 15px 15px;
    }
    
    .project-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .project-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .project-button {
        height: 45px;
        font-size: 18px;
    }
    
    .scroll-knob {
        width: 280px;
    }
}

@media (max-width: 480px) {
    .projects-section {
        padding: 20px 15px;
    }
    
    .projects-black-bar {
        width: 95%;
        height: 60px;
    }
    
    .projects-title {
        font-size: 22px;
    }
    
    .project-card {
        flex: 0 0 250px;
    }
    
    .project-image-placeholder {
        height: 280px;
    }
    
    .project-title {
        font-size: 20px;
    }
    
    .project-description {
        font-size: 14px;
    }
    
    .project-button {
        height: 40px;
        font-size: 16px;
    }
    
    .scroll-knob {
        width: 250px;
    }
}

/* Contact Section Styles */
.contact-section {
    background-color: #171716;
    padding: 80px 120px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-content {
    width: 100%;
    max-width: 900px;
    text-align: center;
    position: relative;
}

.contact-title {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 48px;
    color: #ffffff;
    margin: 0 0 80px 0;
    line-height: 1.1;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.contact-text {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 120px;
    text-align: center;
}

.contact-text p {
    margin-bottom: 32px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.contact-text p:last-child {
    margin-bottom: 0;
}

.contact-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-black-bar {
    background-color: #1f1f1f;
    border-radius: 35px;
    padding: 24px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 296px;
    height: 91px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-black-bar:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.contact-button-text {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 800;
    font-size: 44px;
    color: #ffffff;
    line-height: 1;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* Contact Section Responsive Design */
@media (max-width: 1200px) {
    .contact-section {
        padding: 60px 80px;
    }
    
    .contact-title {
        font-size: 40px;
        margin-bottom: 60px;
    }
    
    .contact-text {
        font-size: 22px;
        margin-bottom: 100px;
    }
    
    .contact-button-text {
        font-size: 38px;
    }
}

@media (max-width: 880px) {
    .contact-section {
        padding: 50px 40px;
        min-height: 80vh;
    }
    
    .contact-title {
        font-size: 36px;
        margin-bottom: 50px;
    }
    
    .contact-text {
        font-size: 20px;
        margin-bottom: 80px;
    }
    
    .contact-text br {
        display: none;
    }
    
    .contact-black-bar {
        min-width: 250px;
        height: 80px;
        padding: 20px 30px;
    }
    
    .contact-button-text {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 30px;
        min-height: 70vh;
    }
    
    .contact-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .contact-text {
        font-size: 18px;
        margin-bottom: 60px;
        line-height: 1.5;
    }
    
    .contact-text p {
        margin-bottom: 24px;
    }
    
    .contact-black-bar {
        min-width: 220px;
        height: 70px;
        padding: 18px 25px;
    }
    
    .contact-button-text {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 30px 20px;
        min-height: 60vh;
    }
    
    .contact-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .contact-text {
        font-size: 16px;
        margin-bottom: 50px;
        line-height: 1.4;
    }
    
    .contact-text p {
        margin-bottom: 20px;
    }
    
    .contact-black-bar {
        min-width: 200px;
        height: 60px;
        padding: 15px 20px;
    }
    
    .contact-button-text {
        font-size: 24px;
    }
}

/* Email Modal Styles */
.email-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.email-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.email-modal-content {
    background-color: #1f1f1f;
    border-radius: 20px;
    padding: 0;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.email-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px 30px;
    border-bottom: 1px solid #333;
}

.email-modal-title {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #ffffff;
    margin: 0;
}

.email-modal-close {
    background: none;
    border: none;
    color: #999;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.email-modal-close:hover {
    background-color: #333;
    color: #ffffff;
}

.email-modal-body {
    padding: 30px;
}

.email-modal-text {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 30px 0;
    text-align: center;
}

.email-modal-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.email-option-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    border: 2px solid #333;
    border-radius: 15px;
    background-color: #2a2a2a;
    color: #ffffff;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.email-option-btn:hover {
    border-color: #555;
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.email-option-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.email-option-text {
    flex: 1;
}

.copy-btn:hover {
    border-color: #4CAF50;
    background-color: #2d4a2d;
}

.gmail-btn:hover {
    border-color: #4285F4;
    background-color: #2d3a4a;
}

.email-modal-footer {
    padding-top: 20px;
    border-top: 1px solid #333;
}

.email-disclaimer {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* Email Modal Responsive Design */
@media (max-width: 768px) {
    .email-modal-content {
        width: 95%;
        max-width: 400px;
    }
    
    .email-modal-header {
        padding: 25px 25px 15px 25px;
    }
    
    .email-modal-title {
        font-size: 22px;
    }
    
    .email-modal-body {
        padding: 25px;
    }
    
    .email-modal-text {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .email-option-btn {
        padding: 18px 20px;
        font-size: 15px;
    }
    
    .email-option-icon {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .email-modal-content {
        width: 98%;
        max-width: 350px;
    }
    
    .email-modal-header {
        padding: 20px 20px 15px 20px;
    }
    
    .email-modal-title {
        font-size: 20px;
    }
    
    .email-modal-body {
        padding: 20px;
    }
    
    .email-modal-text {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .email-option-btn {
        padding: 15px 18px;
        font-size: 14px;
    }
    
    .email-option-icon {
        font-size: 16px;
    }
    
    .email-disclaimer {
        font-size: 11px;
    }
}

/* Footer Styles */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #171716;
    position: relative;
    min-height: 1024px;
    padding-bottom: 60px;
}

.footer-background {
    position: absolute;
    background-color: #1e1e1d;
    height: 790px;
    left: 0;
    top: 234px;
    width: 100%;
}

.footer-container {
    text-align: center;
    width: 100%;
    max-width: none;
    position: relative;
    z-index: 1;
    padding-top: 234px;
}

.footer-main-title {
    font-family: 'Noto Rashi Hebrew', sans-serif;
    font-size: 96px;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.1;
    word-break: keep-all;
    overflow-wrap: break-word;
    color: #ffffff;
}

.footer-title-line {
    width: 60%;
    height: 2px;
    background-image: url('./assets/titleLine.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    margin: 25px auto;
    transform: rotate(0.533deg) skewX(0.087deg);
}

.footer-subtitle {
    font-family: 'Noto Rashi Hebrew', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: break-word;
    color: #ffffff;
}

.footer-cursor {
    animation: footerBlink 1s infinite;
    vertical-align: baseline;
    display: inline-block;
    margin-left: 2px;
    position: relative;
    top: -2px;
}

@keyframes footerBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.footer-copyright {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
    background-color: #1e1e1d;
    padding: 20px 0;
}

.footer-copyright p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Footer Responsive Design */
@media (max-width: 1200px) {
    .footer-container {
        padding: 0 20px;
        padding-top: 180px;
    }
    
    .footer-main-title {
        font-size: 72px;
    }
    
    .footer-subtitle {
        font-size: 18px;
    }
    
    .footer-copyright p {
        font-size: 13px;
    }
}

@media (max-width: 880px) {
    .footer {
        min-height: 800px;
    }
    
    .footer-background {
        height: 600px;
        top: 150px;
    }
    
    .footer-container {
        padding: 0 20px;
        padding-top: 150px;
    }
    
    .footer-main-title {
        font-size: 56px;
    }
    
    .footer-subtitle {
        font-size: 16px;
    }
    
    .footer-title-line {
        width: 70%;
    }
    
    .footer {
        padding-bottom: 50px;
    }
    
    .footer-copyright {
        padding: 15px 0;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .footer {
        min-height: 650px;
    }
    
    .footer-background {
        height: 500px;
        top: 100px;
    }
    
    .footer-container {
        padding: 0 20px;
        padding-top: 100px;
    }
    
    .footer-main-title {
        font-size: 42px;
    }
    
    .footer-subtitle {
        font-size: 14px;
    }
    
    .footer-title-line {
        width: 80%;
    }
    
    .footer {
        padding-bottom: 40px;
    }
    
    .footer-copyright {
        padding: 12px 0;
    }
    
    .footer-copyright p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .footer {
        min-height: 550px;
    }
    
    .footer-background {
        height: 400px;
        top: 80px;
    }
    
    .footer-container {
        padding: 0 15px;
        padding-top: 80px;
    }
    
    .footer-main-title {
        font-size: 32px;
    }
    
    .footer-subtitle {
        font-size: 12px;
    }
    
    .footer-title-line {
        width: 90%;
    }
    
    .footer {
        padding-bottom: 30px;
    }
    
    .footer-copyright {
        padding: 10px 0;
    }
    
    .footer-copyright p {
        font-size: 10px;
    }
}

/* 404 Error Page Styles */
.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px 0;
    background-color: #171716;
}

.error-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.error-title {
    font-family: 'Noto Rashi Hebrew', sans-serif;
    font-size: 120px;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.1;
    word-break: keep-all;
    overflow-wrap: break-word;
    color: #ffffff;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fuzzy-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.fuzzy-canvas {
    display: block;
    margin: 0 auto;
    cursor: pointer;
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    font-family: 'Noto Rashi Hebrew', sans-serif;
    color: #fff;
}



.error-title-line {
    width: 60%;
    height: 2px;
    background-image: url('./assets/titleLine.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    margin: 25px auto;
    transform: rotate(0.533deg) skewX(0.087deg);
}

.error-subtitle {
    font-family: 'Noto Rashi Hebrew', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: break-word;
    color: #ffffff;
    margin-bottom: 60px;
}

.error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.error-illustration {
    width: 200px;
    height: 200px;
    background-image: url('./assets/MainIlust.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
}

.error-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 100px;
}

.error-button-container {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.error-button-container:hover {
    transform: translateY(-2px);
}

.error-black-bar {
    background-color: #000000;
    padding: 15px 30px;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.error-black-bar:hover {
    background-color: #1a1a1a;
    border-color: #ffffff;
    transform: scale(1.05);
}

.error-black-bar.secondary {
    background-color: #333333;
}

.error-black-bar.secondary:hover {
    background-color: #444444;
}

.error-button-text {
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.error-message {
    margin-top: 40px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.error-message p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 5px 0;
    line-height: 1.4;
}

.error-message p:first-child {
    font-weight: 700;
    color: #ffffff;
    font-size: 16px;
}

/* 404 Page Responsive Design */
@media (max-width: 1200px) {
    .error-section { 
        padding: 100px 0 60px 0; 
    }
    .error-container { 
        max-width: 700px; 
    }
    .fuzzy-text-container { 
        gap: 15px; 
    }
    .fuzzy-canvas {
        font-size: clamp(2.5rem, 7vw, 7rem);
    }
    .error-actions { 
        margin-top: 80px; 
    }
}

@media (max-width: 880px) {
    .error-section { 
        padding: 80px 0 40px 0; 
    }
    .error-container { 
        max-width: 600px; 
        padding: 0 30px; 
    }
    .fuzzy-text-container { 
        gap: 12px; 
    }
    .fuzzy-canvas {
        font-size: clamp(2rem, 6vw, 6rem);
    }
    .error-actions { 
        margin-top: 60px; 
        gap: 15px; 
    }
    .error-black-bar { 
        padding: 12px 25px; 
    }
    .error-button-text { 
        font-size: 14px; 
    }
}

@media (max-width: 768px) {
    .error-section { 
        padding: 60px 0 30px 0; 
    }
    .error-container { 
        max-width: 500px; 
        padding: 0 25px; 
    }
    .fuzzy-text-container { 
        gap: 10px; 
    }
    .fuzzy-canvas {
        font-size: clamp(1.5rem, 5vw, 5rem);
    }
    .error-actions { 
        margin-top: 50px; 
        flex-direction: column; 
        gap: 15px; 
        align-items: center;
    }
    .error-black-bar { 
        padding: 10px 20px; 
    }
    .error-button-text { 
        font-size: 13px; 
    }
}

@media (max-width: 480px) {
    .error-section { 
        padding: 40px 0 20px 0; 
    }
    .error-container { 
        max-width: 400px; 
        padding: 0 20px; 
    }
    .fuzzy-text-container { 
        gap: 8px; 
    }
    .fuzzy-canvas {
        font-size: clamp(1.2rem, 4vw, 4rem);
    }
    .error-actions { 
        margin-top: 40px; 
        gap: 12px; 
    }
    .error-black-bar { 
        padding: 8px 16px; 
    }
    .error-button-text { 
        font-size: 12px; 
    }
}

@media (max-width: 360px) {
    .error-section { 
        padding: 30px 0 15px 0; 
    }
    .error-container { 
        max-width: 320px; 
        padding: 0 15px; 
    }
    .fuzzy-text-container { 
        gap: 6px; 
    }
    .fuzzy-canvas {
        font-size: clamp(1rem, 3vw, 3rem);
    }
    .error-actions { 
        margin-top: 30px; 
        gap: 10px; 
    }
    .error-black-bar { 
        padding: 6px 12px; 
    }
    .error-button-text { 
        font-size: 11px; 
    }
} 