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

body {
    font-family: 'DM Sans', sans-serif;
    background-color: #0B1120;
    color: #F1F5F9;
    line-height: 1.8;
}

h1, h2, h3, .logo {
    font-family: 'Syne', sans-serif;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 120px 0; 
}

.section-title {
    font-size: 2.8rem;
    color: #818CF8;
    text-align: center;
    margin-bottom: 60px;
}

/* NAVIGATION  */
.navbar {
    position: sticky;
    top: 0;
    background-color: #0B1120;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 1000;
}

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

.logo {
    color: #818CF8;
    font-size: 1.6rem;
    font-weight: 800;
}

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

.nav-links a {
    text-decoration: none;
    color: #94A3B8;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

/* HERO */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: #6366F1;
}

.hero-content p {
    font-size: 1.1rem;
    color: #94A3B8;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-image img {
    width: 100%;
    border-radius: 40px;
    border: 4px solid #6366F1;
}

/* BUTTONS  */
.btn-primary {
    background-color: #6366F1;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #818CF8;
    transform: translateY(-5px);
}

.btn-secondary {
    border: 2px solid #6366F1;
    color: #6366F1;
    padding: 13px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-secondary:hover {
    background-color: #6366F1;
    color: white;
}

/* ABOUT  */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.timeline {
    border-left: 2px solid #6366F1;
    padding-left: 30px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.dot {
    position: absolute;
    left: -39px;
    top: 8px;
    width: 16px;
    height: 16px;
    background-color: #6366F1;
    border-radius: 50%;
}

/*  SKILLS  */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.skill-card {
    background-color: #111827;
    padding: 50px;
    border-radius: 25px;
    text-align: center;
    border: 1px solid #1E293B;
    transition: 0.3s;
}

.skill-card:hover {
    border-color: #6366F1;
    transform: translateY(-10px);
}

.skill-card i {
    font-size: 2.5rem;
    color: #6366F1;
    margin-bottom: 20px;
}

/* projects */

.project-img-box {
    height: 220px;           
    background-color: #1E293B;
    overflow: hidden;       
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

.project-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.project-info p {
    font-size: 0.9rem;
    color: #94A3B8;
    margin-bottom: 15px;
    line-height: 1.4;
}

.github-link {
    color: #818CF8;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.github-link:hover {
    text-decoration: underline;
}

.tag {
    background-color: rgba(99, 102, 241, 0.1);
    color: #818CF8;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    display: inline-block;
}

/* CONTACT  */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input, textarea {
    background-color: #1E293B;
    border: 1px solid #334155;
    padding: 18px;
    color: white;
    border-radius: 12px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-link {
    background-color: #1E293B;
    color: white;
    text-decoration: none;
    padding: 15px;
    text-align: center;
    border-radius: 12px;
    transition: 0.3s;
}

.social-link:hover {
    background-color: #6366F1;
}

.highlight {
    border: 2px solid #6366F1;
}

/*  FOOTER */
.footer {
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
