html {
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans KR", sans-serif;
  /*background-color: #eaedf0;*/
  background-color: #3b485a;


}
a:hover {
  text-decoration: none;
}

/* v3 home */
.name {
  padding-left: 3%;
  border-left: 4px solid #fba957;
}
.hi-text {
  font-size: 20px;
}
.name-text {
  font-size: 60px;
}
.pro-text {
  font-size: 25px;
}
.btn-intro {
  padding-left: 3%;
  padding-bottom: 10%;
}
.social {
  padding-left: 5%;
}
.btn-know {
  padding: 2% 5% 2% 5%;
  border-radius: 50px !important;
  background-color: #596a84 !important;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500 !important;
  border: 2px solid;
}
.social-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #596a84 !important;
  color: #fba957 !important;
  border: 2px solid #fba957;
  border-radius: 50%;
  transition: 0.3s;
}
.social-icon:hover {
  background-color: #fba957 !important;
  color: #f9fafc !important;
  border: 1px solid #fba957;
}
.intro {
  padding: 8% 0 8% 0;
}
.name-container {
  padding-left: 15%;
}
.profile {
  padding: 1%;
  border: 1px solid #f9fafc;
  width: 300px;
  height: 300px;
}
.profile:hover {
  -webkit-filter: grayscale(0);
  filter: none;
}
@media only screen and (max-width: 768px) {
  .name-container {
    padding-left: 10%;
  }
  .profile {
    width: 220px;
    height: 220px;
  }
  .hi-text {
    font-size: 15px;
  }
  .name-text {
    font-size: 2.5rem;
    color:  #3A237A;
  }
  .pro-text {
    font-size: 1.25rem;
  }
}
@media only screen and (max-width: 768px) and (orientation: landscape) {
  .name-container {
    padding-left: 20%;
  }
}

/* v3 about */
.about-back {
  background-color: #ffffff;
}
.about {
  padding-top: 3% !important;
  padding-bottom: 3% !important;
}
.about-content {
  padding-left: 10% !important;
  font-size: 17px;
}
.about-skill {
  padding-right: 10% !important;
}
.contact-btn {
  padding: 1.5%;
  padding-left: 2%;
  padding-right: 2%;
  font-size: 17px;
  border: 2px solid #fba957;
  background-color: #dce6f141;
  border-radius: 5%;
  border-radius: 10px !important;
}
.contact-btn:hover {
  color: #fba957 !important;
}
.progress {
  background-color: #e0dcd6 !important;
}
@media only screen and (max-width: 768px) {
  .about-content {
    padding-left: 5% !important;
    padding-right: 5% !important;
  }
  .about-skill {
    padding-left: 5% !important;
    padding-right: 5% !important;
  }
  .about {
    padding-top: 5% !important;
    padding-bottom: 5% !important;
  }
}

/* v3 projects */

.bg-pro {
  padding: 0 !important;
  opacity: 0.9;
}
.bg-pro img {
  height: 300px;
  width: 100%;
  border-radius: 0.5rem !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.content-pro {
  height: 300px;
  /*background-color: #e5e4e2 !important;*/
  background-color: #ffffff !important;
  border-top-right-radius: 0.5rem !important;
  border-bottom-right-radius: 0.5rem !important;
}
.content-pro-top {
  color: #3a3b3c !important;
  height: 80%;
}
.pro-github {
  color: #3a3b3c !important;
}
.pro:hover .pro-btn {
  background-color: #3498db !important;
  color: #f9fafc;
}
@media only screen and (max-width: 767px) {
  .bg-pro {
    opacity: 0.3;
    position: relative;
  }
  .pro {
    margin-left: 10% !important;
    margin-right: 10% !important;
  }
  .bg-pro img {
    height: 250px;
    border-radius: 0.5rem !important;
  }
  .content-pro {
    height: 250px;
    background-color: transparent !important;
    position: absolute;
    top: 8px;
  }
  .content-pro-top {
    height: 80%;
    color: #6c757d;
  }
  .card-text {
    color: #343a40;
  }
  .pro:hover .content-pro {
    background-color: transparent !important;
    color: #f9fafc;
  }
  .pro:hover .pro-btn {
    color: #f9fafc;
  }
  .pro:hover .bg-pro {
    opacity: 0.3;
  }
}

/* v3 experience */
#experience {
}
#nav-pills-out {
  border-left: 1px solid #fba957;
}
.nav-pills .nav-link {
}
.nav-pills .active {
  padding-left: 20%;
  color: #818181 !important;
  background-color: transparent !important;
}
.nav-pills .active::before {
  padding-left: 8%;
  content: "▹";
  position: absolute;
  left: 0px;
  color: #fba957;
}
.tab-pane {
}
.ex {
  list-style-type: none;
}
.ex .ex-item {
  padding-left: 30px;
}
.ex-item::before {
  padding-left: 8%;
  content: "▹";
  position: absolute;
  left: 0px;
  color: #fba957;
}
.ex-ol {
  list-style-type: decimal-leading-zero;
  padding-top: 7%;
}
.ex-ol .ex-ol-li {
  padding-bottom: 3%;
}
.ex-ol-ul {
  max-width: 100%;
  list-style-type: none;
  padding-left: 0;
}
.ex-ol-ul li {
  max-width: 100%;
  padding-left: 10%;
}
.ex-ol-item::before {
  padding-left: 15%;
  content: "▹";
  position: absolute;
  left: 0px;
  color: #fba957;
}
@media only screen and (max-width: 768px) and (orientation: landscape) {
  .ex-ol {
    list-style-type: decimal-leading-zero;
    padding-left: 15% !important;
    padding-right: 15% !important;
  }
  .ex-ol-item::before {
    padding-left: 17%;
    content: "▹";
  }
}

/* v3 education */
.education-back {
  background-color: #ffffff;
  
}
.v-center {
  display: flex;
  align-items: center;
}
.edu {
  width: 100%;
  padding: 0;
}
.edu-item {
  padding-right: 8%;
  list-style: none;
}
.cert-item {
  padding-right: 8%;
  list-style: none;
}
/*.edu-item::before {
  content: "\25C3";
  position: absolute;
  right: 0px;
}
.cert-item::after {
  content: "\25B9";
  position: absolute;
  right: 0px;
}*/
.edu-img {
  width: 100%;
}
@media only screen and (max-width: 768px) {
/*  .edu-item::before {
    padding: 0%;
    content: "▹";
    position: absolute;
    left: 30px;
  }*/
  .edu-item {
    padding-left: 5%;
    list-style: none;
    padding-right: 2%;
  }
/*  .cert-item::after{
    padding: 0%;
    content: "▹";
    position: absolute;
    left: 30px;
  }*/
  .cert-item {
    padding-left: 5%;
    list-style: none;
    padding-right: 2%;
  }
  .edu-img {
    width: 100%;
    height: 400px;
  }
}
@media only screen and (max-width: 1024px) and (orientation: landscape) {
/*  .edu-item::before {
    padding: 0%;
    padding-left: 18%;
    content: "▹";
    position: absolute;
    left: 0px;
  }*/
  .edu-item {
    padding-right: 18%;
    padding-left: 18%;
    list-style: none;
  }
/*  .cert-item::after {
    padding: 0%;
    padding-left: 18%;
    content: "▹";
    position: absolute;
    left: 0px;
  }*/
  .cert-item {
    padding-right: 18%;
    padding-left: 18%;
    list-style: none;
  }
  .edu-img {
    width: 100%;
    height: 400px;
  }
}

/* v3 Achievements */
.achievements-back {
  background-color: #ffffff;
}
.achiv-card:hover {
  filter: grayscale(100%);
}
.achiv-card {
  height: 300px;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.achiv {
  min-height: 40%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  transition: ease-in-out 0.4s;
  border-radius: 0.25rem !important;
}
.achiv-out {
  max-width: 35% !important;
}
.achiv-head {
  color: #3a3b3c !important;
}
@media only screen and (max-width: 768px) {
  .achiv-out {
    max-width: 100% !important;
  }
}

/* v3 contact */
#contact {
  font-size: 17px;
  background-color: #ffffff;
}

/* Text color adjustments for dark/light background sections */
/* For sections with dark background (#3b485a), make text light */
#experience .text-dark,
#projects .text-dark,
.intro .text-muted,
.navbar .text-dark,
.navbar-brand,
#experience .text-muted,
#experience small,
#experience .ex-item,
#experience .tab-pane {
  color: #e4e6eb !important;
}

/* For sections with light background (#ffffff), keep text dark */
.about-back .text-dark,
.education-back .text-dark,
.achievements-back .text-dark,
#contact .text-right {
  color: #343a40 !important;
}

/* Publications section styling - dark background like experience */
.publications-back {
  background-color: #3b485a;
}

#publications {
  background-color: #3b485a;
  display: none; /* Initially hidden, shown via JavaScript when TU-Berlin is selected */
}

#publications .text-dark,
#publications .text-muted,
#publications small,
#publications .ex-item,
#publications .tab-pane {
  color: #e4e6eb !important;
}

/* Publications navigation pills styling - matching experience */
#nav-pills-out-pub {
  border-left: 1px solid #fba957;
}

/* Initially hide publications navbar link */
a[href="#publications"] {
  display: none;
}

/* Bootstrap color overrides - change from blue to orange accent */
.text-primary {
  color: #fba957 !important;
}

.btn-outline-info {
  color: #fba957 !important;
  border-color: #fba957 !important;
}

.btn-outline-info:hover,
.btn-outline-info:focus,
.btn-outline-info:active {
  background-color: #fba957 !important;
  border-color: #fba957 !important;
  color: #fff !important;
}

.progress-bar {
  background-color: #fba957 !important;
}

/* Navbar brand color override */
.navbar-brand {
  color: #fba957 !important;
}

nav .navbar-brand,
.navbar .navbar-brand,
a.navbar-brand,
.navbar-brand:hover,
.navbar-brand:focus {
  color: #fba957 !important;
}

/* Link colors for consistency */
a {
  color: #fba957 !important;
}

a:hover {
  color: #e6ac00 !important;
}

/* Footer section styling */
footer #blog.text-dark {
  color: #e4e6eb !important;
}

/* Blog card styling in footer */
footer .card {
  background-color: #ffffff !important;
  border: 1px solid #e0dcd6;
}

footer .card-title {
  color: #343a40 !important;
}

footer .card .px-2,
footer .card-head .px-2 {
  color: #6c757d !important;
}

footer .card-footer span {
  color: #6c757d !important;
}

/* Override orange text color for blog cards */
footer a:not(.btn) {
  color: #343a40 !important;
  text-decoration: none;
}

footer a:not(.btn):hover {
  color: #343a40 !important;
  text-decoration: none;
}

/* Footer social icons styling */
footer .fab {
  color: #fba957 !important;
  transition: 0.3s;
}

footer .fab:hover {
  color: #e6ac00 !important;
}
