:root {
    --primary-color: #ffd700;
    --secondary-color: #333;
    --text-color: #ffffff;
    --background-color:var(--primary-color);
}

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

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation Styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(18, 18, 18, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color:aqua;
    margin-left: 10%;
}

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

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

/* Home Section */
.home {
    display: flex;
    align-items: center;
    justify-content:space-around;
    height: 80vh;
    padding: 0 10%;
    background-color: var(--background-color);
    margin-top: 60px;
}

.home-content {
    flex: 1;
}

.home-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    padding-left: 10%;
}

.highlight {
    color: var(--primary-color);
}

.typed-text {
    font-size:x-large;
    height: 70px;
    padding-left: 10%;
    color:blueviolet;
}

/* .social-links {
    margin-top: 1.5rem;
    max-width: fit-content;
    
}

.social-icon {
    color:aqua;
    margin-left: 10%;
    font-size: 1.7rem;
    transition: color 0.3s ease;
    
    flex-direction:row;
    margin-inline-start: 20%;
    margin-right: 20px;
    
}

.social-icon:hover {
    color: var(--primary-color);
} */

.social-links {
    display: flex;
    justify-content:left;
    align-items: center;
    gap: 20px;
    margin-left: 10%;
}

.social-icon {
    color: #00ffff;
    font-size: 1.7rem;
    transition: color 0.3s ease;
    text-align: center;
}

.social-icon:hover {
    color: #0088ff;
}

.home-image img {
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-inline-end: 10%;
    
    
}

/* About Section */
.about {
    padding: 5rem 10%;
    background-color: #1e1e1e;
    color: #00ffff;
}

.about-details {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-image img {
    max-width: 300px;
    border-radius: 10px;
}

.skills {
    margin-top: 1.5rem;
}

.skill {
    margin-bottom: 1rem;
}

.skill-bar {
    background-color: #333;
    height: 10px;
    border-radius: 5px;
}

.skill-level {
    background-color: var(--primary-color);
    height: 100%;
    border-radius: 5px;
    
}

/* Resume Section */
.resume {
    padding: 5rem 10%;
    text-align: center;
    color:green;
}

.resume-content {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    color:yellow;
    
    
    
}

.resume-item {
    background-color:#2c3e50;
    padding: 2rem;
    border-radius: 10px;
    width: 40%;
    font-weight: bold;
}

/* Projects Section */
.projects {
    padding: 5rem 10%;
    background-color: #1e1e1e;
    color: #ffd700;
}

.project-grid {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.project-card {
    width: 45%;
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: scale(1.05);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-card h3, .project-card p {
    padding: 1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 10%;
    text-align: center;
    color:yellowgreen;
}

.contact-methods {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color:white;
    padding: 1.5rem;
    border-radius: 10px;
    width: 22%;
    color:brown;
}

.contact-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #1e1e1e;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .home, .about-details, .resume-content, .project-grid, .contact-methods {
        flex-direction: column;
        align-items: center;
    }

    .home-content, .about-image, .resume-item, .project-card, .contact-item {
        width: 100%;
        margin-bottom: 2rem;
    }
}
/* Add these to your existing CSS */
:root {
    --primary-color: #ffd700;
    --secondary-color: #333;
    --text-color: #ffffff;
    --background-color: #121212;
    --accent-color: #4a4a4a;
}

/* Global Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Enhanced Section Styles */
section {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.3s;
}

/* Navigation Enhancements */
nav {
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.nav-links a {
    position: relative;
    transition: all 0.3s ease;
}

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

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

/* Projects Section Advanced */
.projects {
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
}

.project-grid {
    gap: 2rem;
}

.project-card {
    background-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: 0 15px 45px rgba(0,0,0,0.4);
}

.project-card img {
    transition: transform 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

/* Skills Section Enhanced */
.skills {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    padding: 1.5rem;
    border-radius: 15px;
}

.skill-bar {
    background-color: rgba(255,255,255,0.1);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}

.skill-level {
    background: linear-gradient(to right, var(--primary-color), #FFE455);
    animation: expandBar 1.5s ease-out forwards;
}

@keyframes expandBar {
    from { width: 0; }
    to { width: attr(data-width); }
}

/* Hover Effects */
.social-icon, .contact-item, .github-link {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon:hover, .contact-item:hover, .github-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive Improvements */
@media screen and (max-width: 768px) {
    .project-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .project-card {
        width: 100%;
        margin-bottom: 2rem;
    }
}

/* Additional Subtle Animations */
body {
    background: linear-gradient(45deg, #121212, #1a1a1a);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Update home section image styles */
.home-image img {
    width: 500px;  
    height: 400px;
    border-radius: 80%;  
    object-fit: cover;  
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);  
    border: 3px solid var(--primary-color);  
}

/* Add this if you need to ensure the container doesn't affect the circle */
.home-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.home {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 50px 0;
}

.button-container {
    position: absolute;
    right: 20%;
    top: 80%;
    right:50%;
    left:20%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.hire-btn {
    background-color: #4CAF50;
    color: white;
}

.download-btn {
    background-color: #2c3e50;
    color: white;
}

.btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}
.github-link{
    color:#0088ff
}