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

body {
    font-family: Arial, sans-serif;
    background-image: linear-gradient(black,#1e1e1ecc);
    color: #ffffff;
    line-height: 1.6;
}
 
/* Navigation */
.nav {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 18px;
    transition: color 0.3s;
}

.nav a:hover {
    color: #330e00;
}

/* Hero Section */
#home {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url("./Image/Image1.png") no-repeat center center/cover;
    background-position:center top 65px;
}

#home h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

#home p {
    font-size: 24px;
    color: #ba5847;
}

#home p span {
    margin: 0 10px;
}

/* Projects Section */
#projects {
    padding: 50px 20px;
    text-align: center;
}

#projects h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color:  #a1a1a1;
}

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

.project-tile {
    background: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s, background 0.3s;
     text-decoration: none;
}

.project-tile:hover {
    transform: translateY(-5px);
    background: #330e00;
}

.project-tile img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.project-tile h3 {
    font-size: 24px;
    margin-bottom: 10px;
     text-decoration: none;
}

.project-tile p {
    color: #a1a1a1;
    font-size: 16px;
     text-decoration: none;
}

/* About Section */


#about {
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
    white-space: pre;
}
#about h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #a1a1a1;
}

#about img {
    width: 300px;
    height: 300px;
    border-radius: 8px;
}

#about p {
    max-width: 900px;
    color: #a1a1a1;
    font-size: 18px;
}

#about2 {
    padding: 50px 20px;
    text-align: center;
}

#about2 h2 {
    font-size: 36px;
   
    color: #a1a1a1;
}

#about2 p {
    font-size: 18px;
  
}

#about2 a {
    color: #ffffff;
    text-decoration: none;
   
    transition: color 0.3s;
}

#about2 a:hover {
    color: #330e00;
}




/* Contact Section */
#contact {
    padding: 50px 20px;
    text-align: center;
}

#contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #a1a1a1;
}

#contact p {
    font-size: 18px;
    margin-bottom: 10px;
}

#contact a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

#contact a:hover {
    color: #330e00;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/*project2 Section*/


#projects2 {
    padding: 50px 20px;
    text-align: center;
}

#projects2 h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #a1a1a1;
}

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

.project2-tile {
    background: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s, background 0.3s;
}

.project2-tile:hover {
    transform: translateY(-5px);
    background: #330e00;
}

.project2-tile img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.project2-tile h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.project2-tile p {
    color: #a1a1a1;
    font-size: 16px;
}



#home2 {
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  
}

#home2 h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

#home2 p {
    font-size: 24px;
    color: gray;
}

#home2 p span {
    margin: 0 10px;
}