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

/* BODY */
body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #e0c3fc, #8ec5fc);
    color: #222;
}

/* LAYOUT */
.container {
    display: flex;
}

/* SIDEBAR */
.sidebar {
    width: 220px;
    height: 100vh;
    padding-top: 10px;
    position: fixed;
    background: linear-gradient(180deg, #d9a7c7, #fffcdc);
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sidebar ul {
    list-style: none;
    padding: 40px 25px;
}

.sidebar li {
    margin: 28px 0;
}

.sidebar a {
    text-decoration: none;
    color: #222;
    font-size: 18px;
    transition: 0.3s;
    font-size: 19px;   /* slightly bigger */
    letter-spacing: 0.5px;
}


.sidebar a:hover {
    color: #007bff;
    padding-left: 5px;
}

/* MAIN */
.main {
    margin-left: 220px;
    width: 100%;
    padding: 40px;
}

/* HERO SECTION */
.infocontainer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 1100px;
    margin: auto;
    min-height: 80vh;   /* removes empty space */
}

/* TEXT */
.devInfo h1 {
    font-size: 60px;
    margin-bottom: 10px;
}
.devInfo {
    flex: 1;
}

.devInfo h2 {
    font-size: 30px;
    color: #555;
    margin-bottom: 15px;
}

.devInfo p {
    font-size: 17px;
    line-height: 1.7;
    max-width: 100%;   /* full width */
}

.devPic {
    flex: 1;
    display: flex;
    justify-content: center;  /* keeps image closer */
}

.devPic img {
      /* slightly smaller = better balance */
    border-radius: 12px;
    width: 380px;   /* increase size */
    height: auto;   /* maintain ratio */
}
.typing {
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}

/* SOCIAL ICONS */
.social-links {
    margin-top: 15px;
}

.social-links a {
    font-size: 22px;
    margin-right: 10px;
    color: #333;
}

.social-links a:hover {
    color: #007bff;
}

/* SKILLS */
.skillcontainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* 2 columns */
    gap: 20px;
    margin-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(3, 1fr);
}
.Intro {
    text-align: center;
}






.skillItem {
    background: white;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transition: 0.3s;
    font-size: 17px;
}
.skillItem i {
    font-size: 20px;
    color: #007bff;
}


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

/* PROJECTS */
.project-box {
    background: white;
    padding: 20px;
    margin: 15px 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.project-title {
    font-size: 22px;
    margin-bottom: 10px;
}

/* BUTTON */
.view-button {
    margin-top: 10px;
    
    border: none;
   
    color: white;
   
    cursor: pointer;
    background: linear-gradient(45deg, #007bff, #00c6ff);
    border-radius: 25px;
    padding: 8px 18px;
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
}

.view-button:hover {
    background: #0056b3;
    transform: scale(1.05);
}

/* CONTACT FORM */
.contactform input,
.contactform textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.contactform button {
    margin-top: 15px;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
}
.btn:hover {
    background: #0056b3;
    transform: scale(1.05);
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .main {
        margin-left: 0;
    }

    .infocontainer {
        flex-direction: column;
        text-align: center;
    }

    .devPic img {
        width: 200px;
    }
    .skillcontainer {
        grid-template-columns: 1fr;  /* back to single column */
    }
}

.skillItem,
.project-box {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.skillItem:hover,
.project-box:hover {
    transform: translateY(-8px) scale(1.02);
    transition: 0.3s ease;
}
.moreabout {
   
    line-height: 1.5;
    
    width: 100%;
    max-width: 1000px;   /* nice readable width */

}
.moreabout p {
    margin-bottom: 15px;
}
