/* ==== Base Reset ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #0f0f0f;
  color: #fff;
}

/* ==== Header ==== */
header {
  background: #1a1a1a;
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

nav ul li a {
  color: #c084fc;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: #a855f7;
  border-bottom: 2px solid #a855f7;
}

/* ==== Sections ==== */
section {
  padding: 100px 50px;
  text-align: center;
}
.about-widget {
  background-color: #1a1a1a;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
}

.about-card {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #f5f5f5;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  transition: opacity 0.4s ease-in-out;
}

.widget-nav {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.arrow-btn {
  background-color: #c084fc;
  color: #0f0f0f;
  font-weight: bold;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.arrow-btn:hover {
  background-color: #9333ea;
}

.about-text h2,
.container h2 {
  font-size: 50px;
}

/* ==== Fade-In Animation ==== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ==== Home Section ==== */
.home-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.split {
  flex-direction: row;
}

.home-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
  padding-right: 30px;
}

.home-text h2 {
  margin-bottom: 10px;
}

.home-text h1 {
  font-size: 48px;
  margin: 10px 0;
}

.home-text span {
  color: #c084fc;
}

.home-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.home-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 50%;
  border: 5px solid #c084fc;
  transition: transform 0.3s ease;
}

.home-image img:hover {
  transform: scale(1.05);
}

/* ==== Button ==== */
.btn {
  display: inline-block;
  margin: 10px 10px 0 0;
  padding: 10px 25px;
  background-color: #c084fc;
  color: #0f0f0f;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.btn:hover {
  background-color: #9333ea;
  box-shadow: 0 0 10px #c084fc;
}

/* ==== Buttons Container ==== */
.buttons {
  margin-top: 20px;
}

/* ==== Experience Cards ==== */
.experience-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.experience-card {
  background: #ffffff;
  color: #000;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.experience-card h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #333;
}

.experience-card ul {
  list-style: disc inside;
  padding-left: 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==== Projects ==== */
.project-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.project-card {
  background: #fff;
  color: #000;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.project-card h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #333;
}

.project-card p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #555;
}

.project-card .btn {
  background-color: #c084fc;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

.project-card .btn:hover {
  background-color: #9333ea;
}

/* ==== Contact Section ==== */
.contact {
  padding: 50px 20px;
  text-align: center;
}

.contact h2 {
  margin-bottom: 30px;
}

form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

form input,
form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: none;
  border-radius: 8px;
  background-color: #fff;
  color: #0f0f0f;
  font-size: 16px;
}

form button.btn {
  width: 100%;
  background-color: #a855f7;
  color: #fff;
  border: none;
  padding: 15px 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.3s;
}

form button.btn:hover {
  background-color: #9333ea;
}

/* ==== Footer ==== */
footer {
  background: #1a1a1a;
  padding: 10px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}

/* ==== Responsive Design ==== */
@media (max-width: 768px) {
  .home-content {
    flex-direction: column;
    text-align: center;
  }

  .home-text {
    padding-right: 0;
    text-align: center;
  }

  .home-image img {
    margin-top: 30px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }
}
