/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(-45deg, #000124, #070945, #1b1d6b, #323596);
  animation: bgradient 30s ease-in-out infinite;
  background-size: 400% 400%;
  color: #fff;
  min-height: 100vh;
  text-align: center;
}

@keyframes bgradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* NAVBAR */
.navbar {
  background: rgba(19, 9, 54, 0.7);
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-links { display: flex; gap: 40px; }

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 30px;
  transition: 0.3s;
}

.nav-link:hover { background: rgba(123,97,255,0.3); }

/* CONTAINER */
.container { max-width: 1200px; margin: auto; padding: 20px; }

/* HEADER */
.header-section {
  text-align: center;
  padding: 20px;
  margin-bottom: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

.header-section h1 { font-size: 2.5rem; margin-bottom: 10px; }

/* EDUCATION */
.education-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.img-box { width: 150px; height: 150px; overflow: hidden; border-radius: 10px; }
.img-box img { width: 100%; height: 100%; object-fit: cover; }

/* PROJECTS */

.projects-section {
  width: 100%;
  height: 600px;
  background-size: cover !important;
  background-position: center !important;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
}

.wide-button {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  border-radius: 20px;
}

.project-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 25x;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 80px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.project-button {
  display: inline-block;
  background: rgba(123, 97, 255, 0.7);
  padding: 14px 30px;
  font-size: 1.15rem;
  color: #fff;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid rgba(123, 97, 255, 1);
  transition: 0.3s ease;
}

.project-button:hover {
  background: rgba(123, 97, 255, 1);
  transform: scale(1.08);
}

/* FOOTER */
footer {
  background-color: #000;
  border: 2px solid #fff;
  border-radius: 10px;
  padding: 20px;
  margin-top: 50px;
  text-align: center;
}

.social-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.3s ease;
  padding: 10px 15px;
  border-radius: 30px;
}

.social-link:hover {
  background: rgba(123, 97, 255, 0.3);
  transform: translateY(-5px);
}

.social-link img {
  width: 30px;
  height: 30px;
}

footer p {
  color: white;
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .projects-grid { grid-template-columns: 1fr; }
  .header-section h1 { font-size: 2rem; }
  .nav-links { gap: 20px; }
  .nav-link { font-size: 1rem; padding: 8px 15px; }
  .social-container { gap: 15px; }
  .social-link { font-size: 0.9rem; padding: 8px 12px; }
}
