body {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  margin: 0;
}

.body_section {
  padding: 3% 5% 1%;
}

a {
  text-decoration: none;
}

@font-face {
  font-family: "Lovely Home";
  src: local("Lovely Home"), url("Image/LovelyHome-9aBZ.ttf") format("truetype");
}

.brand-name,
.navbar-light .navbar-brand {
  font-family: "Lovely Home";
  font-size: 50px;
  font-weight: bold;
  color: #351458;
}

@media only screen and (max-width: 764px) {
  .brand-name,
  .navbar-light .navbar-brand {
    font-size: 40px;
  }
}

.headerachor {
  color: black;
  margin: 0 7px 0 7px;
  font-size: 25px;
}

.headerachor:hover {
  background-color: #f1f1f1;
}

/* --------- Skills Hero --------- */
.skills-hero {
  padding: 4% 0 1%;
}

.skill-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

.skills-title {
  font-family: "Montserrat", sans-serif;
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #1f1f1f;
}

.skills-subtitle {
  font-weight: 400;
  font-size: 18px;
  color: #868e96;
  max-width: 520px;
}

/* --------- Full Width Grid --------- */
.skills-grid-wrap {
  padding: 2% 0 3%;
}

/* Make it fill the page nicely */
.skills-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 992px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skills-title {
    font-size: 44px;
  }
}

/* --------- Skill Card --------- */
.skill-card {
  background: #ffffff;
  border: 2px solid #cfcaff;
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.28);
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.skill-card-header h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #2a1454;
}

.skill-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f1efff;
  border: 2px solid #cfcaff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6c63ff;
  font-size: 18px;
}

/* --------- Chips --------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 2px solid #cfcaff;
  background: #f5f4ff;
  color: #2a1454;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

/* Optional hover for chips */
.chip:hover {
  background: #6c63ff;
  color: #ffffff;
  border-color: #6c63ff;
}

/* --------- Dark Mode Compatibility (if your dark-mode.css adds a class) --------- */
body.dark-mode .skills-title {
  color: #f2f2f2;
}

body.dark-mode .skills-subtitle {
  color: #c3c7cf;
}

body.dark-mode .skill-card {
  background: #1c1c22;
  border-color: #3a355e;
}

body.dark-mode .skill-card-header h3 {
  color: #f2f2f2;
}

body.dark-mode .chip {
  background: #2a263c;
  border-color: #3a355e;
  color: #f2f2f2;
}

footer {
  padding-top: 2%;
  color: #868e96;
  text-align: center;
}
