.introduction{

    background-image: url("../images/homebackground.png");
    background-size:100vw;
    background-repeat: no-repeat;
    margin-left: auto;
    margin-right: auto;
    padding: 15%;
    min-height: 0;
    background-attachment: fixed;
    color: black;
    font-size: 1.6vw;
    text-align: center;
}
.bimage{
    background-image: url("../images/textblur.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size:80%;
    padding: 2em;
}
.myj{
    text-align: center;
    font-size: 25px;
    font-weight: bolder;
    margin-top: 1em;
    margin-bottom: 1em;
}
.myp{
    text-align: center;
    margin: 1em 10em 5em;
    font-size: 25px;
}
.connect{
    text-align: center;
    font-size: 25px;
}
.simg {
    width: 25%;
    float: left;
    margin-bottom: 3em;
}
#connectTitle{
    margin-bottom: 2em;
}
/* start of new code*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ubuntu', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    font-weight: 300;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

h1, h2, h3, h4 {
    font-weight: 500;
}

/* 1. HERO SECTION */
.hero {
    height: 100vh; /* Full screen height */
    background-image: url('hero-illustration.png'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark shade over the image */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-content {
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent rectangle */
    padding: 2rem 5rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.hero-content h2 {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.peace-symbol {
    font-size: 2rem;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    color: #fff;
}

/* SECTION TITLES */
h3 {
    text-align: center;
    font-size: 2.5rem;
    margin: 4rem 0 2rem;
    position: relative;
    padding-bottom: 1rem;
}

h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background-color: #333;
}

/* 2. ABOUT ME SECTION */
.about {
    text-align: center;
    font-size: 1.25rem;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 3px solid #eee;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.skills-tagline {
    font-size: 1.1rem;
    font-style: italic;
    color: #777;
    margin-top: 3rem;
}

/* 3. MY WORK SECTION */
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 3rem;
    margin-top: 3rem;
}

.project-card {
    background-color: #fff;
    padding: 0rem;
    border: 1px solid #eee;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.project-card p {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 1.5rem 0 1rem;
}
.project-description {
    text-align:center;
    padding: 1rem;
}
.project-logo, .project-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 8px 8px 0px 0px;
    object-fit: cover;
}

.project-description {
    color: #666;
    font-size: 0.95rem;
    padding: 1.2rem;
}

/* 4. MY INTERESTS SECTION */
.interest-block {
    max-width: 900px;
    margin: 0 auto 5rem auto;
    background-color: #fff;
    padding: 0;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}
#imgslide {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-radius: 10px 10px 0px 0px;

}

.interest-main-img {
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 10px 10px 0px 0px;

}

.interest-sub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.interest-sub-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.interest-block p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: 5%;
}

/* 5. EDUCATION SECTION */
.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
}

.education-item {
    padding-left: 1rem;
    border-left: 2px solid #eee;
}

.education-item:first-child {
    border-left: none; /* Only the right item has a left border */
}

.education-item h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.education-item p {
    color: #777;
    margin-bottom: 0.25rem;
}

/* 6. MY LINKS (FOOTER) SECTION */
.links {
    text-align: center;
    padding: 4rem 2rem;
    margin-top: 5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.social-icons img {
    width: 80px; /* Adjust size of LinkedIn/GitHub icons */
    height: auto;
    transition: transform 0.2s;
}

.social-icons img:hover {
    transform: scale(1.1); /* Slight hover zoom */
}
