body {
  margin: 0;
  font-family: Arial, sans-serif;
    background: #0e0d0d;
  color: #7f93b2;
  overflow-x: hidden;
}

/*  */
.top-bar {
  position: fixed;
  width: 100%;
  top: 0;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  z-index: 10;
  background: transparent;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #7f93b2;
  /* color: #7f93b2; */
  padding-left: 20px;
  user-select: none;
}

.nav-links {
  padding-right: 30px;
}

.nav-links a {
  color: #7f93b2;
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
  transition: 0.3s;
}

.nav-links a:hover {
  /* color: #c3cbe5; */
  color: #d6cfa1;

}

/* Social Icons */
.socials {
  position: fixed;
  bottom: 20px; 
  left: 20px;   
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 10;
}

.socials a {
  color: #7f93b2;
  font-size: 26px;
  transition: 0.3s;
}

.socials a:hover {
  /* color: #c3cbe5; */
  color: #d6cfa1;

}

/* --- Home Section --- */
.home {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  position: relative;
}

.avatar-container {
  position: relative;
}

.avatar {
  width: 400px;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(100px);
  transition: transform 1s ease, opacity 1s ease;
}

.home-text {
  margin-left: 20px;
  opacity: 0;
  transform: translateX(50px);
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.name {
  margin: 0;
  font-size: 5rem;
   color: #aec0ff;
}

.home-text p{
  font-size: 2rem;

}

/* --- About Section --- */
.about {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 40px;
}

.avatar-left {
  width: 400px;
  border-radius: 50%;
  opacity: 0;
  transform: translateX(100px);
  transition: transform 1s ease, opacity 1s ease;
}

.about-text {
  max-width: 500px;
  opacity: 0;
  transform: translateX(250px);
  transition: transform 0.8s ease, opacity 0.8s ease;
}
.about-text h2{
    font-size: 3rem;
     color: #aec0ff;
}
.about-text p{
    font-size: 1rem;
}

/* --- Skills Section --- */
.skills {
  padding: 60px 20px;
  text-align: center;
}

.floating-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.floating-icons img {
  width: 50px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* --- Animation Classes --- */
.show-avatar {
  opacity: 1 !important;
  transform: translateY(0px) !important;
}

.move-avatar-right {
  transform: translateX(500px) !important;
}

.show-text {
  opacity: 1 !important;
  transform: translateX(-350px) !important;
}

.move-avatar-left {
  opacity: 1 !important;
  transform: translateX(-100px) !important;
}
.show-about-text {
  opacity: 1 !important;
  transform: translateX(50px) !important;
}

/* --- Projects Section --- */
.projects {
  padding: 20px 50px;
  color: #fff;
  text-align: center;
  position: relative;
}

.section-title {
 font-size: 4vw;
  margin-bottom: 30px;
  color: #aec0ff;
}

.timeline {
  position: relative;
  margin: 0 auto;
  width: 80%;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #7f93b2;
  transform: translateX(-50%);
}

.project-container {
  display: flex;
  justify-content: flex-end;
  position: relative;
  width: 50%;
  padding: 20px;
  opacity: 0;
  transform: translateY(80px);
  transition: all 1s ease;
}

.project-container.left {
  left: 0;
  justify-content: flex-end;
  text-align: right;
}

.project-container.right {
  left: 50%;
  justify-content: flex-start;
  text-align: left;
}

.project-number {
  width: 50px;
  height: 50px;
 background: #d6cfa1;
   color: #0e0d0d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  position: absolute;
  top: 20px;
  z-index: 1;
  font-size: 20px;
}

.project-container.left .project-number {
  right: -25px;
}

.project-container.right .project-number {
  left: -25px;
}

.project-card {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
  max-width: 500px;
  animation: float-card 5s ease-in-out infinite;
}

.project-card h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #d6cfa1;
}

.project-card p {
  font-size: 1rem;
  margin: 10px 0;
}

.tech-icons {
  margin: 10px 0;
  display: flex;
  gap: 12px;
  font-size: 28px;
  align-items: center;
}

.tech-icons i {
  transition: transform 0.3s ease;
}

.tech-icons i:hover {
  transform: scale(1.2);
}


.buttons {
  margin-top: 15px;
}

.btn {
  text-decoration: none;
  background: #7f93b2;
  color: #0e0d0d;
  padding: 8px 14px;
  margin: 0 5px;
  border-radius: 50px;
  transition: 0.3s;
  font-weight: bold;
}

.btn:hover {
  background: #d6cfa1;
  transform: scale(1.05);
}

/* Floating effect for cards */
@keyframes float-card {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* Animation when visible */
.show-project {
  opacity: 1 !important;
  transform: translateY(0px) !important;
}

/* Work Section */
.work-experience {
  padding: 30px 20px 150px 20px;
  color: #d6cfa1;
  text-align: center;
}

.work-experience h2 {
  font-size: 4vw;
  margin-bottom: 40px;
  color: #aec0ff;
}

/* Cards Grid */
.work-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
}

/* Individual Card */
.work-card {
  background: #121212;
  border-radius: 16px;
  padding: 20px;
  width: 250px;
  height: 300px;
  text-align: left;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 10px rgba(214, 207, 161, 0.4);
}

/* Header (Logo + Company Name) */
.company-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.company-logo {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

.company-header h3 {
  font-size: 1.2rem;
  margin: 0;
  color: #cfd5e0;
}

.company-header .role {
  font-size: 1rem;
  font-weight: bold;
  color: #d6cfa1;
}

/* Work details */
.work-details {
  margin: 10px 0;
  font-size: 0.9rem;
  color: #7f93b2;
}

.work-details i {
  margin-right: 6px;
  color: #7f93b2;
}

/* Tech Icons */
.tech-icons {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 1.5rem;
}

.tech-icons i,
.tech-icons img {
  font-size: 28px;
  height: 28px;
}


/* FOOTER */

.section {
  padding:  20px;
  /* background-color: #101820;  */
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
}

.section h2 {
   font-size: 4vw;
  margin-bottom: 30px;
  color: #aec0ff;
  /* font-size: 5vw; */
}

.social-icons a {
  margin: 0 20px;
  font-size: 65px;
  color: #fff;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #d7b64b; 
}

.contact-form {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.contact-form h2{
  font-size: 2rem;
  color: #aec0ff;
  text-align: center;
  margin-top: 0%;
}
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 90%;
  max-width: 500px;
}

.contact-form input,
.contact-form textarea {
  background-color: rgba(255, 255, 255, 0.05);
  border: none;
  padding: 15px;
  font-size: 16px;
  border-radius: 10px;
  color: #e4e4e4;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form button {
  background-color: #aec0ff;
  color: #000;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #d7b64b; 
}
.thank-you{
  font-size: 4vw;
  color: #aec0ff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  /* text-align: center; */
}

/* Full-screen floating dots canvas */
#bg-dots{
  position: fixed;
  inset: 0;
  pointer-events: none;   /* don’t block clicks */
  z-index: -1;            /* sit behind everything */
  /* keep transparent so your body background (#0e0d0d) shows through */
}


