:root {
    --primary-color: #ff9f1c;
    /* Energetic Orange */
    --secondary-color: #2ec4b6;
    /* Sky Blue */
    --bg-color: #ffffff;
    --surface-color: #f8f9fa;
    --text-color: #333333;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sections */
.section {
    padding: 140px 0;
}

.bg-light {
    background-color: var(--surface-color);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(255, 159, 28, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(46, 196, 182, 0.1), transparent 40%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tag {
    background: var(--surface-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Hero Profile Images */
.profile-images {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.profile-img {
    position: absolute;
    border-radius: 50%;
    border: 6px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.profile-img.photo {
    width: 240px;
    height: 240px;
    object-fit: cover;
    z-index: 1;
    top: 30px;
    left: 30px;
}

.profile-img.icon {
    width: 160px;
    height: 160px;
    object-fit: cover;
    z-index: 2;
    bottom: 40px;
    right: 40px;
    animation: float 4s ease-in-out infinite;
}

.profile-images:hover .profile-img.icon {
    transform: scale(1.1) rotate(10deg);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 159, 28, 0.3);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-color);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    color: var(--text-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.subsection-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-color);
    border-left: 5px solid var(--secondary-color);
    padding-left: 15px;
}

.mt-large {
    margin-top: 100px;
}

.about-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
    display: block;
    text-decoration: none;
    color: inherit;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.portfolio-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.portfolio-content {
    padding: 20px;
}

.portfolio-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.portfolio-stats {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.portfolio-award {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Udemy Grid */
.udemy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.udemy-card {
    display: flex;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-decoration: none;
}

.udemy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.udemy-img {
    width: 180px;
    object-fit: cover;
}

.udemy-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.udemy-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.udemy-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Activity List */
.activity-list {
    max-width: 800px;
    margin: 0 auto;
}

.activity-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.activity-date {
    width: 100px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--secondary-color);
    text-align: right;
    padding-right: 30px;
    flex-shrink: 0;
    border-right: 3px solid var(--border-color);
}

.activity-content {
    padding-left: 30px;
}

.activity-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* History Grid */
.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.history-item {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.history-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}


/* Interview Section */
.interview-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.interview-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.video-wrapper {
    position: relative;
    width: 315px;
    height: 560px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 5px solid #fff;
}

@media (max-width: 400px) {
    .video-wrapper {
        width: 100%;
        height: auto;
        aspect-ratio: 9 / 16;
    }

    .video-wrapper iframe {
        width: 100%;
        height: 100%;
    }
}

.contact-container {
    text-align: center;
}

.contact-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Presentation Section */
.presentation-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    background: var(--bg-color);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-list {
        gap: 15px;
        font-size: 0.9rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-tags,
    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        display: flex;
        justify-content: center;
        margin-top: 40px;
    }

    .udemy-card {
        flex-direction: column;
    }

    .udemy-img {
        width: 100%;
        height: 200px;
    }

    .activity-item {
        flex-direction: column;
    }

    .activity-date {
        width: 100%;
        text-align: left;
        padding-right: 0;
        border-right: none;
        border-bottom: 3px solid var(--border-color);
        margin-bottom: 10px;
        padding-bottom: 5px;
    }

    .activity-content {
        padding-left: 0;
    }
}

/* About Bio Refined */
.about-bio-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: left;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.about-bio-image img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.about-bio-text {
    flex: 1;
    line-height: 1.8;
    color: var(--text-color);
}

.about-bio-text p {
    margin-bottom: 15px;
}

.about-bio-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-bio-container {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .about-bio-image img {
        width: 140px;
        height: 140px;
    }
}

/* Portfolio Link Styles */
.portfolio-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Activity Link Styles */
.activity-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
}

.activity-link::after {
    content: ' →';
    transition: transform 0.3s ease;
    display: inline-block;
}

.activity-link:hover::after {
    transform: translateX(5px);
}