* {
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8 !important;
  color: black;
}

@media screen and (max-width: 992px) {
  body {
    font-size: 16px;
  }
  h2,
  h4 {
    text-align: center;
  }
}

a {
  transition: 0.5s;
}
a:hover,
a:active,
a:focus {
  outline: none;
  text-decoration: none !important;
}

.accent-text {
  color: #2ec4b6;
}

.section-heading-link {
  color: inherit;
}

.section-heading-icon {
  font-size: 30px;
}

p {
  margin-bottom: 1.3em;
  font-family: "Montserrat", sans-serif;
}

h1,
h5,
h6 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  margin: 0 0 30px 0;
}

h2 {
  font-weight: 200;
  margin: 0 0 0px 0;
  margin-top: 0px !important;
}

h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  margin: 0 0 30px 0;
}

h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 15px;
  margin: 0 0 30px 0;
}

figure {
  margin-bottom: 2.5em;
  float: left;
  width: 100%;
}

::selection {
  color: #fff;
  background: #1a9e93;
}

#colorlib-page {
  width: 100%;
  overflow: hidden;
  position: relative;
}

#colorlib-aside {
  padding-top: 3em;
  padding-bottom: 1px;
  float: left;
  width: 300px;
  position: fixed;
  z-index: 1001;
  background: linear-gradient(135deg, #b2ebe5, #2ec4b6);
  transition: 0.5s;
  left: 60px;
}

@media screen and (max-width: 768px) {
  #colorlib-aside {
    width: 300px;
    transform: translateX(-300px);
    padding-top: 4em;
    background-color: #2ec4b6;
    height: -webkit-fill-available;
    left: 0px;
  }
}

#colorlib-aside .author-img {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  margin-bottom: 30px;
  border-radius: 50%;
}

#colorlib-aside .author-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border: 1px solid black;
  border-radius: 75px;
}

.initials-placeholder {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid black;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 700;
  color: #333;
  font-family: "Montserrat", sans-serif;
}

#colorlib-aside h1 {
  font-family: "Raleway", sans-serif;
}

#colorlib-aside #colorlib-logo {
  text-align: right;
  font-weight: 700;
  font-size: 30px;
  margin-bottom: 0.5em;
  display: block;
  width: 100%;
}

#colorlib-aside #colorlib-logo a {
  display: block;
  text-align: center;
  color: #000;
  padding-right: 0.3em;
}

#colorlib-aside #colorlib-main-menu {
  display: block;
  width: 100%;
}

#colorlib-aside #colorlib-main-menu.sidebar-nav {
  padding-top: 2em;
}

#colorlib-aside #colorlib-main-menu .collapse {
  display: block !important;
}

#colorlib-aside #colorlib-main-menu ul {
  text-align: center;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 768px) {
  #colorlib-aside #colorlib-main-menu ul {
    margin: 0 0 2em 0;
  }
}

#colorlib-aside #colorlib-main-menu ul li {
  margin: 0 0 10px 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#colorlib-aside #colorlib-main-menu ul li a {
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
  position: relative;
  padding: 10px 0;
  font-family: "Montserrat", sans-serif;
  transition: 0.3s;
}

#colorlib-aside #colorlib-main-menu ul li a:after {
  content: "";
  position: absolute;
  height: 1px;
  bottom: 7px;
  left: 0;
  right: 0;
  background-color: #1a9e93;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#colorlib-aside #colorlib-main-menu ul li a:hover {
  text-decoration: none;
  color: black;
}

#colorlib-aside #colorlib-main-menu ul li a:hover:after {
  visibility: visible;
  transform: scaleX(1);
}

#colorlib-aside #colorlib-main-menu ul li.active a {
  font-size: 15px;
  font-weight: 600;
}

#colorlib-aside #colorlib-main-menu ul li.active a:after {
  visibility: visible;
  transform: scaleX(1);
}

.container-wrap {
  max-width: 1370px;
  margin: 0 auto;
}

#colorlib-main {
  width: calc(100% - 340px);
  float: right;
  transition: 0.5s;
}

@media screen and (max-width: 768px) {
  #colorlib-main {
    width: 100%;
    padding: 0 1em;
  }
}

body.offcanvas {
  overflow-x: hidden;
}

body.offcanvas #colorlib-aside {
  transform: translateX(0);
  width: 372px;
  background-color: #2ec4b6;
  z-index: 999;
  position: fixed;
}

body.offcanvas #colorlib-main,
body.offcanvas .colorlib-nav-toggle {
  top: 0;
  transform: translateX(300px);
}

.colorlib-narrow-content {
  padding: 0 4em;
}

@media screen and (max-width: 878px) {
  .colorlib-narrow-content {
    width: 100%;
    padding: 0 1em;
  }
}

.colorlib-experience,
.colorlib-skills,
.colorlib-education,
.colorlib-about,
.colorlib-footer,
.colorlib-contact {
  padding-top: 1em;
  padding-bottom: 0.5em;
  clear: both;
  width: 100%;
  display: block;
}

@media screen and (max-width: 768px) {
  .colorlib-experience,
  .colorlib-skills,
  .colorlib-education,
  .colorlib-about,
  .colorlib-contact {
    padding-top: 1em;
    padding-bottom: 0.5em;
  }
}

.about-desc h1 {
  margin-bottom: 20px;
  font-size: 38px;
  font-weight: 600;
  font-family: "Montserrat", Georgia, serif;
}

/* Timeline */
.timeline-centered {
  position: relative;
  margin-bottom: 30px;
}

.timeline-centered:before {
  content: "";
  position: absolute;
  display: block;
  width: 4px;
  background: #2ec4b6;
  top: 20px;
  bottom: 20px;
  margin-left: 29px;
}

.timeline-centered .timeline-entry {
  position: relative;
  margin-top: 5px;
  margin-left: 30px;
  margin-bottom: 10px;
  clear: both;
}

.timeline-centered .timeline-entry .timeline-entry-inner {
  position: relative;
  margin-left: -20px;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-icon {
  display: block;
  width: 40px;
  height: 40px;
  background: #1a9e93;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 0 0 5px #f2f3f7;
  line-height: 40px;
  float: left;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-icon.color-2 {
  background: #0d7377;
  color: white;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-label {
  position: relative;
  background: linear-gradient(135deg, #b2ebe5, #2ec4b6);
  color: #000;
  padding: 1.2em;
  margin-left: 60px;
  background-clip: padding-box;
  border-radius: 5px;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-label:after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 9px 9px 0;
  border-color: transparent #f2f3f7 transparent transparent;
  left: 0;
  top: 10px;
  margin-left: -9px;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-label p + p {
  margin-top: 0px;
  font-size: 12px;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-label .timeline-sublabel {
  font-weight: 600;
  margin: 0px;
  font-size: 12px;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-label .timeline-text {
  margin-bottom: 0px;
  font-size: 12px;
  color: #000;
}

@media screen and (max-width: 768px) {
  .timeline-centered .timeline-entry {
    margin-left: 5px;
  }
  .timeline-centered:before {
    margin-left: 5px;
  }
}

/* Nav toggle (mobile hamburger) */
.colorlib-nav-toggle {
  cursor: pointer;
  text-decoration: none;
}

.colorlib-nav-toggle.active i::before,
.colorlib-nav-toggle.active i::after {
  background: #000;
}

.colorlib-nav-toggle:hover,
.colorlib-nav-toggle:focus,
.colorlib-nav-toggle:active {
  outline: none;
  border-bottom: none !important;
}

.colorlib-nav-toggle i {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 2px;
  background-color: #000;
  font: bold 14px/0.4 Helvetica;
  text-transform: uppercase;
  text-indent: -55px;
  transition: all 0.2s ease-out;
}

.colorlib-nav-toggle i::before,
.colorlib-nav-toggle i::after {
  content: "";
  width: 30px;
  height: 2px;
  background-color: #000;
  position: absolute;
  left: 0;
  transition: 0.2s;
}

.colorlib-nav-toggle i::before {
  top: -7px;
}

.colorlib-nav-toggle i::after {
  bottom: -7px;
}

.colorlib-nav-toggle:hover i::before {
  top: -10px;
}

.colorlib-nav-toggle:hover i::after {
  bottom: -10px;
}

.colorlib-nav-toggle.active i {
  background: transparent;
}

.colorlib-nav-toggle.active i::before {
  top: 0;
  transform: rotateZ(45deg);
}

.colorlib-nav-toggle.active i::after {
  bottom: 0;
  transform: rotateZ(-45deg);
}

.colorlib-nav-toggle {
  position: fixed;
  left: -5px;
  top: 0px;
  z-index: 9999;
  cursor: pointer;
  opacity: 1;
  visibility: hidden;
  padding: 20px;
  transition: 0.5s;
}

@media screen and (max-width: 768px) {
  .colorlib-nav-toggle {
    opacity: 1;
    visibility: visible;
  }
}

/* Animation helper — starts hidden, revealed by Waypoints in main.js */
.js .animate-box {
  opacity: 0;
  will-change: opacity, transform;
}

/* Fallback: make content visible after 1.5s even if animation doesn't fire */
@keyframes forceVisible {
  to { opacity: 1; }
}
.js .animate-box {
  animation: forceVisible 0s 1.5s forwards;
}

ul {
  list-style-type: none;
}

.accordion {
  width: 100%;
  padding-left: 0px;
  padding-right: 0px;
  color: #000;
  border-radius: 5px;
}

.content-list {
  padding: 0;
}

.repo-list {
  display: block;
}

.publish-date {
  color: #444;
  font-size: 12px;
  margin-bottom: 0px;
  font-weight: 600;
}

span {
  font-family: "Montserrat", sans-serif;
  display: inline-block;
  margin: 0 5px;
}

/* Print styles */
@media print {
  .no-print,
  .no-print * {
    display: none !important;
  }

  #colorlib-main {
    float: left;
    width: 100%;
  }

  .timeline-label {
    margin-left: 0px !important;
  }
  .timeline-icon {
    display: none !important;
  }
}

/* Footer */
:root {
  --footer-bg: linear-gradient(135deg, #b2ebe5, #2ec4b6);
  --color: #000;
  --color-smooth: #000;
}

footer {
  font-size: 13px;
  background: var(--footer-bg);
  padding: 2em 4em;
  align-items: start;
  justify-content: center;
  gap: 1em;
  border-radius: 5px;
  margin-bottom: 40px;
}

footer ul {
  list-style: none;
  padding-left: 0px;
}

.col {
  flex: 1;
  margin: 0 10px;
  display: inline-grid;
}

.col-title {
  color: var(--color);
  font-size: 1.1em;
  font-weight: 600;
  padding: 0.5em 0;
}

.col-list a {
  color: var(--color-smooth);
  text-decoration: none;
  line-height: 1.4;
  font-weight: 400;
  cursor: pointer;
}

.col-list a:hover,
.col-list a:focus {
  text-decoration: underline;
}

@media screen and (max-width: 750px) {
  footer {
    padding: 2em;
    flex-direction: column;
  }
}

/* Badges */
.brown-badge {
  background-color: #0d7377;
  border: 1px solid #095659;
  color: #fff;
}

.golden-badge {
  background: linear-gradient(135deg, #b2ebe5, #2ec4b6);
  border: 1px solid #1a9e93;
  color: #000000;
}

.profile-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 4px;
}

/* Repo cards */
.repo-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

.repo-card {
  border-radius: 5px;
  margin: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease;
  flex: 1 0 48%;
  padding: 10px;
  font-size: 14px;
  background: linear-gradient(135deg, #b2ebe5, #2ec4b6);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.repo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.repo-link {
  display: inline-block;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  color: black;
}

.repo-heading {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
}

.repo-description {
  font-size: 12px;
  color: #333;
}

.stats-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  font-size: 12px;
  color: #444;
}

.language-div {
  display: flex;
  align-items: center;
  gap: 4px;
}

.language-dot {
  width: 8px;
  height: 8px;
  background-color: #666;
  border-radius: 50%;
  display: inline-block;
}

.stats-div {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Publication cards */
.publication-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.publication-card {
  border-radius: 5px;
  padding: 16px;
  background: linear-gradient(135deg, #b2ebe5, #2ec4b6);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease;
}

.publication-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.publication-card a {
  text-decoration: none;
  color: black;
  display: block;
}

.publication-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.3em;
}

.publication-authors {
  font-size: 12px;
  color: #222;
  margin: 0 0 4px;
}

.publication-journal {
  font-size: 12px;
  color: #333;
  font-style: italic;
  margin: 0 0 8px;
}

.publication-empty {
  color: #666;
  font-style: italic;
  padding: 1em 0;
}

/* Contact */
.contact-intro {
  max-width: 760px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 14px;
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-item {
  flex: 0 0 auto;
}

.contact-link {
  min-height: 44px;
  color: #111;
  background: linear-gradient(135deg, #b2ebe5, #2ec4b6);
  border: 1px solid rgba(46, 196, 182, 0.18);
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.contact-link:hover,
.contact-link:focus {
  color: #111;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  filter: saturate(1.05);
  text-decoration: none;
  transform: translateY(-2px);
}

.contact-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  color: #0d5e5a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.contact-label {
  flex: 0 0 auto;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

/* Experience heading layout */
.exp-heading {
  display: flex;
  gap: 10px;
}

.blog-heading {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  color: black;
  line-height: 1.3em;
}

/* Tags */
.tags-container {
  margin-top: 5px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.bio-p {
  margin-bottom: 0px;
}

/* Copyright */
.copyright-text {
  text-align: center;
  color: #333;
}

/* Page entrance animation */
@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

#colorlib-main {
  animation: pageFadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
