/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background: #432c51;
  padding: 15px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ecbc55;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #54a4af;
}

/* Hero */
.hero {
  background: url("./images/hero\ bg-img.jpeg") no-repeat center center/cover;
  position: relative;
  padding: 120px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 1, 18, 0.7);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.hero-text .small-heading {
  font-size: 1rem;
  opacity: 0.9;
}

.main-heading {
  font-size: 2.5rem;
  margin: 10px 0;
}

.highlight {
  color: #ecbc55;
}

.sub-heading {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #54a4af;
}

.hero-buttons .btn {
  margin-right: 15px;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn.teal {
  background: #54a4af;
  color: #fff;
}

.btn.teal:hover {
  background: #432c51;
}

.btn.outline {
  border: 2px solid #ecbc55;
  color: #ecbc55;
}

.btn.outline:hover {
  background: #ecbc55;
  color: #432c51;
}

.hero-img img {
  border-radius: 15px;
  border: 2px solid #ecd8ac;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  width: 280px;
  max-width: 100%;
}

/* About Section */
.about-section {
  padding: 100px 20px;
  background-color: rgb(11, 1, 18);
  transition: opacity 1s ease, transform 1s ease;
  opacity: 0;
  transform: translateY(50px);
}

.about-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
  align-items: center;
}
.info-grid {
  color: #ecd8ac;
}
.about-img img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-content .section-heading {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #f9f8fa;
}
.about-description {
  color: #ecd8ac;
}
.about-highlights {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-highlights span {
  background: #535474;
  color: white;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, background 0.3s;
}

.about-highlights span:hover {
  transform: scale(1.05);
  background: #ecbc55;
  color: #432c51;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .navbar .container {
    justify-content: center;
  }

  .hero {
    padding: 100px 20px;
    text-align: center;
  }

  .main-heading {
    font-size: 2rem;
  }

  .sub-heading {
    font-size: 1rem;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .hero-buttons .btn {
    margin: 0;
    width: 100%;
    max-width: 250px;
  }

  .hero-img img {
    margin: auto;
    display: block;
    width: 200px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-highlights {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .main-heading {
    font-size: 1.8rem;
  }

  .sub-heading {
    font-size: 0.9rem;
  }

  .hero-img img {
    width: 160px;
  }
}
#skills {
  padding: 60px 20px;
  background-color: #1a0d2b;
  color: white;
  font-family: Arial, sans-serif;
}

#skills h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.skills-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center progress bars */
  gap: 50px;
}

/* Technical Skills */
.technical-skills {
  width: 100%;
  max-width: 800px;
}

.skill-category h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  border-bottom: 2px solid #432c51;
  padding-bottom: 5px;
}

.skill {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 10px;
}

.skill i,
.skill .svg-icon {
  font-size: 1.3rem;
  width: 25px;
  height: 25px;
}

/* SVG logos scaling */
.skill .svg-icon {
  width: 25px;
  height: 25px;
  fill: white;
}

/* Progress bar */
.progress {
  flex: 1;
  height: 20px;
  background-color: #432c51;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress .fill {
  height: 100%;
  background: linear-gradient(90deg, #54a4af, #ecbc55);
  width: 0;
  border-radius: 10px;
  text-align: right;
  padding-right: 10px;
  line-height: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: width 2s ease;
}

/* Soft Skills badges */
.soft-skills {
  margin-top: 50px;
  text-align: center;
}

.soft-skill-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.soft-skill-badges span {
  background-color: #432c51;
  padding: 8px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: default;
}

.soft-skill-badges span:hover {
  background: linear-gradient(90deg, #54a4af, #ecbc55);
  color: #1a0d2b;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 900px) {
  .skills-container {
    flex-direction: column;
    align-items: center;
  }

  .technical-skills {
    max-width: 500px;
  }
}
#projects {
  padding: 60px 20px;
  background-color: #0f0818;
  color: white;
  font-family: Arial, sans-serif;
}

#projects h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

/* Grid container */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

/* Project card */
.project-card {
  background-color: #1a0d2b;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 1s ease,
    transform 1s ease;
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0; /* Initially hidden */
  transform: translateY(50px);
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover effect */
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.7);
}

/* Project image */
.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Project info */
.project-info {
  padding: 20px;
  text-align: center;
}

.project-info h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #ecbc55;
}

.project-info p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #ccc;
}

/* Check it out button */
.btn {
  text-decoration: none;
  background-color: #54a4af;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #ecbc55;
  color: #1a0d2b;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
  #projects h2 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .project-card img {
    height: 180px;
  }
}
#contact {
  padding: 80px 20px;
  background-color: #0f0818;
  color: white;
  font-family: Arial, sans-serif;
  text-align: center;
}

#contact h2 {
  font-size: 2.8rem;
  margin-bottom: 50px;
  color: #ECBC55;
}

/* Container */
.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}

/* Contact Info */
.contact-info p {
  margin: 10px 0;
  font-size: 1.1rem;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #54A4AF;
}

/* Social Icons */
.social-icons {
  margin: 20px 0;
}

.social {
  display: inline-block;
  margin: 0 10px;
  font-size: 1.5rem;
  color: #ECBC55;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social:hover {
  transform: scale(1.3) rotate(10deg);
  color: #54A4AF;
}

/* Different colors for each social */
.social.linkedin { color: #0077b5; }
.social.twitter { color: #1da1f2; }
.social.instagram { color: #e1306c; }
.social.github { color: #fff; }

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 30px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  margin: 8px 0;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 8px #54A4AF;
}

.contact-form button {
  padding: 12px;
  border-radius: 25px;
  border: none;
  background-color: #ECBC55;
  color: #0f0818;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.contact-form button:hover {
  background-color: #54A4AF;
  color: white;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 600px) {
  #contact h2 { font-size: 2rem; }
  .social { font-size: 1.3rem; }
}
