body {
  background-color: #E6EEF4; /* Pale Blue Gray */ /*#FFFFFF; /* Replace with Clean White */ /* #121212; /* Very dark grey/black */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #A6A9B6; /* Replace with Lighter Silver/Gray */ /*#333333; /* Replace with Charcoal Gray */ /*#ddd;*/
  margin: 0;
  padding: 0;
}

.resume {
  background-color: #183A5A; /* Replace with Deep Blue */ /*#1e1e1e; /* dark grey panel */
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 0 15px rgba(44, 168, 164, 0.6); /* Replace with Teal */ /*rgba(210,176,76,0.6);*/
  max-width: 900px;
  margin: auto;
}

.text-mustard-yellow {
  color: #2CA8A4; /* Replace with Teal */ /*#d2b04c; /* mustard yellow */
}

.text-mustard {
  color: #40C9AC; /* Replace with Turquoise */ /*#c6a933; /* darker mustard for headings */
}

.label-mustard {
  color: #2CA8A4; /* Replace with Teal */ /*#d2b04c;*/
  font-weight: 600;
  margin-right: 0.3rem;
}

.link-mustard {
  color: #2CA8A4; /* Replace with Teal */ /*#e3c96b;*/
  font-weight: 500;
  text-decoration: none;
}

.link-mustard:hover,
.link-mustard:focus {
  text-decoration: underline;
  color: #62C7C3; /* Replace with Lighter Teal */ /*#f1d984;*/
  text-shadow: 0 0 4px #62C7C3; /* Replace with Lighter Teal */ /*#f1d984;*/
}

.border-mustard {
  border-color: #2CA8A4; /* Replace with Teal */ /*#d2b04c !important;*/
}

.profile-pic {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border: 3px solid #2CA8A4; /* Replace with Teal */ /*#d2b04c;*/
  box-shadow: 0 0 10px #2CA8A488; /* Replace with Teal */ /*#d2b04c88;*/
}

.indented {
  text-indent: 1.2rem;
  margin-bottom: 1rem;
}

.experience-item h5 {
  font-weight: 700;
  margin-bottom: 0.3rem;
}

/* Skill badges */
.badge-mustard {
  background-color: #2CA8A4; /* Replace with Teal */ /*#d2b04c;*/
  color: #1e1e1e;
  font-weight: 600;
  font-size: 0.9rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.5em 0.75em;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}

/* Skill icon size */
.badge-mustard i {
  font-size: 1.1rem;
}

/* Language Skills coloring */
.language-skills .text-warning .bi {
  color: #2CA8A4 !important;
}

/* Accordion button color overrides */
.accordion-button {
  background-color: #11293F; /* Darker Tint of Deep Blue */ /*#68798B; /* Replace with Medium Cool Gray */ /*#2a2a2a;*/
  color: #2CA8A4; /* Replace with Teal */ /*#d2b04c;*/
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background-color: #0A1B2A; /* Even Darker Tint of Deep Blue */ /*#A6A9B6; /* Replace with Lighter Silver/Gray */ /*#3b3b3b;*/
  color: #62C7C3; /* Replace with Lighter Teal */ /*#f1d984;*/
  box-shadow: none;
}

.accordion-body {
  color: #333333; /* Replace with Charcoal Gray */ /*#ddd;*/
  background-color: #A6A9B6; /* Replace with Lighter Silver/Gray */ /*#222;*/
  font-size: 0.95rem;
}

/* Progress bar mustard */
.progress-bar.bg-warning {
  background-color: #2CA8A4 !important; /* Replace with Teal */ /*#d2b04c;*/
  color: #A6A9B6; /*Replace with Lighter Silver/Gray */ /*#1e1e1e;*/
  font-weight: 600;
}

/* Professional Experience Logo */
.exp-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
  margin-left: 0.75rem;
  margin-right: 0.75rem;
  background-color: rgba(242, 240, 239, 0.2);
  border-radius: 10px;
}
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232CA8A4' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  width: 2rem;
  height: 2rem;
  background-size: 2rem 2rem;
}
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232CA8A4' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.work-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.title-line {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.position-text {
  font-weight: 600;
  font-size: 1rem;
  color: #2CA8A4; /* Teal/turquoise accent from recommended palette */
}
.company-text {
  font-weight: 400;
  font-size: 0.9rem;
  color: #A6A9B6; /* Silver/cool gray tone for secondary text */
  margin-left: 0.25rem;
}
.period-text {
  font-weight: 400;
  font-size: 0.85rem;
  color: #6C757D; /* Muted Gray */
  margin-top: 0.25rem;
}

/* Education Logo */
.edu-logo {
  max-width: 90px;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Section spacing */
section {
  margin-bottom: 2.5rem;
}

/* Media styling for responsive */
@media (max-width: 1024px) {
  .language-skills .text-warning {
    white-space: nowrap !important; /* forbid wrapping */
  }
  .exp-logo {
    width: 90px !important;
    height: 90px !important;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

  .edu-logo {
    width: 70px !important;
    height: 70px !important;
  }

  .accordion-button:after {
    width: 1.5rem;
    height: 1.5rem;
    background-size: 1.5rem 1.5rem;
  }

  .work-info {
    flex-direction: column;
  }
  .position-text,
  .company-text {
    white-space: normal !important; /* allow wrapping */
  }
}
@media (max-width: 720px) {
  .exp-logo {
    width: 50px !important;
    height: 50px !important;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
  }

  .edu-logo {
    width: 40px !important;
    height: 40px !important;
  }

  .accordion-button {
    padding: 0.5rem 0.75rem;
  }

  .accordion-button:after {
    width: 1rem;
    height: 1rem;
    background-size: 1rem 1rem;
  }

  .work-info {
    flex-direction: column;
  }
  .position-text,
  .company-text {
    white-space: normal !important; /* allow wrapping */
  }
}

@media print {
  section {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .card {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  hr {
    page-break-after: avoid;
    break-after: avoid;
  }

  section + hr {
    page-break-before: auto;
    break-before: auto;
  }

  hr + section {
    page-break-before: auto;
    break-before: auto;
  }

  .accordion-body p {
    font-size: 0.8rem;
  }
}