:root {
    --bg-color: #050505;
    --card-white: #ffffff;
    --text-white: #ffffff;
    --text-grey: #888888;
    --text-dark: #121212;
    --accent-mint: #FF6600;
    --accent-blue: #00FFBF;
    --font-main: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: var(--font-main);
    overflow-x: hidden;
}

.layout-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    padding: 50px 40px;
    position: relative;
}

aside.profile-sidebar {
    height: 100%;
}

.profile-card {
    background: var(--card-white);
    color: #000;
    border-radius: 30px;
    padding: 30px 20px;
    text-align: center;
    position: sticky;
    top: 40px;
    height: calc(100vh - 80px);
    max-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.profile-header-decoration {
    position: relative;
    width: 100%;
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.dashed-line {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 1;
    opacity: 0.8;
    pointer-events: none;
}

.dashed-line path {
    stroke: var(--accent-mint);
}

.profile-image-wrapper {
    width: 190px;
    height: 230px;
    background-color: var(--accent-mint);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: normal;
    filter: grayscale(100%) contrast(1.2);
}

.profile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    width: 100%;
}

.profile-name {
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    color: black;
}

.flame-icon {
    background: var(--card-white);
    color: var(--accent-mint);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    font-size: 0.9rem;
    border: 1px solid #eee;
}

.profile-bio {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: auto;
    max-width: 90%;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
}

.social-links a {
    color: #000;
    font-size: 1rem;
    transition: 0.3s;
    width: 38px;
    height: 38px;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--accent-mint);
    color: white;
    border-color: var(--accent-mint);
}

.main-content {
    width: 100%;
}

.top-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    background: #111;
    padding: 8px;
    border-radius: 16px;
}

.nav-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1rem;
    position: relative;
}

.nav-icon:hover, .nav-icon.active {
    background: #222;
    color: #fff;
}

.nav-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    white-space: nowrap;
    z-index: 100;
}

.nav-icon:hover::after {
    opacity: 1;
    bottom: -45px;
}

.hero-header {
    margin-bottom: 100px;
}

.title-wrapper {
    margin-bottom: 40px;
}

.big-title {
    font-size: clamp(4rem, 8.5vw, 8rem);
    font-weight: 900;
    line-height: 0.85;
    text-transform: uppercase;
    letter-spacing: -2px;
    color: white;
    margin: 0;
}

.big-title.outline {
    color: transparent;
    -webkit-text-stroke: 2px #333;
}

.hero-desc {
    color: #888;
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 60px;
    line-height: 1.6;
}

.stats-row {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.highlight-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

.card-box {
    border-radius: 30px;
    height: 250px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    color: #000;
    transition: all 0.4s ease;
    cursor: pointer;
}

.card-box:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.certificate-card {
    background: linear-gradient(90deg, var(--accent-mint), var(--accent-blue));
    background-image: 
        linear-gradient(90deg, var(--accent-mint), var(--accent-blue)),
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.1) 0%, transparent 20%),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 10px);
    background-blend-mode: overlay, normal, normal, normal;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
}

.card-text h3 {
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.4;
    max-width: 90%;
}

.card-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 1.2rem;
    border: 1px solid rgba(0,0,0,0.2);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    color: #000;
    transition: background-color 0.3s, color 0.3s;
}

.card-box:hover .card-arrow {
    background-color: rgba(0,0,0,0.1);
}

.section-block {
    margin-bottom: 120px;
}

.section-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 60px;
    color: white;
}

.dark-text {
    color: #1a1a1a;
    display: block;
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.project-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #1a1a1a;
    transition: border-color 0.3s;
}

.project-row:hover {
    border-color: #333;
}

.project-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.project-thumb {
    width: 100px;
    height: 70px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.project-row:hover .project-thumb {
    filter: grayscale(0%);
}

.project-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.project-info p {
    color: #666;
    font-size: 0.9rem;
}

.arrow-link {
    color: var(--accent-mint);
    font-size: 1.3rem;
    transform: rotate(-45deg);
    transition: transform 0.3s;
}

.project-row:hover .arrow-link {
    transform: rotate(0deg);
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.exp-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 30px;
}

.exp-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.exp-content p {
    color: #888;
    max-width: 500px;
    line-height: 1.5;
    margin-bottom: 10px;
    font-size: 1rem;
}

.exp-date {
    color: #666;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.exp-check {
    color: var(--accent-blue);
    font-size: 1.4rem;
    margin-top: 5px;
    cursor: default;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tool-item {
    background: #111;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: background 0.3s;
}

.tool-item:hover {
    background: #1a1a1a;
}

.tool-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: black;
}

.tool-icon img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.tool-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.tool-info span {
    color: #666;
    font-size: 0.9rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.input-group {
    margin-bottom: 30px;
}

.input-group label {
    display: block;
    color: #666;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    background: #111;
    border: 1px solid #222;
    padding: 20px;
    border-radius: 16px;
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: 0.3s;
}

.input-group input:focus, 
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent-mint);
}

.input-group textarea {
    height: 150px;
    resize: none;
}

.submit-btn {
    background: var(--accent-mint);
    color: #000;
    border: none;
    padding: 20px 0;
    width: 100%;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
}

.submit-btn:hover {
    background: #cc5200;
}

footer {
    border-top: 1px solid #1a1a1a;
    padding-top: 50px;
    padding-bottom: 50px;
}

.footer-btn-container {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.footer-btn {
    padding: 12px 25px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
}

.footer-btn.mint {
    background: var(--accent-mint);
    color: #000;
}

.footer-btn.blue {
    background: var(--accent-blue);
    color: white;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: #111;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    border: 1px solid #333;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.modal-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
}

.certificates-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding-right: 10px;
}

.cert-item {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
    border: 1px solid transparent;
}

.cert-item:hover {
    background: #222;
    border-color: var(--accent-mint);
}

.cert-item i {
    color: var(--accent-mint);
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: var(--accent-mint);
}

.video-container {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 1200px) {
    .layout-container {
        grid-template-columns: 1fr;
        max-width: 700px;
        padding: 40px 20px;
    }

    .profile-card {
        position: relative;
        top: 0;
        height: auto;
        max-height: none;
        padding: 40px;
        margin-bottom: 60px;
    }
    
    .big-title {
        font-size: 5rem;
        letter-spacing: -2px;
    }
    
    .highlight-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .big-title {
        font-size: 3.5rem;
    }
    
    .stats-row {
        gap: 30px;
        flex-wrap: wrap;
    }

    .form-row, .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .project-left {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-icon::after {
        display: none;
    }
}