/**
* Template Name: Personal - v2.1.0
* Template URL: https://bootstrapmade.com/personal-free-resume-bootstrap-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #fff;
  position: relative;
  background: transparent;
}

body::before {
  content: "" !important;
  position: fixed;
  background: #010e1b;
  background-size: cover;
  left: 0;
  right: 0;
  top: 0;
  height: 100vh;
}

@media (min-width: 1024px) {
  body::before {
    background-attachment: fixed;
  }
}

a {
  color: #12d640;
}

a:hover {
  color: #12d640;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: ease-in-out 0s;
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  z-index: 997;
  overflow-y: auto;
}

#header * {
  transition: ease-in-out 0s;
}

#header h1 {
  font-size: 48px;
  margin-top: 0px;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
}

#header h1 a, #header h1 a:hover {
  color: #dee2e6;
  line-height: 1;
  display: inline-block;
}

#header h2 {
  font-size: 24px;
  margin-top: 20px;
  color: #12d640;
}

#header h2 span {
  color: #ffc107;
  border-bottom: 2px solid #1c7d32;
  padding-bottom: 6px;
}

#header img {
  padding: 0;
  margin: 0;
}

#header .social-links {
  margin-top: 40px;
  display: flex;
}

#header .social-links a {
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  line-height: 1;
  margin-right: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

#header .social-links a:hover {
  background: #1c7d32;
}

@media (max-width: 992px) {
  #header h1 {
    font-size: 36px;
  }
  #header h2 {
    font-size: 20px;
    line-height: 30px;
  }
  #header .social-links {
    margin-top: 15px;
  }
  #header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu {
  margin-top: 35px;
}

.nav-menu ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu li + li {
  margin-left: 30px;
}

.nav-menu a {
  display: block;
  position: relative;
  color: #fff;
  font-size: 19px;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

.nav-menu a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #9e7f25;
  visibility: hidden;
  width: 0px;
  transition: all 0.3s ease-in-out 0s;
}

.nav-menu a:hover:before, .nav-menu li:hover > a:before, .nav-menu .active > a:before {
  visibility: visible;
  width: 25px;
}

.nav-menu a:hover, .nav-menu .active > a, .nav-menu li:hover > a {
  color: #12d640;
  text-decoration: none;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: #fff;
}

.mobile-nav {
  position: fixed;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  z-index: 9999;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.7);
  transition: ease-in-out 0s;
  opacity: 0;
  visibility: hidden;
  border-radius: 10px;
  padding: 10px 0;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  position: relative;
  color: #fff;
  padding: 10px 20px;
  font-weight: 500;
  outline: none;
}

.mobile-nav a:hover, .mobile-nav .active > a, .mobile-nav li:hover > a {
  color: #1c7d32;
  text-decoration: none;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(9, 9, 9, 0.6);
  overflow: hidden;
  display: none;
  transition: ease-in-out 0s;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}

/* Header Top */
#header.header-top {
  height: 90px;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  background: #09203a;
}

#header.header-top .social-links, #header.header-top h2 {
  display: none;
}

#header.header-top h1 {
  margin-right: auto;
  font-size: 36px;
}

#header.header-top .container {
  display: flex;
  align-items: center;
}

#header.header-top .nav-menu {
  margin: 0;
}

@media (max-width: 768px) {
  #header.header-top {
    height: 60px;
  }
  #header.header-top h1 {
    font-size: 26px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  overflow: hidden;
  position: absolute;
  width: 100%;
  top: 140px;
  bottom: 100%;
  opacity: 0;
  z-index: 2;
}

section.section-show {
  top: 70px;
  bottom: auto;
  opacity: 1;
  padding-bottom: 0px;
}

section .container {
  background: rgba(0, 0, 0, 0);
  padding: 30px;
}

@media (max-width: 768px) {
  section {
    top: 120px;
  }
  section.section-show {
    top: 80px;
  }
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 20px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #dee2e6;
  font-family: "Poppins", sans-serif;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: #dee2e6;
  margin: 4px 10px;
}

.section-title p {
  margin: 0;
  margin: -15px 0 15px 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #fff;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about-me .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: #1c7d32;
}

.about-me .content ul {
  list-style: none;
  padding: 0;
}

.about-me .content ul li {
  padding-bottom: 10px;
}

.about-me .content ul i {
  font-size: 20px;
  padding-right: 2px;
  color: #1c7d32;
}

.about-me .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  padding: 70px 0 60px;
}

.counts .count-box {
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
}

.counts .count-box i {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px;
  color: #1c7d32;
  border-radius: 50px;
}

.counts .count-box span {
  font-size: 36px;
  display: block;
  font-weight: 600;
  color: #fff;
}

.counts .count-box p {
  padding: 0;
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
.skills .progress {
  height: 50px;
  display: block;
  background: none;
}

.skills .progress .skill {
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #fff;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: rgba(255, 255, 255, 0.15);
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: .9s;
  background-color: #1c7d32;
}

/*--------------------------------------------------------------
# Interests
--------------------------------------------------------------*/
.interests .icon-box {
  display: flex;
  align-items: center;
  padding: 20px;
  background: #09203a;
  transition: ease-in-out 0.3s;
}


.interests .icon-box i {
  font-size: 32px;
  padding-right: 10px;
  line-height: 1;
}

.interests .icon-box h3 {
  font-weight: 700;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 16px;
  color: #fff;
}

.interests .icon-box:hover {
  background: #042b56eb;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 6px solid rgba(255, 255, 255, 0.12);
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 45px;
  color: #fff;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0 0 0 45px;
}

.testimonials .testimonial-item .quote-icon-left, .testimonials .testimonial-item .quote-icon-right {
  color: rgba(255, 255, 255, 0.25);
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 0 15px;
  padding: 20px 20px 60px 20px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.testimonials .owl-nav, .testimonials .owl-dots {
  margin-top: 5px;
  text-align: center;
}

.testimonials .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3) !important;
}

.testimonials .owl-dot.active {
  background-color: #1c7d32 !important;
}

@media (max-width: 767px) {
  .testimonials {
    margin: 30px 10px;
  }
}

/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #fff;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #1c7d32;
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  background: rgba(255, 255, 255, 0.15);
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #9e7f25;
  border: 2px solid #9e7f25;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  text-align: center;
  background: #09203a;
  padding: 40px 40px;
  transition: all ease-in-out 0.3s;
  margin: 10px
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #1c7d32;
  border-radius: 5px;
  transition: all .3s ease-out 0s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transform-style: preserve-3d;
}

.services .icon-box .icon i {
  color: #fff;
  font-size: 28px;
}

.services .icon-box .icon::before {
  position: absolute;
  content: '';
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  transition: all .3s ease-out 0s;
  transform: translateZ(-1px);
}

.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.services .icon-box h4 a {
  color: #fff;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .icon-box:hover {
  background: #042e5f;
  border-color: #1c7d32;
}

.services .icon-box:hover .icon {
  background: #fff;
}

.services .icon-box:hover .icon i {
  color: #1c7d32;
}

.services .icon-box:hover .icon::before {
  background: #35e888;
}

.services .icon-box:hover h4 a, .services .icon-box:hover p {
  color: #12d640;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 15px auto;
  list-style: none;
  text-align: center;
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 16px 10px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 3px 10px 3px;
  transition: all 0.3s ease-in-out;
  border-radius: 4px;
}

.portfolio #portfolio-flters li:hover, .portfolio #portfolio-flters li.filter-active {
  background: #1c7d32;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio .portfolio-wrap .portfolio-info::before {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  top: 35px;
  left: 35px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info::after {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  bottom: 35px;
  right: 35px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: #ffffff;
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #63eda3;
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info::before {
  top: 15px;
  left: 15px;
}

.portfolio .portfolio-wrap:hover .portfolio-info::after {
  bottom: 15px;
  right: 15px;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: #444444;
  padding: 20px;
  width: 100%;
  background: #09203a;
}

.contact .info-box i.bx {
  font-size: 24px;
  color: #dee2e6;
  border-radius: 50%;
  padding: 14px;
  float: left;
  background: rgba(255, 255, 255, 0.1);
}

.contact .info-box h3 {
  font-size: 20px;
  color: #28a745;
  font-weight: 700;
  margin: 10px 0 8px 68px;
}

.contact .info-box p {
  padding: 0;
  color: #fff;
  line-height: 24px;
  font-size: 14px;
  margin: 0 0 0 68px;
}

.contact .info-box .social-links {
  margin: 5px 0 0 68px;
  display: flex;
}

.contact .info-box .social-links a {
  font-size: 18px;
  display: inline-block;
  color: #fff;
  line-height: 1;
  margin-right: 12px;
  transition: 0.3s;
}

.contact .info-box .social-links a:hover {
  color: #12d640;
}

.contact .php-email-form {
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  background: #ed3c0d;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .sent-message {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  background: #1c7d32;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #1c7d32;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  transition: 0.3s;
  color: #fff;
}

.contact .php-email-form input:focus, .contact .php-email-form textarea:focus {
  background-color: rgba(255, 255, 255, 0.11);
}

.contact .php-email-form input::-webkit-input-placeholder, .contact .php-email-form textarea::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input::-moz-placeholder, .contact .php-email-form textarea::-moz-placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input:-ms-input-placeholder, .contact .php-email-form textarea:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input::-ms-input-placeholder, .contact .php-email-form textarea::-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input::placeholder, .contact .php-email-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input {
  padding: 20px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
  background: #1c7d32;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #15bb62;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Credits
--------------------------------------------------------------*/
.credits {
  position: fixed;
  right: 15px;
  bottom: 15px;
  font-size: 13px;
  color: #fff;
  z-index: 1;
}

.credits a {
  color: #1c7d32;
  transition: 0.3s;
}

.credits a:hover {
  color: #fff;
}

@media (max-width: 992px) {
  .credits {
    left: 50%;
    right: 0;
    transform: translateX(-50%);
  }
}

/*--------------------------------------------------------------
# Light Theme Overrides
--------------------------------------------------------------*/
/* Base */
body { color: #222; background: #ffffff; }
body::before { content: none !important; }
a { color: #c1121f; }
a:hover { color: #9b0e19; text-decoration: none; }

/* Header & Nav */
#header h1 a, #header h1 a:hover { color: #111; }
#header h2 { color: #666; }
#header h2 span { color: #c1121f; border-bottom: 2px solid rgba(193, 18, 31, 0.2); }
#header .social-links a { background: #f5f5f5; color: #444; }
#header .social-links a:hover { background: #c1121f; color: #fff; }
.lg-line { display: block; font-size: 38px; }
.lg-word.learning { color: #c1121f; }
.lg-word.generation { color: #6c757d; }
.amp { color: #666; }
.nav-menu a { color: #333; }
.nav-menu a:before { background-color: #c1121f; }
.nav-menu a:hover, .nav-menu .active > a, .nav-menu li:hover > a { color: #c1121f; }
.mobile-nav-toggle i { color: #333; }
.mobile-nav { background: rgba(0,0,0,0.3); border: 1px solid rgba(0,0,0,0.05); }
.mobile-nav a { color: #333; }
.mobile-nav a:hover, .mobile-nav .active > a, .mobile-nav li:hover > a { color: #c1121f; }
#header.header-top { background: #ffffff; border-bottom: 1px solid #e5e5e5; }

/* Sections */
section.section-show { top: 90px; }
section .container { background: #ffffff; }
.section-title h2 { color: #999; font-weight: 600; }
.section-title h2::after { background: #e5e5e5; }
.section-title p { color: #222; font-size: 32px; }

/* About */
.about-me .content h3 { color: #c1121f; }
.about-me .content ul i { color: #c1121f; }

/* Counts */
.counts .count-box { background: #f8f9fa; }
.counts .count-box i { background: #fff; color: #c1121f; }
.counts .count-box span { color: #222; }

/* Skills */
.skills .progress .skill { color: #333; }
.skills .progress-bar-wrap { background: #e9ecef; }
.skills .progress-bar { background-color: #c1121f; }

/* Interests */
.interests .icon-box { background: #ffffff; border: 1px solid #eee; }
.interests .icon-box h3 { color: #333; }
.interests .icon-box:hover { background: #f8f9fa; }

/* Testimonials */
.testimonials .testimonial-item h3 { color: #222; }
.testimonials .testimonial-item h4 { color: #777; }
.testimonials .testimonial-item p { background: #f8f9fa; }
.testimonials .owl-dot { background-color: #ddd !important; }
.testimonials .owl-dot.active { background-color: #c1121f !important; }

/* Resume */
.resume .resume-title { color: #222; }
.resume .resume-item { border-left: 2px solid #eee; }
.resume .resume-item h4 { color: #c1121f; }
.resume .resume-item h5 { background: #f1f3f5; }
.resume .resume-item::before { background: #c1121f; border-color: #c1121f; }

/* Services */
.services .icon-box { background: #ffffff; }
.services .icon-box .icon { background: #c1121f; }
.services .icon-box .icon::before { background: rgba(193, 18, 31, 0.15); }
.services .icon-box h4 a { color: #222; }
.services .icon-box:hover { background: #f8f9fa; border-color: #c1121f; }
.services .icon-box:hover .icon { background: #9b0e19; }
.services .icon-box:hover .icon i { color: #fff; }
.services .icon-box:hover .icon::before { background: rgba(193, 18, 31, 0.25); }
.services .icon-box:hover h4 a, .services .icon-box:hover p { color: #9b0e19; }

/* Portfolio */
.portfolio #portfolio-flters li { color: #333; background: #f1f3f5; }
.portfolio #portfolio-flters li:hover, .portfolio #portfolio-flters li.filter-active { background: #c1121f; color: #fff; }
.portfolio .portfolio-wrap { background: #ffffff; }
.portfolio .portfolio-wrap .portfolio-links a:hover { color: #c1121f; }

/* Contact */
.contact .info-box { background: #ffffff; border: 1px solid #eee; }
.contact .info-box i.bx { color: #c1121f; background: #f8f9fa; }
.contact .info-box h3 { color: #c1121f; }
.contact .info-box p { color: #333; }
.contact .info-box .social-links a { color: #555; }
.contact .info-box .social-links a:hover { color: #c1121f; }
.contact .php-email-form { background: #f8f9fa; }
.contact .php-email-form .sent-message { background: #c1121f; }
.contact .php-email-form .loading { background: #f1f3f5; }
.contact .php-email-form .loading:before { border: 3px solid #c1121f; border-top-color: #eee; }
.contact .php-email-form input, .contact .php-email-form textarea { background: #fff; border: 1px solid #e5e5e5; color: #333; }
.contact .php-email-form input:focus, .contact .php-email-form textarea:focus { border-color: #c1121f; }
.contact .php-email-form ::placeholder { color: #999; opacity: 1; }
.contact .php-email-form button[type="submit"] { background: #c1121f; }
.contact .php-email-form button[type="submit"]:hover { background: #9b0e19; }

/* Credits */
.credits { color: #777; }
.credits a { color: #c1121f; }
.credits a:hover { color: #9b0e19; }

/* One-shot alternating highlight for LG title */
.lg-animate .lg-word.learning { animation: lgPulseBlue 1.2s ease-in-out 0.1s 1 both; }
.lg-animate .lg-word.generation { animation: lgPulsePink 1.2s ease-in-out 1.4s 1 both; }
.lg-animate .amp { animation: lgAmpFade 0.8s ease 0.9s 1 both; }

@keyframes lgPulseBlue {
  0% { text-shadow: none; }
  40% { text-shadow: 0 0 18px rgba(193,18,31,.45); }
  100% { text-shadow: none; }
}
@keyframes lgPulsePink {
  0% { text-shadow: none; }
  40% { text-shadow: 0 0 18px rgba(108,117,125,.6); }
  100% { text-shadow: none; }
}
@keyframes lgAmpFade {
  0% { opacity: .6; }
  100% { opacity: 1; }
}

@media (max-width: 992px) {
  .lg-line { font-size: 30px; }
}
@media (max-width: 576px) {
  .lg-line { font-size: 26px; }
}

/* Publications Visual Layout */
.publication-entry {
  margin-bottom: 35px;
  padding: 0;
  background: transparent;
}

.publication-entry .col-lg-9 {
  padding-left: 20px;
}

.paper-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.paper-title a {
  color: #c1121f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.paper-title a:hover {
  color: #9b0e19;
  text-decoration: none;
}

.authors {
  color: #666;
  font-size: 13px;
  margin-bottom: 6px;
  line-height: 1.4;
}

.conference {
  color: #666;
  font-size: 13px;
  margin-bottom: 6px;
  font-weight: 500;
}

.links {
  margin-bottom: 0;
}

.links a {
  color: #c1121f;
  text-decoration: none;
  font-weight: 500;
}

.links a:hover {
  text-decoration: underline;
}

.paper-demo {
  margin: 0;
  padding-right: 0;
  text-align: left;
}

.paper-demo img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-right: 0;
}

.paper-demo img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.additional-publications {
  margin-top: 40px;
}

.additional-publications h4 {
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 20px;
}

.publication-list {
  list-style: none;
  padding: 0;
}

.publication-list li {
  margin-bottom: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.publication-list li:hover {
  background: #f8f9fa;
  padding-left: 10px;
}

.publication-list a {
  color: #c1121f;
  text-decoration: none;
  font-weight: 500;
}

.publication-list a:hover {
  text-decoration: underline;
  color: #9b0e19;
}

.content-loading,
.content-empty {
  color: var(--lg-muted, #666);
  margin: 0;
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.publication-links a {
  align-items: center;
  border: 1px solid var(--lg-line, #eee);
  color: var(--lg-ink, #222);
  display: inline-flex;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 700;
  gap: 6px;
  letter-spacing: 0.08em;
  padding: 7px 10px;
  text-decoration: none;
  text-transform: uppercase;
}

.publication-links a:hover {
  border-color: var(--lg-accent, #c1121f);
  color: var(--lg-accent, #c1121f);
  text-decoration: none;
}

.publication-links a i {
  color: inherit;
  display: block;
  font-size: 14px;
  line-height: 1;
}

.publication-links a span {
  line-height: 1;
}

.publication-group {
  bottom: auto;
  margin-bottom: 44px;
  opacity: 1;
  overflow: visible;
  position: relative;
  top: auto;
  width: auto;
  z-index: auto;
}

.publication-group > h3 {
  align-items: center;
  color: var(--lg-ink, #222);
  display: flex;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 700;
  gap: 14px;
  letter-spacing: 0.16em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.publication-group > h3::after {
  background: var(--lg-line, #eee);
  content: "";
  flex: 1;
  height: 1px;
}

.publication-preprints > h3 {
  color: var(--lg-accent, #c1121f);
}

/* Responsive Design for Publications */
@media (max-width: 992px) {
  .paper-title {
    font-size: 16px;
  }
  
  .paper-demo img {
    max-width: 180px;
  }
}

@media (max-width: 768px) {
  .publication-entry {
    margin-bottom: 30px;
  }
  
  .publication-entry .col-lg-9 {
    padding-left: 15px;
  }
  
  .paper-title {
    font-size: 15px;
  }
  
  .paper-demo img {
    max-width: 150px;
    margin-bottom: 15px;
  }
  
  .paper-demo {
    text-align: center;
  }
}

/* Team Section Styles - USC Style */
#faculty-grid a, #student-grid a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

#faculty-grid a:hover, #student-grid a:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-3px);
}

#faculty-grid a:hover b, #student-grid a:hover b {
  color: #9b0e19;
}

#faculty-grid b, #student-grid b {
  color: #c1121f;
  font-size: 16px;
  font-weight: 700;
  display: block;
  margin-top: 8px;
}

#faculty-grid p, #student-grid p {
  color: #666;
  font-size: 13px;
  margin: 4px 0 0 0;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #faculty-grid div, #student-grid div {
    width: 120px !important;
    margin-right: 20px !important;
    margin-bottom: 25px !important;
  }
  
  #faculty-grid b, #student-grid b {
    font-size: 14px;
  }
  
  #faculty-grid p, #student-grid p {
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# L&G Lab Minimal Atlas Theme
--------------------------------------------------------------*/
:root {
  --lg-paper: #f7f5ee;
  --lg-surface: #fffdf8;
  --lg-ink: #151515;
  --lg-muted: #6f6a60;
  --lg-soft: #a7a097;
  --lg-line: #ddd7ca;
  --lg-accent: #a0232a;
  --lg-accent-dark: #74161b;
  --lg-wash: #ede7dc;
  --lg-cyan: #b9d8d4;
  --lg-amber: #e3c782;
  --lg-violet: #c6bbd6;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--lg-ink);
  background:
    linear-gradient(120deg, rgba(181, 18, 27, 0.035), transparent 32%),
    linear-gradient(300deg, rgba(185, 216, 212, 0.22), transparent 36%),
    var(--lg-paper);
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  height: auto;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(21, 21, 21, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 21, 21, 0.024) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.45;
}

a,
.links a,
.publication-list a {
  color: var(--lg-accent);
}

a:hover,
.links a:hover,
.publication-list a:hover {
  color: var(--lg-accent-dark);
}

#header.header-top {
  height: 76px;
  background: rgba(247, 245, 238, 0.92);
  border-bottom: 1px solid var(--lg-line);
  backdrop-filter: blur(18px);
}

#header.header-top .container {
  max-width: 1180px;
}

#header h1 a,
#header h1 a:hover {
  color: var(--lg-ink);
}

#header.header-top h1 {
  font-size: 24px;
  letter-spacing: -0.02em;
}

.brand-link {
  align-items: center;
  display: inline-flex !important;
  gap: 12px;
}

.brand-symbol {
  align-items: center;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--lg-line);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.brand-symbol img {
  display: block;
  height: 30px;
  object-fit: contain;
  width: 30px;
}

.lg-line {
  font-size: inherit;
}

.lg-word.learning,
.lg-word.generation {
  color: var(--lg-ink);
}

.amp {
  color: var(--lg-accent);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

#header h2 {
  color: var(--lg-muted);
}

#header h2 span {
  color: var(--lg-accent);
  border-bottom: 1px solid rgba(181, 18, 27, 0.25);
}

.nav-menu a {
  color: var(--lg-muted);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu a:before {
  background-color: var(--lg-accent);
  bottom: -8px;
}

.nav-menu a:hover,
.nav-menu .active > a,
.nav-menu li:hover > a {
  color: var(--lg-ink);
}

#header .social-links a {
  background: rgba(255, 253, 248, 0.8);
  border: 1px solid var(--lg-line);
  color: var(--lg-muted);
}

#header .social-links a:hover {
  background: var(--lg-accent);
  color: #fff;
}

.mobile-nav-toggle i {
  color: var(--lg-ink);
}

.mobile-nav {
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid var(--lg-line);
  border-radius: 6px;
}

.mobile-nav a {
  color: var(--lg-muted);
}

.mobile-nav a:hover,
.mobile-nav .active > a,
.mobile-nav li:hover > a {
  color: var(--lg-accent);
}

section.section-show {
  top: 76px;
}

section .container {
  max-width: 1180px;
  background: transparent;
  padding: 40px 30px;
}

.section-title {
  margin-bottom: 28px;
}

.section-title h2 {
  color: var(--lg-soft);
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.section-title h2::after {
  width: 72px;
  background: var(--lg-line);
}

.section-title p {
  color: var(--lg-ink);
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -0.035em;
}

.home-hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-bottom: 24px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  color: var(--lg-accent);
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.eyebrow a {
  color: inherit;
}

.eyebrow a:hover {
  color: var(--lg-accent-dark);
}

.hero-copy h2 {
  color: var(--lg-ink);
  font-family: "Raleway", sans-serif;
  font-size: clamp(46px, 7vw, 86px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.96;
  margin-bottom: 20px;
  max-width: 760px;
}

.hero-copy .lead {
  color: var(--lg-ink);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.35;
  margin-bottom: 10px;
}

.hero-copy p:not(.eyebrow):not(.lead) {
  color: var(--lg-muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 610px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-actions a {
  border: 1px solid var(--lg-line);
  color: var(--lg-ink);
  display: inline-flex;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 12px 16px;
  text-transform: uppercase;
}

.hero-actions a:first-child {
  background: var(--lg-ink);
  border-color: var(--lg-ink);
  color: var(--lg-surface);
}

.hero-actions a:hover {
  border-color: var(--lg-accent);
  color: var(--lg-accent);
}

.hero-actions a:first-child:hover {
  background: var(--lg-accent);
  color: #fff;
}

.concept-field {
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(90deg, rgba(160, 35, 42, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(160, 35, 42, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255, 253, 248, 0.95), rgba(255, 253, 248, 0.58) 58%, rgba(237, 231, 220, 0.32));
  background-size: 42px 42px, 42px 42px, auto;
  border: 1px solid var(--lg-line);
  box-shadow: 0 24px 80px rgba(80, 55, 34, 0.09);
  min-height: 430px;
  overflow: hidden;
  position: relative;
}

.concept-field::before,
.concept-field::after {
  border: 1px solid rgba(160, 35, 42, 0.28);
  border-radius: 50%;
  content: "";
  inset: 16%;
  position: absolute;
  z-index: 1;
}

.concept-field::after {
  border-color: rgba(111, 106, 96, 0.24);
  inset: 28%;
  transform: rotate(18deg) scaleX(1.26);
}

.field-campus-bg {
  background: url("../img/images (1).jpeg") center / cover no-repeat;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.polyu-mark {
  align-items: center;
  display: flex;
  gap: 10px;
  left: 22px;
  position: absolute;
  top: 22px;
  z-index: 3;
}

.polyu-mark span {
  background: var(--lg-accent);
  display: block;
  height: 18px;
  width: 18px;
}

.polyu-mark p {
  color: var(--lg-muted);
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0;
  text-transform: uppercase;
}

.field-core {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(160, 35, 42, 0.08), transparent 36%),
    linear-gradient(315deg, rgba(21, 21, 21, 0.08), transparent 34%),
    #fff;
  border: 1px solid rgba(21, 21, 21, 0.12);
  box-shadow:
    0 20px 50px rgba(21, 21, 21, 0.14),
    0 0 0 10px rgba(255, 253, 248, 0.68),
    inset 0 0 0 1px rgba(255, 255, 255, 0.92);
  clip-path: polygon(10% 0, 100% 0, 100% 88%, 88% 100%, 0 100%, 0 10%);
  display: flex;
  flex-direction: column;
  height: 148px;
  justify-content: center;
  left: 50%;
  overflow: hidden;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 148px;
  z-index: 4;
}

.field-core::before,
.field-core::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.field-core::before {
  border: 1px solid rgba(160, 35, 42, 0.28);
  inset: 10px;
  z-index: 2;
}

.field-core::after {
  background:
    linear-gradient(90deg, transparent, rgba(160, 35, 42, 0.76), transparent),
    linear-gradient(180deg, transparent, rgba(21, 21, 21, 0.26), transparent);
  height: 1px;
  left: 16px;
  right: 16px;
  top: 18px;
  z-index: 3;
}

.field-core img {
  display: block;
  filter: contrast(1.08) saturate(1.08);
  height: 172px;
  mix-blend-mode: multiply;
  object-fit: contain;
  position: relative;
  width: 172px;
  z-index: 1;
}

.field-node {
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--lg-line);
  color: var(--lg-ink);
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 10px 12px;
  position: absolute;
  text-transform: uppercase;
  z-index: 5;
}

.node-a { left: 15%; top: 25%; }
.node-b { right: 13%; top: 20%; }
.node-c { right: 14%; top: 53%; }
.node-d { bottom: 16%; left: 38%; }
.node-e { bottom: 29%; left: 10%; }
.node-f { bottom: 10%; right: 14%; }

.field-thread {
  background: var(--lg-accent);
  height: 1px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform-origin: left center;
  width: 36%;
  z-index: 2;
}

.thread-one { transform: rotate(-34deg); }
.thread-two { transform: rotate(18deg); }
.thread-three {
  background: rgba(111, 106, 96, 0.42);
  transform: rotate(136deg);
  width: 32%;
}

.research-grid {
  row-gap: 24px;
}

.demo-strip {
  margin-top: 8px;
  overflow: hidden;
  position: relative;
}

#about .interests {
  padding-top: 12px;
}

.demo-track {
  align-items: stretch;
  animation: demoMarquee 48s linear infinite;
  display: flex;
  gap: 16px;
  width: max-content;
}

.demo-strip:hover .demo-track {
  animation-play-state: paused;
}

.demo-tile {
  aspect-ratio: 16 / 9;
  background: rgba(255, 253, 248, 0.74);
  border: 1px solid var(--lg-line);
  flex: 0 0 clamp(300px, 32vw, 420px);
  margin: 0;
  overflow: hidden;
}

.demo-tile img,
.demo-tile video {
  display: block;
  filter: saturate(0.9) contrast(1.02);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.demo-tile:hover img,
.demo-tile:hover video {
  filter: none;
}

@keyframes demoMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 8px)); }
}

.interests .icon-box,
.services .icon-box,
.contact .info-box {
  background: rgba(255, 253, 248, 0.74);
  border: 1px solid var(--lg-line);
  border-radius: 2px;
  box-shadow: none;
}

.research-card {
  min-height: 220px;
  padding: 26px 22px;
}

.research-card span {
  color: var(--lg-accent);
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 34px;
}

.interests .research-card h3 {
  color: var(--lg-ink);
  font-size: 21px;
  margin-bottom: 14px;
}

.research-card p {
  color: var(--lg-muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.interests .icon-box:hover,
.services .icon-box:hover,
.contact .info-box:hover {
  background: var(--lg-surface);
  border-color: rgba(181, 18, 27, 0.36);
  transform: translateY(-2px);
}

.lab-notes {
  padding-top: 18px;
}

.notes-list {
  border-top: 1px solid var(--lg-line);
}

.notes-list article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 26px;
  padding: 24px 0;
  border-bottom: 1px solid var(--lg-line);
}

.notes-list time {
  color: var(--lg-accent);
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.notes-list h4 {
  color: var(--lg-ink);
  font-size: 18px;
  margin-bottom: 8px;
}

.notes-list p {
  color: var(--lg-muted);
  line-height: 1.7;
  margin: 0;
}

.publication-entry {
  background: rgba(255, 253, 248, 0.68);
  border: 1px solid var(--lg-line);
  margin-bottom: 22px;
  padding: 20px;
}

.publication-entry .row {
  align-items: center;
}

.publication-entry .col-lg-8 {
  padding-left: 24px;
}

.publication-entry:hover {
  border-color: rgba(181, 18, 27, 0.34);
}

.publication-highlight {
  background:
    linear-gradient(90deg, rgba(160, 35, 42, 0.08), rgba(255, 253, 248, 0.68) 42%),
    rgba(255, 253, 248, 0.76);
  border-color: rgba(160, 35, 42, 0.42);
}

.publication-star {
  color: var(--lg-accent);
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  line-height: 1;
  margin-right: 8px;
  transform: translateY(-1px);
}

.paper-title {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.paper-title a {
  color: var(--lg-ink);
}

.paper-title a:hover {
  color: var(--lg-accent);
}

.authors,
.conference {
  color: var(--lg-muted);
}

.conference {
  color: var(--lg-accent);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.paper-demo {
  aspect-ratio: auto;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--lg-line);
  border-radius: 2px;
  overflow: visible;
  width: 100%;
}

.paper-demo img {
  box-shadow: none;
  display: block;
  filter: saturate(0.82) contrast(1.02);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.paper-demo img:hover {
  box-shadow: none;
  filter: none;
  transform: none;
}

.additional-publications h4 {
  color: var(--lg-ink);
}

.publication-list li {
  border-bottom: 1px solid var(--lg-line);
}

.publication-list li:hover {
  background: rgba(255, 253, 248, 0.7);
}

#faculty-grid,
#student-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 20px;
  width: 100%;
}

#faculty-grid a > div,
#student-grid a > div {
  background: rgba(255, 253, 248, 0.68);
  border: 1px solid var(--lg-line);
  margin-right: 0 !important;
  padding: 10px 10px 14px;
  width: 158px !important;
}

#faculty-grid img,
#student-grid img {
  aspect-ratio: 1 / 1;
  border-radius: 2px !important;
  filter: saturate(0.82);
  object-fit: cover;
}

#faculty-grid b,
#student-grid b {
  color: var(--lg-ink);
  font-size: 15px;
  line-height: 1.25;
}

#faculty-grid p,
#student-grid p {
  color: var(--lg-muted);
  font-size: 12px;
  line-height: 1.35;
}

#faculty-grid a:hover,
#student-grid a:hover {
  transform: translateY(-2px);
}

#faculty-grid a:hover b,
#student-grid a:hover b {
  color: var(--lg-accent);
}

.person-card {
  background: rgba(255, 253, 248, 0.68);
  border: 1px solid var(--lg-line);
  margin-bottom: 26px;
  padding: 10px 10px 14px;
  text-align: center;
  transition: all 0.3s ease;
  width: 158px;
}

.person-card:hover {
  border-color: rgba(160, 35, 42, 0.34);
  transform: translateY(-2px);
}

.person-card img {
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  filter: saturate(0.82);
  object-fit: cover;
  width: 100%;
}

.person-name {
  color: var(--lg-ink);
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 8px;
}

a.person-name:hover {
  color: var(--lg-accent);
}

.person-card p {
  color: var(--lg-muted);
  font-size: 12px;
  line-height: 1.35;
  margin: 4px 0 0;
}

.person-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  margin-top: 11px;
}

.person-links a {
  align-items: center;
  background: rgba(255, 253, 248, 0.84);
  border: 1px solid rgba(160, 35, 42, 0.2);
  border-radius: 50%;
  color: var(--lg-accent);
  display: inline-flex;
  font-size: 15px;
  height: 28px;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  width: 28px;
}

.person-links a:hover {
  background: var(--lg-accent);
  border-color: var(--lg-accent);
  color: #fff;
  text-decoration: none;
}

.person-links a i {
  display: block;
  color: inherit;
  line-height: 1;
}

.contact .info-box i.bx {
  background: var(--lg-wash);
  color: var(--lg-accent);
}

.contact .info-box h3 {
  color: var(--lg-ink);
}

.contact .info-box p {
  color: var(--lg-muted);
}

.contact .info-box .social-links a {
  color: var(--lg-muted);
}

.contact .info-box .social-links a:hover {
  color: var(--lg-accent);
}

.join-intro {
  max-width: 820px;
  margin-bottom: 34px;
}

.join-layout {
  align-items: start;
  display: grid;
  gap: clamp(28px, 6vw, 80px);
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
}

.join-intro p {
  color: var(--lg-muted);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.join-intro p:first-child {
  color: var(--lg-ink);
  font-size: 22px;
  line-height: 1.45;
}

.join-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.join-grid article {
  background: rgba(255, 253, 248, 0.74);
  border: 1px solid var(--lg-line);
  padding: 24px 22px;
}

.join-grid span {
  color: var(--lg-accent);
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 26px;
}

.join-grid h3 {
  color: var(--lg-ink);
  font-size: 20px;
  margin-bottom: 12px;
}

.join-grid p {
  color: var(--lg-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.polyu-logo-panel {
  align-items: center;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(135deg, rgba(160, 35, 42, 0.08), transparent 52%),
    rgba(255, 253, 248, 0.74);
  border: 1px solid var(--lg-line);
  display: flex;
  justify-content: center;
  min-width: 220px;
  padding: 34px;
}

.polyu-logo-mark {
  display: block;
  height: 100%;
  max-height: 260px;
  object-fit: contain;
  width: 100%;
}

.site-footer {
  border-top: 1px solid var(--lg-line);
  color: var(--lg-muted);
  margin-top: 0;
  padding: 30px 0;
  position: relative;
  z-index: 1;
}

.site-footer .container {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  max-width: 1180px;
  padding: 0 30px;
}

.site-footer strong {
  color: var(--lg-ink);
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.site-footer p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.site-footer a {
  color: var(--lg-accent);
}

.route-transition-line {
  background: linear-gradient(90deg, transparent, var(--lg-accent), #111827, transparent);
  height: 2px;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 76px;
  transform: scaleX(0);
  transform-origin: left center;
  width: 100%;
  z-index: 9999;
}

body.route-transitioning .route-transition-line {
  animation: routeLineSweep 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Current site layout: keep one page section in normal flow. */
body > section {
  bottom: auto !important;
  display: none;
  opacity: 0;
  overflow: visible;
  position: relative !important;
  top: auto !important;
  transform: translateY(0);
  width: 100%;
}

body > section.section-show {
  display: block;
  min-height: calc(100vh - 76px);
  opacity: 1;
  padding-top: 64px;
}

body > section.section-leaving {
  display: block;
  filter: blur(3px);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

body > section.section-entering {
  animation: sectionEnter 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

body > section.section-show .container:first-child {
  padding-top: 28px;
}

@keyframes routeLineSweep {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  18% {
    opacity: 1;
  }
  72% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}

@keyframes sectionEnter {
  0% {
    filter: blur(4px);
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lgPulseBlue {
  40% { text-shadow: 0 0 18px rgba(181, 18, 27, .28); }
}

@keyframes lgPulsePink {
  40% { text-shadow: 0 0 18px rgba(185, 216, 212, .65); }
}

@media (max-width: 992px) {
  #header.header-top {
    height: 68px;
  }

  .route-transition-line {
    top: 68px;
  }

  #header.header-top h1 {
    font-size: 20px;
  }

  section.section-show {
    top: 68px;
  }

  .publication-entry .col-lg-8 {
    padding-left: 15px;
  }

  .paper-demo {
    margin-bottom: 16px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .concept-field {
    max-width: 680px;
  }

  .join-layout {
    grid-template-columns: 1fr;
  }

  .polyu-logo-panel {
    max-width: 320px;
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  section .container {
    padding: 30px 20px;
  }

  .nav-menu li + li {
    margin-left: 18px;
  }

  .hero-copy h2 {
    font-size: 46px;
  }

  .concept-field {
    min-height: 360px;
  }

  .field-node {
    font-size: 9px;
    letter-spacing: 0.1em;
    padding: 8px 9px;
  }

  .field-core {
    height: 118px;
    width: 118px;
  }

  .field-core img {
    height: 138px;
    width: 138px;
  }

  .notes-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .join-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .container {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 576px) {
  #header.header-top h1 {
    font-size: 18px;
  }

  .brand-symbol {
    height: 32px;
    width: 32px;
  }

  .brand-symbol img {
    height: 23px;
    width: 23px;
  }

  .hero-copy h2 {
    font-size: 40px;
  }

  .hero-actions a {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.route-transitioning .route-transition-line,
  body > section.section-entering {
    animation: none;
  }

  body > section.section-leaving {
    filter: none;
    transition: none;
  }
}
