/* ==== Reset & Base Styles ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f8f5f2; /* Vintage White */
  color: #3d3d3d; /* Dark Gray */
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #3d3d3d;
}

ul {
  list-style: none;
}

/* ==== Navbar ==== */
.navbar {
  background-color: #b5838d; /* Dusty Rose */
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.nav-items ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-items a {
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-items a:hover {
  color: #6d6875; /* Muted Purple */
}

/* ==== Hamburger ==== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
   margin-left: auto; 
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* ==== Responsive Navbar ==== */
@media (max-width: 768px) {
  .nav-items {
    display: none;
    position: absolute;
    top: 65px;
    right: 20px;
    background: #6d6875; /* Muted Purple */
    width: 220px;
    padding: 15px;
    border-radius: 10px;
  }

  .nav-items ul {
    flex-direction: column;
    gap: 15px;
  }

  .nav-items.show {
    display: block;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}
/* ==== Hire Section ==== */
.hire-section {
  background-color: #6d6875; /* Muted Purple */
  padding: 100px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  position: relative;
}

.hire-container {
  background-color: #ffffff; /* White card */
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  color: #3d3d3d;
}
.hire-section h2{
  color: white;
  font-size: 2.5rem;
}
.hire-section p {
  color: #f8f5f2;
  font-size: 1.2rem;
  margin-bottom: 40px;
}
/* Heading and paragraph */
.hire-container h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
   color: #6d6875;
}

.hire-container p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #3d3d3d;
}

/* Form styling */
.hire-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.hire-form input,
.hire-form textarea {
  width: 100%;
  max-width: 500px;
  padding: 14px 16px;
  border: 1.5px solid #6d6875;
  border-radius: 10px;
  font-size: 1rem;
  background-color: #fdfdfd;
  color: #3d3d3d;
  transition: all 0.3s ease;
}

.hire-form input:focus,
.hire-form textarea:focus {
  outline: none;
  border-color: #b5838d;
  box-shadow: 0 0 8px rgba(109, 104, 117, 0.2);
}

.hire-form input::placeholder,
.hire-form textarea::placeholder {
  color: #999;
}

/* Button */
.hire-form button {
  background-color: #b5838d;
  color: white;
  padding: 14px 30px;
  font-size: 1rem;
  border: 2px solid #b5838d;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.hire-form button:hover {
  background-color: #ffffff;
  color: #b5838d;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(109, 104, 117, 0.2);
}

/* Back to portfolio link */
.back-home {
  margin-top: 25px;
}

.back-home a {
  text-decoration: none;
  color: #b5838d;
  font-weight: bold;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.back-home a:hover {
  color: #6d6875;
}


/* ==== Hero Section ==== */
.hero {
  padding: 60px 10%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background-color: #f8f5f2; /* vintage white */
}
.hero-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 0 5%;
  flex-direction: row;
}

.hero-left {
  flex: 1;
  text-align: left;
}
.hero-right {
  flex: 2;
  text-align: left;
}
.hero-image {
  max-width: 280px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-right {
  flex: 2;
  padding: 20px;
}

.hero-right h1 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #6d6875;
}
.typed-text{
  color: #6d6875; /* Sage Green */
  font-weight: bold;
}
.hero-right p {
  font-size: 18px;
  margin-bottom: 20px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.button {
  background-color: #b5838d;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #6d6875;
}
@media (min-width: 768px) {
  .hero-container {
    flex-direction: row;
  }

  .hero-left,
  .hero-right {
    text-align: left;
  }
}

/* ==== Section Headings ==== */
section h2 {
  text-align: center;
  margin: 60px 0 30px;
  font-size: 28px;
  color: #6d6875;
  position: relative;
}

section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #b5838d;
  margin: 8px auto 0;
  border-radius: 2px;
}

/* ==== About Section ==== */
.about-box {
  max-width: 700px;
  margin: auto;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(181, 131, 141, 0.1);
  text-align: center;
}

/* ==== Skills Section ==== */
.skills-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  padding: 0 10%;
}

.skill-category {
  flex: 1 1 300px;
  background-color: #f2e9e4;
  padding: 20px;
  border-radius: 10px;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.skill-pill {
  background-color: #b5838d;
  color: white;
  padding: 8px 15px;
  border-radius: 25px;
  font-size: 14px;
}

/* ==== Projects Section ==== */
.project-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 0 10%;
}

.project-card {
  width: 300px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-card h3 {
  margin-top: 10px;
  font-size: 20px;
  color: #6d6875;
}

.project-card p {
  padding: 10px 15px;
  color: #555;
}

.github-btn {
  display: inline-block;
  background-color: #b5838d;
  color: white;
  padding: 8px 15px;
  margin-bottom: 15px;
  border-radius: 20px;
  transition: background-color 0.3s;
}

.github-btn:hover {
  background-color: #6d6875;
}

/* ==== Contact Section ==== */
.contact-container {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 0 10%;
}

.contact-info {
  flex: 1;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.contact-form button {
  background-color: #b5838d;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  margin-bottom: 10px;
}

.contact-form button:hover {
  background-color: #6d6875;
}

/* ==== Footer ==== */
.footer {
  background-color: #6d6875;
  color: white;
  padding: 40px 10%;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.footer-column h2,
.footer-column h3 {
  margin-bottom: 15px;
  color: #b5838d;
}

.footer-column p,
.footer-column a {
  color: #f3f3f3;
  font-size: 14px;
}

.footer-column a:hover {
  color: #a3b18a;
}

.social-links {
  margin-top: 10px;
}

.social-links a {
  margin-right: 10px;
  color: #dddddd;
  font-size: 20px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #dddddd44;
  padding-top: 10px;
  font-size: 14px;
  color: #ccc;
}

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

  .hero-buttons {
    justify-content: center;
  }

  .skills-box,
  .project-container,
  .footer-container,
  .contact-container {
    flex-direction: column;
    align-items: center;
  }
}

/* For medium screens */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }

  .navbar {
    padding: 15px 30px;
  }

  .hero-left,
  .hero-right {
    flex: 1 1 100%;
    text-align: center;
  }

  .hero-container {
    flex-direction: column;
    gap: 40px;
  }

  .hero-image {
    max-width: 220px;
  }

  .skills-box,
  .project-container,
  .contact-container,
  .footer-container {
    padding: 0 5%;
  }
}

/* For small screens */
@media (max-width: 600px) {
  html {
    font-size: 14px;
  }

  .navbar {
    flex-direction: column;
    padding: 10px 20px;
  }

  .nav-items ul {
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
    text-align: center;
  }

  .hero-right h1 {
    font-size: 1.8rem;
  }

  .hero-right p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .button {
    width: 80%;
    text-align: center;
  }

  .project-card {
    width: 90%;
  }

  .skills-box {
    gap: 15px;
  }

  .skill-category {
    flex: 1 1 100%;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    width: 100%;
    margin-bottom: 20px;
  }

  .footer .social-links {
    justify-content: center;
  }
}

/* Image scaling fix */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
