* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header and Navigation */
header {
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 100;
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: rgba(30, 33, 36, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.logo h2 {
    font-weight: 600;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ff1f6b;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #ff1f6b;
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Hero Section */
.hero {
    padding: 180px 5% 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    gap: 2rem;
}


.hero-text {
    max-width: 600px;
    flex: 1;
}

.welcome {
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 60px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.accent {
    color: #ff1f6b;
}

.hero h2 {
    font-size: 40px;
    margin-bottom: 30px;
}

.hero p {
    font-size: 16px;
    margin-bottom: 40px;
    color: #b9b9b9;
    max-width: 500px;
}

/* Modified Hero Image Styles */
.hero-image {
    position: relative;
    width: 400px;  /* Reduced from 500px */
    height: 400px; /* Reduced from 500px */
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(45deg, #ff1f6b, #ff758c);
    padding: 3px; /* Reduced padding for thinner border */
    flex-shrink: 0;
    margin-left: auto; /* Helps with alignment */
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 3px;
    background: #0a0a0a;
    border-radius: 50%;
    z-index: 1;
}

.hero-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Adjust this value to move the image up/down */
    border-radius: 50%;
    transition: transform 0.3s ease;
}

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

/* Social and Skills Section */
.connect {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
}

.social h3, .skills h3 {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #b9b9b9;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #2a2d31;
    transition: 0.3s;
    font-size: 18px;
}

.social-icon:hover {
    background-color: #ff1f6b;
    transform: translateY(-5px);
}

.skills-icons {
    display: flex;
    gap: 15px;
}

.skill-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.skill-icon:hover {
    transform: translateY(-5px);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: #ff1f6b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-image {
        width: 350px;
        height: 350px;
    }
    
    .hero-text {
        margin-top: 50px;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero-image {
        width: 400px;
        height: 400px;
    }
    
    .connect {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .social, .skills {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-image {
        width: 280px;
        height: 280px;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #1e2124;
        padding: 20px 0;
        transform: translateY(-200%);
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        transform: translateY(0);
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .hero-image {
        width: 300px;
        height: 300px;
    }
}
/* Add this to your existing CSS */

/* Footer Styles */
.footer {
    background-color: #1e2124;
    padding: 60px 5% 20px;
    margin-top: 100px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: #ff1f6b;
}

.footer-section p {
    color: #b9b9b9;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #b9b9b9;
    font-size: 14px;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: #ff1f6b;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social .social-icon {
    width: 35px;
    height: 35px;
    background-color: #2a2d31;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    font-size: 16px;
}

.footer-social .social-icon:hover {
    background-color: #ff1f6b;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2a2d31;
}

.footer-bottom p {
    color: #b9b9b9;
    font-size: 14px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }
}