html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0c10;
    color: #ffffff;
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #12161f;
    padding: 15px 50px;
    border-bottom: 2px solid #1f2937;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}

.logo span {
    color: #00f2fe;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #8b949e;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #00f2fe;
}

.about-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px 20px;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1100px;
    flex-wrap: wrap; 
}

.about-image-wrapper {
    position: relative;
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    height: 380px;
    border-radius: 12px;
    overflow: hidden; 
    border: 2px solid #00f2fe;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px #00f2fe;
}

.about-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease; 
}

.main-img {
    opacity: 1;
    z-index: 1;
}

.hover-img {
    opacity: 0;
    z-index: 2;
}

.about-image-wrapper:hover .hover-img {
    opacity: 1;
}

.about-content {
    flex: 1.2;
    min-width: 300px;
}

.about-content h1 {
    font-size: 42px;
    margin-bottom: 5px;
}

.about-content h1 span {
    color: #00f2fe;
}

.about-content h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.about-subtitle {
    color: #00f2fe;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
}

.about-text {
    color: #8b949e;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    color: #00f2fe;
    border: 2px solid #00f2fe;
    background-color: transparent;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background-color: #00f2fe;
    color: #0a0c10;
}

section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #ffffff;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #00f2fe;
    margin: 8px auto 0 auto;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-card {
    background-color: #12161f;
    border: 1px solid #1f2937;
    border-radius: 8px;
    overflow: hidden;
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    transition: 0.3s ease;
}

.gallery-card:hover {
    border-color: #00f2fe;
    transform: translateY(-5px);
}

.img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #0a0c10;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover .img-wrapper img {
    transform: scale(1.05); 
}

.gallery-info {
    padding: 15px;
}

.gallery-info h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 6px;
}

.gallery-info p {
    color: #8b949e;
    font-size: 13px;
    line-height: 1.4;
}

.skills-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.skill-item {
    background-color: #12161f;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #1f2937;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.skill-bar {
    width: 100%;
    height: 10px;
    background-color: #1f2937;
    border-radius: 5px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background-color: #00f2fe;
    width: 0%;
    transition: width 1s ease;
}

.contact-section {
    text-align: center;
}

.contact-subtitle {
    color: #8b949e;
    font-size: 16px;
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background-color: #12161f;
    border: 1px solid #1f2937;
    border-radius: 10px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    min-width: 250px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: #00f2fe;
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.contact-icon {
    color: #00f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-text .label {
    font-size: 12px;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text .value {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 2px;
}

.contact-card:hover .contact-text .value {
    color: #00f2fe;
}


footer {
    text-align: center;
    padding: 20px;
    background-color: #12161f;
    color: #8b949e;
    font-size: 14px;
    border-top: 1px solid #1f2937;
}