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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}
body {
  background-color: #000;
  color: #fff;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #58a6ff;
}

a,
i,
button,
.hamburger-menu,
.side-nav-close {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
  border-radius: 10px;
}

.hamburger-menu i:active,
.side-nav-close i:active {
  transition: color 0.2s;
  color: #58a6ff;
}
.highlight {
  color: #58a6ff;
}
.main-container,
.gradient-bg {
  background: linear-gradient(to left, #58a6ff29, #000000);
}

/* NAVIGATION SECTION */
.nav-container {
  z-index: 2;
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.5); /* translucent */
  -webkit-backdrop-filter: blur(10px); /* for Safari */
  backdrop-filter: blur(10px); /* blur effect */
  box-shadow: #58a6ff4d 0px 1px;
  padding: 10px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (min-width: 800px) {
  .main-container,
  .home-main-container {
    position: relative;
  }
  .nav-container {
    z-index: 2;
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.5); /* translucent */
    backdrop-filter: blur(10px); /* blur effect */
    -webkit-backdrop-filter: blur(10px); /* for Safari */
    box-shadow: rgba(88, 166, 255, 0.3) 0px 1px;
  }
}
.nav-left {
  font-size: 2.3rem;
  font-weight: 700;
}
.nav-right {
  display: flex;
  gap: 1.5rem;
}
.nav-link-color.active {
  color: #58a6ff;
}
/* Hamburger menu styles */
.hamburger-menu {
  display: none;
  font-size: 24px;
  cursor: pointer;
}
/* Side navigation styles */
.side-nav {
  height: 0;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #000;
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.side-nav-links {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.side-nav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 20px;
  transition: 0.3s;
}
.side-nav a:hover {
  color: #58a6ff;
}
.side-nav-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 36px;
  cursor: pointer;
}
.nav-left-new {
  position: absolute;
  top: 15px;
  left: 20px;
  color: white;
}
.nav-left-new a {
  padding: 0;
  font-size: 2.3rem;
  font-weight: 700;
}
.nav-left-new a:hover {
  color: #58a6ff;
}
@media screen and (max-width: 800px) {
  body {
    background-color: #000;
    color: white;
  }
  .nav-right {
    display: none;
  }
  .hamburger-menu {
    display: block;
  }
} /* PROFILE SECTION */
.my-profile {
  margin: 80px 20px 20px 20px;
  height: 500px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.profile-left {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.my-profile-greet {
  font-size: 1.2rem;
  opacity: 0.8;
}
.my-profile-intro {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 10px 0;
}
.my-profile-description {
  max-width: 600px;
  margin-bottom: 30px;
  font-weight: 300;
  color: #d0d0d0;
}
.resume-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.resume-btn a {
  border: 1px solid #58a6ff;
  padding: 10px 20px;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.resume-btn a:hover {
  background-color: #58a6ff25;
  color: #58a6ff;
}
.profile-right {
  display: flex;
  justify-content: center;
  align-items: center;
}
.profile-right img {
  border: 2px solid #58a6ff50;
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 9999px;
}

/* VIEW MY WORK BUTTON */
.view-my-work-btn {
  margin-left: 50px;
  margin-bottom: 2px;
}
.view-my-work-btn a {
  border: 1px solid #58a6ff;
  padding: 10px 20px;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.view-my-work-btn a:hover {
  background-color: #58a6ff25;
  color: #58a6ff;
}

.view-more-projects {
  margin-top: 12px;
  margin-right: 50px;
  margin-bottom: 60px;
  display: flex;
  justify-content: flex-end;
}
@media screen and (max-width: 800px) {
  .nav-container {
    height: 10vh;
    padding: 12px 24px;
  }
  .my-profile {
    margin-top: 3px;
    flex-direction: column-reverse;
    align-items: center;
    height: 78vh;
    margin: 0;
  }
  .profile-left {
    width: 95%;
    align-items: center;
    margin: 10px 0;
  }
  .my-profile-intro {
    font-size: 1.4rem;
  }
  .my-profile-description {
    margin: 16px 0 18px 0;
    text-align: justify;
    padding: 0 10px;
  }
  .profile-right img {
    width: 130px;
    height: 130px;
  }
  .resume-btn {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .resume-btn a,
  .view-my-work-btn a {
    font-size: 1rem;
    padding: 5px 10px;
  }
  .view-my-work-btn {
    margin-left: 15px;
    height: 10vh;
  }
} /* MY WORK SECTION */
.my-work-container {
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.work-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 20px;
  border-radius: 10px;
}
.work-card-left {
  flex: 1;
  min-width: 300px;
}
.work-card-left h2 a {
  font-size: 1.5rem;
  font-weight: 600;
}
.work-card-left p {
  margin: 10px 0;
  font-weight: 300;
  color: #bbb;
}
.card-skills-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.card-skills-btn div {
  background: #58a6ff20;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  transition: 0.3s;
}
.card-skills-btn div:hover {
  background: #58a6ff40;
}
.work-card-right img {
  display: block;
  max-height: 80%;
  border-radius: 10px;
}
@media screen and (max-width: 800px) {
  .my-work-container {
    padding: 40px 20px;
  }
  .work-card {
    padding: 0px;
    flex-direction: column-reverse;
    gap: 0;
  }
  .work-card-left {
    width: 90%;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .work-card-right {
    margin: 10px;
  }
  .card-skills-btn {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
} /* ABOUT SECTION */
.about-section {
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-container {
  margin: 20px auto;
  width: 50%;
  margin-left: 150px;
  display: flex;
  flex-direction: column;
  line-height: 1.8;
  gap: 20px;
}
.about-container h1 {
  font-weight: 500;
  font-size: 40px;
  color: #58a6ff;
  margin-bottom: 40px;
}
.about-container h2 {
  margin-top: 20px;
  font-weight: 500;
  font-size: 20px;
  color: white;
}
.about-container p {
  font-weight: 300;
  font-size: 18px;
  color: white;
}
.about-circular-image {
  position: absolute;
  top: 300px;
  right: 100px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: rgba(88, 166, 255, 0.4) -5px 5px,
    rgba(88, 166, 255, 0.3) -10px 10px, rgba(88, 166, 255, 0.2) -15px 15px,
    rgba(88, 166, 255, 0.1) -20px 20px, rgba(88, 166, 255, 0.05) -25px 25px;
}
.about-circular-image img {
  border: 1px solid white;
  border-radius: 50%;
  width: 200px;
}
@media screen and (max-width: 800px) {
  .about-section {
    margin: 20px 15px;
  }
  .about-container {
    margin: 0;
    width: 90%;
  }
  .about-circular-image {
    display: none;
  }
}
/* PROJECT SECTION */

.project-section {
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: 100px;
  padding-right: 100px;
}
.project-section h1 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #58a6ff;
  margin-bottom: 50px;
  text-align: left;
}
.project-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.project-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}
.project-card.reverse {
  flex-direction: row-reverse;
}
.project-image {
  position: relative;
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  overflow: hidden;
}
.project-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}
.project-image .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s ease;
}
.project-image .overlay div {
  font-size: 18px;
  font-weight: 400;
}
.project-image:hover .overlay {
  opacity: 1;
}
.overlay .text {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
.project-details {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.project-details h2 a {
  font-size: 1.5rem;
  font-weight: 600;
  transition: color 0.2s;
}
.project-details h2 a::after {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-left: 12px;
  background-image: url('./images/arrow-up-right.svg');
  background-size: contain;
  background-position: bottom;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.project-details h2 a:hover::after {
  opacity: 1;
}
.project-details h2 a:hover {
  color: #58a6ff;
}
.project-details p {
  font-weight: 300;
  color: #ccc;
  line-height: 1.6;
}
.project-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.project-skills span {
  background-color: #58a6ff25;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  transition: background-color 0.3s;
}
.project-skills span:hover {
  background-color: #58a6ff40;
}

@media screen and (max-width: 800px) {
  .project-section {
    padding: 0 20px;
  }
  .project-container {
    width: 100%;
  }
  .project-card,
  .project-card.reverse {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .project-image {
    max-width: 100%;
  }
  .project-details {
    width: 100%;
  }

  .project-skills {
    justify-content: center;
  }
}
/* SKILL SECTION */
.skills-container {
  margin: 40px auto;
  padding: 0 80px;
  max-width: 1200px;
  min-height: 80vh;
}

.skills-header {
  text-align: center;
  margin: 60px auto 40px;
}

.skills-header h1 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #58a6ff;
}

.skills-header p {
  padding-top: 8px;
  font-size: 1.1rem;
  font-weight: 300;
  color: #a1b1c6;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.skills-category {
  background: #161b22;
  border: 1px solid #30363d;
  padding: 20px;
  border-radius: 10px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.skills-category:hover {
  background-color: #20262d;
  transform: translateY(-4px);
}

.skills-category h2 {
  font-size: 1.25rem;
  font-weight: 500;
  color: #58a6ff;
  margin-bottom: 12px;
}

.skills-category h2::after {
  content: '';
  display: block;
  height: 2px;
  margin-top: 8px;
  background: linear-gradient(90deg, #58a6ff, transparent);
}

.skill-item {
  font-size: 1.05rem;
  margin: 8px 0;
  color: #e1e6eb;
  transition: all 0.2s ease;
}

.skill-item:hover {
  transform: translateX(4px);
  color: #58a6ff;
}

.bullet {
  display: inline-block;
  margin-right: 8px;
  width: 6px;
  height: 6px;
  background-color: #58a6ff;
  border-radius: 50%;
  vertical-align: middle;
}

@media screen and (max-width: 768px) {
  .skills-container {
    padding: 0 20px;
  }

  .skills-header h1 {
    font-size: 2rem;
  }

  .skills-header p {
    font-size: 1rem;
  }
}

/* CONTACT SECTION */
.contact-section {
  margin: 60px 20px;
}
.contact-section h1 {
  font-size: 2.5rem;
  font-weight: 500;
  color: #58a6ff;
  margin-bottom: 40px;
  margin-left: 150px;
}
.contact-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 50px;
}
/* Success/Error messages */
.success {
  color: #58ff9b;
  font-weight: 400;
  margin-top: 10px;
}

.error {
  color: #ff6961;
  font-weight: 400;
  margin-top: 10px;
}

.contact-form {
  background-color: #1a1a1a;
  padding: 30px;
  border-left: 2px solid #58a6ff;
  border-radius: 15px;
  width: 40%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.199);
}
.contact-form form {
  display: flex;
  flex-direction: column;
}
.contact-form label {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: white;
}
.contact-form input,
.contact-form textarea {
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 20px;
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  background-color: #333;
  color: white;
}
.contact-form textarea {
  resize: vertical;
  overflow: auto;
}
.contact-form button {
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  background-color: rgb(87, 165, 255);
  color: white;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}
.contact-form button:hover {
  background-color: rgba(87, 165, 255, 0.615);
  transform: scale(1.01);
}
#response {
  min-height: 16px;
}
.contact-details {
  width: 30%;
  text-align: left;
}
.contact-details h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: white;
}
.contact-details p {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #cccccc;
}
.social-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: white;
  background-color: #1a1a1a;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}
@media screen and (max-width: 800px) {
  .contact-section {
    margin: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .contact-section h1 {
    font-size: 2rem;
    margin: 1rem 0;
  }
  .contact-container {
    flex-direction: column;
  }
  .contact-form {
    padding: 20px;
    width: 100%;
  }
  .contact-details {
    width: 100%;
  }
  .social-links a {
    margin-bottom: 16px;
  }
}
.social-links a:hover {
  color: white;
  background-color: rgba(87, 165, 255, 0.5);
}
/* FOOTER SECTION */
.footer-container {
  margin-top: 40px;
  padding: 40px 80px;
  background: #111;
}
.footer-section {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  color: #aaa;
  font-size: 1.1rem;
  font-weight: 100;
}

@media screen and (max-width: 800px) {
  .footer-container {
    padding: 30px 20px;
  }
  .footer-section {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    font-size: 0.9rem;
  }
}
