@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

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

body {
  background: linear-gradient(135deg, #0d0d2b, #191970);
  color: white;
  overflow-x: hidden;
  animation: bgShift 12s ease infinite alternate;
}

@keyframes bgShift {
  0% {
    background: linear-gradient(135deg, #0d0d2b, #191970);
  }
  100% {
    background: linear-gradient(135deg, #10103d, #2626a0);
  }
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 70px;
  background: rgba(15, 15, 70, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.left {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.left span {
  color: rgb(238, 167, 74);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin: 0 18px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav ul li a:hover {
  color: rgb(238, 167, 74);
  transform: scale(1.08);
}

.firstsection {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 90vh;
  padding: 0 8%;
  flex-wrap: wrap;
  gap: 40px;
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.leftsection {
  flex: 1;
  min-width: 320px;
}

.leftsection h3 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.typing-text {
  color: rgb(238, 167, 74);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.leftsection p {
  line-height: 1.8;
  font-size: 1rem;
  color: #dcdcdc;
  margin-bottom: 25px;
}

.btn-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn {
  padding: 12px 22px;
  background: rgb(238, 167, 74);
  border: none;
  color: #000;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: rgb(255, 190, 100);
  transform: translateY(-3px);
}

.btn.outline {
  background: transparent;
  border: 2px solid rgb(238, 167, 74);
  color: white;
}

.btn.outline:hover {
  background: rgb(238, 167, 74);
  color: #000;
}

/* ====== IMAGE SECTION ====== */
.rightsection img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgb(238, 167, 74);
  box-shadow: 0 0 40px rgba(238, 167, 74, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.rightsection img:hover {
  transform: scale(1.1) rotate(2deg);
  box-shadow: 0 0 50px rgba(238, 167, 74, 0.7);
}

footer {
  background: #0e0e1a;
  color: #fff;
  padding: 50px 0 20px;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: auto;
  gap: 40px;
}

.footer-section h3,
.footer-section h4 {
  color: rgb(238, 167, 74);
  margin-bottom: 10px;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: rgb(238, 167, 74);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  font-size: 0.9rem;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  nav {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  .firstsection {
    text-align: center;
    flex-direction: column;
    padding: 60px 20px;
  }

  .rightsection img {
    margin-top: 30px;
  }
}

@media (max-width: 600px) {
  .leftsection h3 {
    font-size: 1.8rem;
  }

  .btn {
    font-size: 14px;
    padding: 10px 18px;
  }

  .rightsection img {
    width: 200px;
    height: 200px;
  }
}
