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

body {
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
    background: linear-gradient(180deg, #f6fbff 0%, #fbf7ff 100%);
    color: #333;
    line-height: 1.6;
}


.wrapper {
    max-width: 1000px;
    margin: 18px auto;
    padding: 22px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid rgba(22,22,22,0.03);
    box-shadow: 0 10px 30px rgba(20,30,50,0.04);
}

header {
    background: linear-gradient(90deg, #071a2f 0%, #1b2b4a 100%);
    color: #fff;
    padding: 16px 22px;
}

header h1 {
    font-size: 24px;
}

nav {
    margin-top: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}



nav ul li a {
    text-decoration: none;
    padding: 8px 14px;
    background-color: rgba(255,255,255,0.04);
    color: #e9f2fb;
    border-radius: 6px;
    font-size: 14px;
    transition: transform 120ms ease, background-color 140ms ease;
}

nav ul li a:hover {
    transform: translateY(-2px);
    background-color: rgba(255,255,255,0.08);
}

nav ul li a.active {
    background: linear-gradient(90deg, #6c5ce7, #8e44ff);
    color: #ffffff;
}


.section-block {
    margin-top: 20px;
    padding: 18px 20px;
    border-radius: 8px;
}

.section-block h2 {
    margin-bottom: 10px;
    color: #0b2b4a; 
    font-weight: 700;
    letter-spacing: 0.2px;
}


.intro-text {
    margin-top: 10px;
}


.hero {
    padding: 24px;
    margin-top: 10px;
    background: linear-gradient(135deg, #eef3ff 0%, #f1eefe 100%);
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(25, 45, 60, 0.05);
}


.profile-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.profile-container img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #6c5ce7;
}

.profile-details {
    flex: 1;
    min-width: 200px;
}


ul.simple-list {
    margin-left: 20px;
    margin-top: 10px;
}


.card {
    border: 1px solid rgba(75,65,140,0.06);
    border-radius: 8px;
    padding: 14px;
    margin-top: 10px;
    background: linear-gradient(180deg,#ffffff 0%, #fbfdff 100%);
}


.thumb-wrapper {
    width: 100%;
    height: 320px; 
    overflow: hidden;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: linear-gradient(180deg, rgba(110,84,255,0.03), rgba(240,240,255,0.03));
    border: 1px solid rgba(100,80,220,0.06);
}

.project-thumb {
    width: 100%;
    max-height: 100%;
    object-fit: contain; 
    display: block;
}



.card h3 {
    margin-bottom: 5px;
}


form {
    margin-top: 15px;
}

.form-group {
    margin-bottom: 12px;
}

label {
    display: block;
    margin-bottom: 4px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #bbb;
    border-radius: 4px;
    font-size: 14px;
}

textarea {
    min-height: 100px;
}

button,
input[type="submit"] {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background: linear-gradient(90deg,#6c5ce7,#8e44ff);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

button:hover,
input[type="submit"]:hover {
    filter: brightness(0.94);
}


footer {
    margin-top: 25px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.05);
    font-size: 13px;
    text-align: center;
    color: #6c757d;
}

.footer-inner {
    display:flex;
    gap:10px;
    align-items:center;
    justify-content:center;
}

.footer-inner a { color: #6c5ce7; text-decoration: none; font-weight:600; }
.footer-inner a:hover { text-decoration: underline; }

/* Skill bar UI */
.skill-row {
    display: grid;
    grid-template-columns: 1fr 320px 48px;
    gap: 12px;
    align-items: center;
    margin: 10px 0;
}

.skill-label {
    font-weight: 600;
    color: #0b2b4a;
    font-size: 14px;
}

.skill-bar {
    height: 12px;
    background: rgba(20,20,40,0.06);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(10,10,30,0.03);
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg,#8e44ff,#6c5ce7);
    border-radius: 999px 0 0 999px;
    transition: width 420ms ease;
}

.skill-percent {
    text-align: right;
    font-size: 13px;
    color: #444;
    min-width: 48px;
}

@media (max-width: 720px) {
    .skill-row { grid-template-columns: 1fr 160px 48px; }
}




