/* Base Styles */
:root {
    --black: #000000;
    --white: #ffffff;
    --gray-dark: #222222;
    --gray-medium: #444444;
    --gray-light: #f0f0f0;
    --accent-color: #555555;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--black);
    overflow-x: hidden;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
section {
    padding: 100px 0;
    position: relative;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    color: var(--white);
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
}
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.4s ease;
    border: 1px solid var(--white);
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.btn:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    font-weight: 600;
}

.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    z-index: -1;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--white);
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--gray-light);
    font-weight: 400;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--gray-light);
    max-width: 500px;
}

.hero-links {
    display: flex;
    gap: 15px;
}

.hero-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: transparent;
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--white);
}

.hero-links a:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-5px);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    position: relative;
}

.hero-image .image-wrapper {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 5px solid var(--gray-medium);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 25px;
    color: var(--gray-light);
    font-size: 1.1rem;
}

.about-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
    text-align: left;
}

.about-info > div {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.about-info h3 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.about-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--white);
}

.about-info p {
    color: var(--gray-light);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* Experience Section */
.experience-item {
    margin-bottom: 40px;
    padding: 40px;
    background-color: var(--gray-dark);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border-left: 3px solid var(--white);
}

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

.experience-item h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--white);
}

.experience-date {
    color: var(--gray-light);
    margin-bottom: 15px;
    font-style: italic;
    font-size: 0.9rem;
}

.experience-details {
    list-style-position: inside;
}

.experience-details li {
    margin-bottom: 10px;
    color: var(--gray-light);
    position: relative;
    padding-left: 15px;
}

.experience-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--white);
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--gray-dark);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    border-top: 3px solid transparent;
}

.project-card:hover {
    transform: translateY(-10px);
    border-top: 3px solid var(--white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.project-date {
    color: var(--gray-light);
    margin-bottom: 15px;
    font-style: italic;
    font-size: 0.9rem;
}

.project-details {
    margin-bottom: 25px;
}

.project-details li {
    margin-bottom: 10px;
    color: var(--gray-light);
    position: relative;
    padding-left: 20px;
}

.project-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--white);
}

.project-links {
    display: flex;
    gap: 15px;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category {
    background-color: var(--gray-dark);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    border-left: 3px solid var(--white) !important;
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.skill-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--white);
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    margin-bottom: 12px;
    color: var(--gray-light);
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
}

.skill-category li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--white);
    font-size: 1.1rem;
}

/* Certifications Section */
.certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.certification-item {
    background-color: var(--gray-dark);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.certification-item:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--white);
}

.certification-item h3 {
    font-size: 1.2rem;
    color: var(--white);
}

/* Achievements Section */
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

.achievement-item {
    background-color: var(--gray-dark);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.achievement-item h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.achievement-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--white);
}

.achievement-item ul {
    list-style-position: inside;
}

.achievement-item li {
    margin-bottom: 10px;
    color: var(--gray-light);
}

.coding-profiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.coding-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.coding-profile:hover {
    transform: translateY(-5px);
}

.coding-profile img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: grayscale(100%) brightness(1.5);
    transition: filter 0.3s ease;
}

.coding-profile:hover img {
    filter: grayscale(0%) brightness(1);
}

.coding-profile span {
    color: var(--gray-light);
    font-size: 0.9rem;
    text-align: center;
}

/* Contact Section */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content p {
    margin-bottom: 40px;
    color: var(--gray-light);
    font-size: 1.1rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background-color: var(--gray-dark);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--black);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero .container {
        flex-direction: column-reverse;
    }
    
    .hero-content {
        padding-right: 0;
        margin-top: 50px;
        text-align: center;
    }
    
    .hero-links {
        justify-content: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-info {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .achievement-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .project-grid, .skills-grid, .certification-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image .image-wrapper {
        width: 250px;
        height: 250px;
    }
    
    .coding-profiles {
        grid-template-columns: repeat(2, 1fr);
    }
}
