b/* Reset default margin and padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*  styles */
body {
  font-family: Arial, sans-serif;
  color: white;
  line-height: 1.6;
  padding: 20px;
  background-color: #121212; 
}

/* Header with background image  */
header {
  position: relative;
  background-image: url("bg4.png"); /* background image for header */
  background-size: cover;
  background-position: center;
  padding: 3rem 1rem;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 2rem;
  overflow: hidden;
  color: white;
}

header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.6); /* dark overlay */
  z-index: 0;
}

header h1, header p {
  position: relative;
  z-index: 1;
}

/* styles */
section {
  position: relative;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  min-height: 300px;
  color: white;
  overflow: hidden;
}


section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

/* Make sure that the content appears above overlay */
section * {
  position: relative;
  z-index: 1;
}

/* Trying Different backgrounds for each section */
#about {
  background-image: url("bg.png");
  background-size: cover;     
  background-position: center;
  background-repeat: no-repeat;
  min-height: 300px;
}


#projects {
  background-image: url("bg1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#skills {
  background-image: url("bg4.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#skills::before {
  background-color: rgba(0, 0, 0, 0.3);
}


#resume {
  background-image: url("bg3.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#contact {
  background-image: url("bg5.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Footer with background image*/
footer {
  position: relative;
  background-image: url("bg5.png");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  border-radius: 12px;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

footer p {
  position: relative;
  z-index: 1;
}

/* styles */
a {
  color: #88c0d0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Lists styles */
ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}


@media (max-width: 600px) {
  body {
    padding: 10px;
  }
  header, section, footer {
    padding: 1rem;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
}
