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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ec4899;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-link:hover,
.nav-link.active {
    color: #ec4899;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ec4899;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #ec4899;
    color: white;
}

.btn-primary:hover {
    background: #db2777;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #ec4899;
    border: 2px solid #ec4899;
}

.btn-secondary:hover {
    background: #ec4899;
    color: white;
}

.btn-outline {
    background: transparent;
    color: #ec4899;
    border: 2px solid #ec4899;
}

.btn-outline:hover {
    background: #ec4899;
    color: white;
}

/* 폰트 및 색상 변수 설정 */
:root {
    --primary-blue: #007bff;
    --secondary-pink: #ff69b4;
    --text-dark: #333;
    --text-light: #fff;
    --chip-color: #00d4ff; /* 회로의 네온 블루 색상 */
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Mobile Hero Section */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 100vh;
        padding: 0;
    }
}

/* 배경 이미지 및 효과 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/bg.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* bg3.webp 오버레이 */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/bg3.webp');
    background-size: 39%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
    animation: fadeInOut 20s infinite;
}

/* 페이드 인/아웃 애니메이션 */
@keyframes fadeInOut {
    0% {
        opacity: 1;
    }
    25% {
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    75% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

/* Scroll Down 텍스트 애니메이션 (bg3.png와 반대 타이밍) */
@keyframes scrollTextFade {
    0% {
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* 반응형 배경 이미지 */
@media (max-width: 768px) {
    .hero-section::before {
        background-size: cover;
        background-position: center center;
    }
    
    .hero-section::after {
        background-size: 85%;
        background-position: center center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 100vh;
        min-height: 100vh;
        padding: 0;
    }
    
    .hero-section::before {
        background-size: cover;
        background-position: center center;
    }
    
    .hero-section::after {
        background-size: 101%;
        background-position: center center;
    }
    
    .title-container {
        font-size: 14vw;
    }
    
    .chip-circuit {
        width: 150px;
        height: 150px;
        transform: scale(0.9);
    }
    
    .center-content {
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .bottom-info {
        bottom: 60px;
        width: 95%;
        padding: 0 15px;
    }
    
    .scroll-down-text {
        bottom: 80px;
    }
    
    .scroll-down-text span {
        font-size: 0.9rem;
    }
    
    .scroll-arrow {
        font-size: 1rem;
    }
}


.content-wrapper {
    position: relative;
    z-index: 2;
    padding-top: 50px;
}

/* 중앙 콘텐츠: 이름과 회로 */
.center-content {
    color: var(--text-light);
    margin-bottom: 100px;
}

/* Mobile center content */
@media (max-width: 768px) {
    .center-content {
        margin-bottom: 50px;
        padding: 0 20px;
    }
}

.greeting {
    font-size: 1.5em;
    font-weight: 400;
    margin: 0 0 10px 0;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10vw;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Mobile title container */
@media (max-width: 768px) {
    .title-container {
        font-size: 12vw;
        flex-direction: column;
        gap: 10px;
    }
}

.name-part {
    color: var(--text-light);
}

/* 중앙 IT 칩과 회로 */
.chip-container {
    position: relative;
    margin: 0 -1vw;
}

.chip-circuit {
    position: relative;
    width: 300px;
    height: 300px;
    border: 5px solid var(--chip-color);
    border-radius: 50%;
    box-shadow: 0 0 30px var(--chip-color), inset 0 0 15px var(--chip-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.7);
    margin: 0 20px;
}

/* Mobile chip circuit */
@media (max-width: 768px) {
    .chip-circuit {
        width: 200px;
        height: 200px;
        transform: scale(0.8);
        margin: 0 10px;
    }
}

.chip-it {
    font-size: 3em;
    font-weight: 900;
    color: var(--chip-color);
    text-shadow: 0 0 10px var(--chip-color);
}

/* 키워드 (LOS, POS 등) - 절대 위치 지정으로 회로 주변에 배치 */
.keyword {
    position: absolute;
    font-size: 1.1em;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* LOS 키워드만 흰색으로 설정 */
.keyword.los {
    color: white;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9em;
    font-weight: 500;
}

/* MORTGAGE 키워드 스타일 */
.keyword.mortgage {
    color: white;
    top: 120px;
    left: -120px;
    font-size: 0.9em;
    font-weight: 500;
}
.pos-top { top: -10px; right: -50px; }
.mortgage { top: 60px; left: -120px; }
.automation-top { top: 60px; right: -120px; }
.pos-left { bottom: 60px; left: -120px; }
.automation-bottom { bottom: 60px; right: -120px; }
.ai { bottom: -40px; left: 50%; transform: translateX(-50%); }

/* 하단 텍스트 및 버튼 */
.bottom-info {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 900px;
    color: var(--text-dark);
}

/* Mobile bottom info */
@media (max-width: 768px) {
    .bottom-info {
        bottom: 80px;
        width: 90%;
        padding: 0 20px;
    }
}

.main-title {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 10px;
}

.description {
    font-size: 1.1em;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 30px;
}

/* 버튼 스타일 */
.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn.pink {
    background-color: var(--secondary-pink);
    color: var(--text-light);
    border: 2px solid var(--secondary-pink);
}

.btn.blue {
    background-color: var(--primary-blue);
    color: var(--text-light);
    border: 2px solid var(--primary-blue);
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Scroll Down 텍스트 스타일 */
.scroll-down-text {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 3;
    animation: scrollTextFade 20s infinite;
}

/* Mobile scroll down text */
@media (max-width: 768px) {
    .scroll-down-text {
        bottom: 100px;
    }
}

.scroll-down-text span {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Mobile scroll down text span */
@media (max-width: 768px) {
    .scroll-down-text span {
        font-size: 1rem;
    }
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* Mobile scroll arrow */
@media (max-width: 768px) {
    .scroll-arrow {
        font-size: 1.2rem;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}


/* Skills Section */
.skills {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: #fce7f3;
    color: #be185d;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Featured Projects */
.featured-projects {
    padding: 80px 0;
}

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

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 25%, #8b5cf6 50%, #a855f7 75%, #c084fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.project-content p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

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

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: #ec4899;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #db2777;
}

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

/* About Page */
.about-hero {
    padding: 120px 0 80px;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.about-description {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.core-focus {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #ec4899;
}

.core-focus h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.core-focus p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.contact-info {
    background: #f3f4f6;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #374151;
    font-size: 0.95rem;
}

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

.contact-info a {
    color: #ec4899;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #db2777;
    text-decoration: underline;
}

.about-cta {
    margin-top: 2rem;
    text-align: center;
}

.about-cta .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.interests-cta {
    margin-top: 3rem;
    text-align: center;
}

.interests-cta .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.interests-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.profile-large {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 25%, #8b5cf6 50%, #a855f7 75%, #c084fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(109, 40, 217, 0.5);
    position: absolute;
    top: 80px;
    right: 0;
}

/* Timeline */
.experience {
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #2563eb;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    width: 45%;
    position: relative;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.timeline-content h4 {
    color: #ec4899;
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

/* Education */
.education {
    padding: 80px 0;
    background: #f8fafc;
    display: none;
}

/* Certifications */
.certifications {
    padding: 80px 0;
    background: #fff;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.education-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
}

.education-icon {
    font-size: 3rem;
    color: #ec4899;
    margin-bottom: 1rem;
}

.education-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.education-card h4 {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.education-date {
    color: #ec4899;
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.certification-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e5e7eb;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.certification-icon {
    font-size: 2.5rem;
    color: #ec4899;
    margin-bottom: 0.75rem;
}

.certification-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
    line-height: 1.3;
}

.certification-card h4 {
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.3;
}

.certification-date {
    color: #ec4899;
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
    font-size: 0.9rem;
}

/* Interests */
.interests {
    padding: 80px 0;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.interest-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.interest-item:hover {
    transform: translateY(-5px);
}

.interest-item i {
    font-size: 2.5rem;
    color: #ec4899;
    margin-bottom: 0.75rem;
}

.interest-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
    line-height: 1.3;
}

/* Projects Page */
.projects-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 25%, #8b5cf6 50%, #a855f7 75%, #c084fc 100%);
    color: white;
    text-align: center;
}

.projects-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.projects-subtitle {
    font-size: 1.2rem;
    color: #e5e7eb;
}

.project-categories {
    padding: 40px 0;
    background: #f8fafc;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #2563eb;
    background: #2563eb;
    color: white;
}

.projects-grid-section {
    padding: 80px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.project-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
}

.project-image {
    height: 450px;
    background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 25%, #8b5cf6 50%, #a855f7 75%, #c084fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    max-height: 100%;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    flex-shrink: 0;
    font-weight: 600;
}

.project-overlay p {
    margin-bottom: 1rem;
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.4;
    flex-grow: 1;
    overflow-y: auto;
    max-height: 200px;
}

.project-tech {
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.tech-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    margin: 0.125rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-section {
    padding: 80px 0;
    background: #f8fafc;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.cta-content p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Contact Page */
.contact-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 25%, #8b5cf6 50%, #a855f7 75%, #c084fc 100%);
    color: white;
    text-align: center;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: #e5e7eb;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-section h2,
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1f2937;
}

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

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

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

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

/* Multi-step Form Styles */
.form-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-buttons {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2.5rem;
}

.step-buttons .btn {
    flex: 1;
    max-width: 120px;
}

.form-step h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.form-step label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.75rem;
    display: block;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #fce7f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #ec4899;
    font-size: 1.2rem;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.contact-details p {
    color: #6b7280;
}

.social-links h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #ec4899;
}

.social-link i {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.availability {
    padding: 80px 0;
    background: #f8fafc;
}

.availability-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.availability-status {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-indicator.available {
    background: #10b981;
}

.availability-card p {
    color: #6b7280;
    font-size: 1.1rem;
}

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

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #9ca3af;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #ec4899;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 50px;
    }

    .timeline-marker {
        left: 20px;
    }

    .timeline-content {
        width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

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

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .certification-card {
        padding: 1rem;
    }

    .certification-card h3 {
        font-size: 1.1rem;
    }

    .certification-card h4 {
        font-size: 0.85rem;
    }

    .interests-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .interest-item {
        padding: 1rem;
    }

    .interest-item h3 {
        font-size: 1.1rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-overlay {
        padding: 1rem;
    }

    .project-overlay h3 {
        font-size: 1.1rem;
    }

    .project-overlay p {
        font-size: 0.85rem;
    }
}
