/* ====== GLOBAL STYLES ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  color: #333;
  background-color: #f5f7fa;
  line-height: 1.6;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ====== HEADER ====== */
header {
  background: #111;
  color: #fff;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  font-size: 1.5rem;
  letter-spacing: 1px;
}

nav a {
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #00adb5;
}

/* ====== HERO SECTION ====== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: unset;
  text-align: center;
  background: linear-gradient(to right, #00adb5, #007b83);
  color: #fff;
  padding: 2rem;
}

.hero img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid #fff;
  margin-bottom: 1.5rem;
  object-fit: cover;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.hero a {
  background: #fff;
  color: #007b83;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: 0.3s;
}

.hero a:hover {
  background: #007b83;
  color: #fff;
}

/* ====== ABOUT ====== */
section {
  padding: 4rem 5%;
}

.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.about img {
  width: 320px;
  max-width: 40%;
  min-width: 220px;
  border-radius: 50%;
  border: 5px solid #00adb5;
  object-fit: cover;
}

.about-text {
  max-width: 600px;
}

/* ====== PROJECTS ====== */
.projects {
  background: #fff;
}

.projects h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.project {
  background: #f1f1f1;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* ====== CONTACT ====== */
.contact {
  background: #00adb5;
  color: #fff;
  text-align: center;
}

.contact h2 {
  margin-bottom: 1rem;
}

.contact a {
  color: #fff;
  font-weight: 600;
}

/* ====== FOOTER ====== */
footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}
