/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: #ffffff;
    color: #666666;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 60px;
}

.nav-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #42446e;
}

.social-icons {
    display: flex;
    gap: 22px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero-section {
    margin-top: 100px;
    padding: 100px 100px 150px;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
}

.hero-content {
    flex: 1;
}

.hero-text {
    font-family: 'Poppins', sans-serif;
    font-size: 58px;
    font-weight: 700;
    line-height: 70px;
    letter-spacing: -1px;
    display: flex;
    flex-direction: column;
}

.greeting,
.intro,
.tagline {
    color: #d9d9d9;
}

.name {
    background: linear-gradient(90deg, #13B0F5 -2.06%, #E70FAA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-image {
    flex-shrink: 0;
}

.profile-image {
    width: 367px;
    height: 367px;
    border-radius: 50%;
    object-fit: cover;
    border: 9px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(180deg, #E70FAA 0%, #13B0F5 100%) border-box;
}

/* Tech Stack Section */
.tech-stack-section {
    padding: 100px 100px;
    background-color: #ffffff;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #42446e;
    text-align: center;
    margin-bottom: 30px;
}

.section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #666666;
    text-align: center;
    margin-bottom: 80px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 80px 90px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    justify-items: center;
}

.tech-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.github-icon {
    color: #000000;
}

/* Projects Section */
.projects-section {
    padding: 100px 100px;
    background-color: #ffffff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.project-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 2px 2px 100px rgba(0, 0, 0, 0.20);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 2px 2px 120px rgba(0, 0, 0, 0.25);
}

.project-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.project-content {
    padding: 27px 28px 25px;
}

.project-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 17px;
}

.project-description {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 26px;
    color: #666666;
    margin-bottom: 12px;
}

.project-tech {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #666666;
    margin-bottom: 21px;
}

.project-links {
    display: flex;
    gap: 48px;
    align-items: center;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #42446e;
}

.link-icon {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    padding: 60px 100px 50px;
    background-color: #ffffff;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 71px;
    margin-bottom: 40px;
}

.contact-item {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #42446e;
}

.footer-social-icons {
    display: flex;
    gap: 22px;
    align-items: center;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.footer-social-icon:hover {
    transform: scale(1.1);
}

.footer-divider {
    border: none;
    border-top: 2px solid #666666;
    margin: 40px 0 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav {
    display: flex;
    gap: 50px;
}

.footer-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #42446e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #13B0F5;
}

.footer-copyright {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #666666;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .nav-container,
    .hero-section,
    .tech-stack-section,
    .projects-section,
    .footer {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (max-width: 1200px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 60px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-menu {
        gap: 30px;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        font-size: 48px;
        line-height: 60px;
    }
    
    .profile-image {
        width: 300px;
        height: 300px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .section-subtitle {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .hero-text {
        font-size: 36px;
        line-height: 48px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .tech-icon {
        width: 80px;
        height: 80px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .nav-container,
    .hero-section,
    .tech-stack-section,
    .projects-section,
    .footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero-text {
        font-size: 28px;
        line-height: 38px;
    }
    
    .profile-image {
        width: 250px;
        height: 250px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 20px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 20px;
    }
}