
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  color: #333;
  line-height: 1.6;
  background: #f9f9f9;
}

header {
  background: #222;
  color: #fff;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00bcd4;
}

#hero {
  /* background: linear-gradient(to right, #00bcd4, #006f9b); */
  color: black;
  text-align: center;
  padding: 80px 20px;
}

#hero h1 {
  font-size: 2.5rem;
}

#hero span {
  color: white;
  text-shadow: 3px 3px 8px#222;
}

#hero .btn {
  background: #fff;
  color: #000000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  display: inline-block;
  border: 1px solid#000000;
  border-radius: 8px;
  transition: 0.3s all;
}

#hero .btn:hover {
  background: #000;
  color: #fff;
  padding: 11px 22px;
}

section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

html {
  scroll-behavior: smooth;       /* Smooth scrolling effect */
  scroll-padding-top: 80px;      /* Offset space for sticky navbar */
}

h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #222;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;         /* Allows items to wrap to the next line */
  gap: 15px;               /* Space between items */
  justify-content: center; /* Center align horizontally */
}

.skill {
  flex: 1 1 150px;         /* Grow, shrink, and base width of 150px */
  max-width: 200px;        /* Optional: Limit the max width of each box */
  background: #fff;
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.skill:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.project-card {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

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

.projects-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;         /* Allows items to wrap to the next line */
  gap: 15px;               /* Space between items */
  justify-content: center; /* Center align horizontally */
  align-items: center;
}

.project-card {
  width: 30%;
  height: 240px;
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

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

.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(125, 115, 115, 0.1);
}

.timeline-item h3 {
  color: #000;
}

.contact-info {
  list-style: none;
  text-align: center;
  margin-top: 15px;
}

.contact-info li {
  margin: 10px 0;
}

footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
}
