/* ===============================
   RESET & BASE STYLES
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #3a2a2a;
    background-color: #f5f0e6;
}

/* ===============================
   HEADER & NAVBAR
================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #6b0018;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f5f0e6;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #f5f0e6;
}

.nav-links a:hover {
    color: #ede6d8;
}

/* ===============================
   HERO SECTION
================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #f5f0e6;
    padding-top: 100px;
}

.hero-content {
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

/* LEFT TEXT */
.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-text span {
    color: #6b0018;
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* RIGHT IMAGE */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-pic {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #ede6d8;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* ===============================
   BUTTON
================================ */
.btn {
    display: inline-block;
    padding: 0.7rem 1.6rem;
    background: #6b0018;
    color: #f5f0e6;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #4a0011;
    transform: translateY(-2px);
}

/* ===============================
   SECTIONS
================================ */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: auto;
}

h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    color: #6b0018;
}

/* ===============================
   ABOUT
================================ */
.about p {
    text-align: center;
    max-width: 850px;
    margin: auto;
}

/* ===============================
   EDUCATION & EXPERIENCE
================================ */
.education-item,
.experience-item {
    background: #ede6d8;
    padding: 1.8rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* ===============================
   SKILLS
================================ */
.skills-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.skill {
    width: 220px;
    text-align: center;
    margin: 1.5rem;
}

.skill i {
    font-size: 3rem;
    color: #6b0018;
    margin-bottom: 1rem;
}

/* ===============================
   PROJECTS
================================ */
.projects-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.project-card {
    background: #ede6d8;
    border-radius: 14px;
    width: 320px;
    margin: 1.5rem;
    padding: 1.8rem;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    text-align: center;
}

/* ===============================
   CONTACT
================================ */
.contact form {
    max-width: 600px;
    margin: auto;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 0.85rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.social-links {
    text-align: center;
    margin-top: 2rem;
}

.social-links a {
    font-size: 2rem;
    margin: 0 1rem;
    color: #6b0018;
}

/* ===============================
   FOOTER
================================ */
footer {
    background: #4a0011;
    color: #f5f0e6;
    text-align: center;
    padding: 1.2rem;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-subtitle {
        margin: auto;
    }

    .profile-pic {
        width: 240px;
        height: 240px;
    }
}