@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins';
    background: #121212;
    color: #fff;
}

.container {
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

.divider {
    border: none;
    border-top: 2px solid #fff;
    margin: 40px auto;
    width: 80%;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Navbar Section */
nav {
    position: sticky;
    top: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    border-radius: 30px;
    margin: 20px auto;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

nav a:hover {
    color: rgba(255, 255, 255, 0.3);
}

.profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.logo {
    font-size: 20px;
    font-weight: 700;
}

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

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: 0.2s;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-top: 80px;
}

.hero-left .hero-pic {
    width: 400px;
    height: 400px;
    border-radius: 20px;
    object-fit: cover;
}

.hero-right {
    flex: 1;
    flex-direction: column;
    gap: 18px;
}

.hero-name {
    font-size: 48px;
    font-weight: 700;
}

.hero-role {
    font-size: 28px;
    font-weight: 600;
    color: #bbb;
}

.btn-discuss {
    margin-top: 2em;
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color:#fff;
    border-radius: 16px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 200;
    transition: 0.3s;
}

.btn-discuss:hover {
    background: rgba(255, 255, 255, 0.3);
}

.social-media {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-media .icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    transition: 0.3s;
}

.social-media .icon:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* About Section */
.about {
    margin-top: 40px;
    text-align: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: justify;
    line-height: 1.6;
}

.about-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
}

.about-circles {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.about-icon {
    width: 50px;
    height: 50px;
    padding: 4px;
    border-radius: 50%;
    background: #fff;
    transition: 0.3s;
}

.about-icon:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Projects Section */
.projects {
    margin-top: 40px;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.project-top {
    background: #fff;
    max-height: 160px;
}

.project-pic {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.project-bottom {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 24px 18px 20px 18px;
    text-align: left;
    min-height: 240px;
}

.project-bottom h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
    color: #4f8cff;
}

.project-bottom p {
    margin: 0;
    font-size: 14px;
    color: #fff;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.tech-badge {
    background: #4f8cff;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    padding: 6px 12px;
    border-radius: 18px;
    display: inline-block;
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact {
    margin-top: 40px;
    text-align: center;
}

.contact-info {
    flex: 1 1 260px;
    display: flex;
    margin-bottom: 40px;
    flex-direction: column;
    gap: 22px;
    background: rgba(255, 255, 255, 0.1);
    padding: 32px 24px;
    border-radius: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-size: 1rem;
}

.info-item i {
    font-size: 1.3rem;
    color: #4f8cff;
}

/* Footer */
.footer {
    text-align: center;
    padding: 24px 0 18px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
}