/* 🔧 Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: #333;
  background-color: #fafafa;
}
.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

/* 🧭 Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}
.logo {
  font-size: 28px;
  font-weight: 700;
  color: #111;
}
.site-nav {
  margin-top: 10px;
}
.site-nav a {
  text-decoration: none;
  color: #333;
  margin-right: 20px;
  font-weight: 500;
  transition: color 0.3s ease;
}
.site-nav a:hover {
  color: #555;
}

/* 🚀 Hero Section */
.hero {
  background: url('ai.jpg') center/100% 100% no-repeat;
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5); /* dark overlay for readability */
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
}
.hero .btn {
  margin-top: 10px;
}


/* 🔘 Button Styles */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: 2px solid;
  border-radius: 6px;
  transition: all 0.3s ease;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.btn-primary {
  border-color: #fff;
  color: #fff;
  background-color: transparent;
}
.btn-primary:hover {
  background-color: #fff;
  color: #333;
}

.link-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


.btn-white {
  display: inline-block;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: 2px solid #333;
  border-radius: 6px;
  background-color: #fff;
  color: #333;
  transition: all 0.3s ease;
  letter-spacing: 0.03em;
  cursor: pointer;
  min-width: 220px;
  text-align: center;
}
.btn-white:hover {
  background-color: #333;
  color: #fff;
}

/* 📌 Section Titles & Text */
section {
  padding: 60px 0;
}
section h3 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
}
section p,
section li {
  font-size: 16px;
  color: #555;
}

/* 🛠️ Projects Section */
.projects {
  background: #fff;
}
.projects ul {
  list-style: square;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}
.projects li {
  margin-bottom: 10px;
}

/* 🏅 Badge Gallery */
.badge-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}
.badge-gallery img {
  width: 100%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.badge-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 📱 Responsive Gallery */
@media (max-width: 1024px) {
  .badge-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .badge-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .badge-gallery {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .link-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* 🖼️ Modal Viewer */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.modal img {
  max-width: 75vw;
  max-height: 75vh;
  border-radius: 16px;
}
.modal span {
  color: white;
  font-size: 40px;
  position: absolute;
  top: 20px;
  right: 35px;
  cursor: pointer;
}
.caption {
  color: white;
  margin-top: 10px;
  font-size: 16px;
  text-align: center;
}

/* 📬 Footer */
.site-footer {
  background: #222;
  color: #aaa;
  text-align: center;
  padding: 30px 0;
  font-size: 14px;
}
