@import url(http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic);
body,
html {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale;
  overflow-y: auto;
  overflow-x: hidden;
  font-family: "Lato", sans-serif;
  color: #6f6f6f;
}
::-webkit-scrollbar {
  width: 2px;
} /* for vertical scrollbars */
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.5);
}

@media (min-width: 1200px) {
  .container {
    width: 1100px;
  }
}
h1 {
  font-weight: 600;
}
h1 small {
  text-transform: lowercase;
}
h2 {
  line-height: 24px;
  font-weight: 300;
}
h5 {
  font-size: 16px;
}
p {
  font-size: 14px;
}
a {
  color: inherit;
  transition: all 0.5s;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #1f78b4;
}
.highlight {
  color: #1f78b4;
}
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.clearfix {
  display: inline-block;
}
* html .clearfix {
  height: 1%;
}
.clearfix {
  display: block;
}
/* Navigation */
#menu {
  margin-bottom: 0;
  background-color: #1a3e5c;
  padding: 10px 0;
  height: auto;
  border: 0px;
}
.navbar-brand img {
  height: 30px;
  width: auto;
}
.navbar-brand {
  padding: 12px 15px;
}
.navbar-nav > li > a {
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  padding: 8px 16px;
  margin: 8px 4px;
  text-transform: uppercase;
  transition: all 0.5s;
  color: #fff !important;
}
.navbar-default .navbar-nav > li > a.active,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #333;
  border: 1px solid #efece6;
}
.navbar-default .navbar-toggle {
  border-color: transparent;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: transparent;
}
.navbar-default .navbar-toggle:hover > .navbar-default .navbar-toggle .icon-bar,
.navbar-default
  .navbar-toggle:focus
  > .navbar-default
  .navbar-toggle
  .icon-bar {
  color: #ffcc33;
}
/* Header Page */
#header {
  padding: 20px 0;
  background: #ffcc33;
  margin-top: 70px;
  color: #ffffff;
}
#header .breadcrumb {
  padding: 8px 15px;
  margin-bottom: 20px;
  list-style: none;
  background-color: transparent;
  border-radius: 4px;
  margin-left: -10px;
  margin-top: -10px;
}
#header .breadcrumb > li + li:before {
  padding: 0 5px;
  color: #fff;
  content: "/\00a0";
}
#header .breadcrumb > li a {
  color: #ffffff;
}
/* Home Style */
#home {
  background: url(../img/bg/01.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #828282;
}
#home .overlay {
  background: -moz-linear-gradient(
    top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.73) 17%,
    rgba(0, 0, 0, 0.66) 35%,
    rgba(0, 0, 0, 0.55) 62%,
    rgba(0, 0, 0, 0.4) 100%
  ); /* FF3.6+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, rgba(0, 0, 0, 0.8)),
    color-stop(17%, rgba(0, 0, 0, 0.73)),
    color-stop(35%, rgba(0, 0, 0, 0.66)),
    color-stop(62%, rgba(0, 0, 0, 0.55)),
    color-stop(100%, rgba(0, 0, 0, 0.4))
  ); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(
    top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.73) 17%,
    rgba(0, 0, 0, 0.66) 35%,
    rgba(0, 0, 0, 0.55) 62%,
    rgba(0, 0, 0, 0.4) 100%
  ); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(
    top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.73) 17%,
    rgba(0, 0, 0, 0.66) 35%,
    rgba(0, 0, 0, 0.55) 62%,
    rgba(0, 0, 0, 0.4) 100%
  ); /* Opera 11.10+ */
  background: -ms-linear-gradient(
    top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.73) 17%,
    rgba(0, 0, 0, 0.66) 35%,
    rgba(0, 0, 0, 0.55) 62%,
    rgba(0, 0, 0, 0.4) 100%
  ); /* IE10+ */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.73) 17%,
    rgba(0, 0, 0, 0.66) 35%,
    rgba(0, 0, 0, 0.55) 62%,
    rgba(0, 0, 0, 0.4) 100%
  ); /* W3C */
  padding: 20% 0;
  background-attachment: fixed;
}
#home h1 {
  color: #ffffff;
  line-height: 64px;
  font-size: 44px;
}
.content-heading p.lead {
  margin-bottom: 80px;
  color: #fff;
}
a.goto-btn {
  font-size: 18px;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  transition: all 0.5s;
}
a.goto-btn:hover {
  color: #feffff;
  border-bottom: 2px solid #38a5db;
}
/* Home Section Style 2 - With Video*/
#home.video .overlay {
  padding: 0;
  padding-top: 10%;
}
.img-wrapper {
  position: relative;
}
.img-wrapper img.img-responsive {
  margin: 0 auto !important;
}
.img-wrapper i.fa {
  position: absolute;
  z-index: 10;
  top: 50%;
  font-size: 25px;
  background: rgba(32, 22, 22, 0.29);
  padding: 18px 23px;
  height: 60px;
  width: 60px;
  text-align: center;
  border-radius: 50%;
  color: #ffffff;
  margin-left: -30px;
  transition: all 0.3s;
}
.img-wrapper i.fa:hover {
  background: #ffcc33;
}
/* Home Section Style 3 - Slider*/
#home.slider {
  background: none;
}
#home.slider .overlay {
  padding: 0;
}
.carousel-caption {
  position: absolute;
  right: 15%;
  top: 28%;
  bottom: auto;
  left: 15%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 0;
  color: #fff;
  text-align: center;
  text-shadow: none;
}
.carousel-indicators li {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 1px;
  text-indent: -999px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0);
  border: 1px solid #fff;
  border-radius: 10px;
}
.carousel-indicators {
  position: absolute;
  bottom: 60px;
  left: 50%;
  z-index: 15;
  width: 60%;
  padding-left: 0;
  margin-left: -30%;
  text-align: center;
  list-style: none;
}
.carousel-indicators .active {
  width: 14px;
  height: 14px;
  margin: 0;
  background-color: #38a5db;
}
.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
}
.carousel-fade .carousel-inner .active {
  opacity: 1;
}
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}
.carousel-fade .carousel-control {
  z-index: 2;
}
/* Home Section Style 4 - App Header Style*/
#home.app .overlay {
  padding: 10% 0 5% 0;
}
#home.app {
  background: url(../img/bg/02.jpg);
}
a.goto-btn {
  margin-right: 30px;
  border: #fff 1px solid;
  padding: 12px 18px;
  color: #fff;
}
.ipad-wrapper .app-wrap {
  position: relative;
  width: 395px;
}
.app-wrap {
  position: absolute;
  background: url(../img/header4.png);
  width: 395px;
  height: 540px;
  background-repeat: no-repeat;
  z-index: 2;
  left: 5%;
}
#owl-demo .item img {
  position: relative;
  width: 305px;
  height: auto;
  left: 12%;
  margin-top: 46px;
  z-index: -1;
}
.app .content-heading.text-left {
  padding: 15% 0;
}
#home.app .owl-theme .owl-controls .owl-page span {
  width: 15px;
  height: 15px;
  margin: 5px;
  background: #ffffff !important;
  border: 2px solid transparent;
  opacity: 1;
}
#home.app .owl-theme .owl-controls {
  margin-top: 60px;
  text-align: center;
}
#home.app .owl-theme .owl-controls .owl-page.active span,
#home.app .owl-theme .owl-controls.clickable .owl-page:hover span {
  border: 2px solid #ffcc33;
}

/* Home Parallax Effect */
.bcg {
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  height: 100%;
  width: 100%;
}

#home.parallax .bcg {
  background-image: url("../img/bg/slider03.jpg");
}
.parallax .content-heading {
  padding: 20% 0;
  text-align: center;
}
/* Intro Section */
#intro {
  background-color: #38a5db;
  padding: 5% 0;
  color: #ffffff;
  text-align: center;
}
#intro img.intro-logo {
  margin: 0 auto;
  margin-bottom: 30px;
}
/* Service Section */
#whatIdo {
  padding: 60px 0;
  background-color: #fff;
  color: #909090;
}
.section-header {
  padding: 40px 0;
  text-align: center;
}
.section-header h2 {
  text-transform: uppercase;
  color: #333;
}
.section-header h5 {
  letter-spacing: 1px;
  color: #adadad;
}
.fancy {
  line-height: 0.5;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 20px;
}
.fancy span {
  display: inline-block;
  position: relative;
}
.fancy span:before,
.fancy span:after {
  content: "";
  position: absolute;
  height: 5px;
  border-bottom: 1px solid #e4e4e4;
  top: 15px;
  width: 400px;
}
.fancy span:before {
  right: 100%;
  /* margin-right: 10px; */
}
.fancy span:after {
  left: 100%;
  /* margin-left: 10px; */
}
/* service lists */
.service {
  margin-bottom: 20px;
}
.service .media-right i.fa {
  text-align: center;
  font-size: 30px;
  background-color: #333333;
  color: #ffffff;
  padding: 25px 0;
  border-radius: 0;
  border-top-left-radius: 0;
  margin: 0 10px;
  margin-right: 20px;
  width: 82px;
  height: 80px;
  transition: background-color 0.5s;
}
.service .media-left i.fa {
  text-align: center;
  font-size: 30px;
  background-color: #333333;
  color: #ffffff;
  padding: 25px 0;
  border-radius: 0;
  border-top-right-radius: 0;
  margin: 0 10px;
  margin-left: 20px;
  width: 82px;
  height: 80px;
  transition: background-color 0.5s;
}
.experience:hover i.fa,
.service:hover i.fa {
  background-color: #333333;
}
h4.media-heading {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  color: #333;
  line-height: 20px;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #fff;
}
/* About Us */
#about {
  background: #38a5db;
  color: #fff;
  padding: 80px 0;
}

#about h1 {
  color: #fff;
  font-size: 36px;
  line-height: 42px;
  font-weight: 300;
  margin-bottom: 24px;
  position: relative;
}
#about h2,
#about h5 {
  color: #fff;
}
#about p {
  font-size: 18px;
  line-height: 36px;
  font-weight: 300;
  margin-bottom: 8px;
}

#about a:hover {
  text-decoration: underline;
}

#about .btn-theme.transparent {
  font-size: 18px;
  text-decoration: none;
}

#about img {
  box-shadow:
    12px 0px 0px 12px rgba(255, 255, 255, 0.2),
    -12px 0px 0px 12px rgba(255, 255, 255, 0.2);
}

#about {
  padding: 40px 0;
}
.gray-bg {
}
.img-wrap .profile-img {
  position: relative;
  margin-bottom: 40px;
}
.profile-img .social {
  position: absolute;
  z-index: 1;
  bottom: -10px;
  left: 50px;
}
.about-right-content {
  padding: 0;
}
.about-left-content {
  padding-bottom: 60px;
}
.about-left-content h2,
.about-left-content h2 small {
  color: #333;
}
.about-left-content h2 small {
  font-weight: 300;
}
ul.social li a.fa {
  background: #1f78b4;
  width: 50px;
  height: 50px;
  padding: 15px;
  text-align: center;
  margin-right: -5px;
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 0;
}
ul.social li a.fa:hover {
  background-color: #16304a;
}

#footer {
  background: #0f2438;
  color: #b0b8c1;
  padding: 20px 0;
}
#footer a {
  color: #ffffff;
}
#footer a:hover {
  color: #1f78b4;
}
/* Skills Progress Bar */
.progress {
  height: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  background-color: #8dd4f7;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.progress-bar {
  float: left;
  width: 0;
  height: 100%;
  font-size: 12px;
  line-height: 20px;
  color: #fff;
  text-align: center;
  background-color: #267ca5;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: width 0.6s ease;
  -o-transition: width 0.6s ease;
  transition: width 0.6s ease;
}
.skills {
  margin-top: 0;
  padding: 0;
  text-align: left;
  font-size: 13px;
  margin-left: 20px;
}
.skillset p {
  font-size: 13px;
  margin-bottom: 5px;
}
/* Counter */
#counter {
  margin-top: 50px;
}
.facts {
  padding: 0;
  margin-bottom: 8px;
}
.facts .count-box {
  position: relative;
  background-color: rgba(1, 36, 53, 0.32);
  margin: 0 4px;
}
.count-box {
  -webkit-backface-visibility: hidden;
  padding: 30px 0;
  margin: 0;
  overflow: hidden;
  transition: all 0.5s;
  transform: translateX(0px) translateY(0%);
  -webkit-transform: translateX(0px) translateY(0%);
  -moz-transform: translateX(0px) translateY(0%);
  -ms-transform: translateX(0px) translateY(0%);
  -o-transform: translateX(0px) translateY(0%);
}
/*.count-box .hover-bg{ 
  position: absolute;
  display: block;
  background-color: #FFCC32;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: all 0.5s;
  transform: translateX(0px) translateY(150px);
  -webkit-transform: translateX(0px) translateY(150px);
  -ms-transform: translateX(0px) translateY(150px);
    -o-transform: translateX(0px) translateY(150px);
    opacity: 0;
}
.count-box:hover .hover-bg{
  background: #FFCC32;
  color: #fff !important;
  transform: translateX(0px) translateY(-40px);
    -webkit-transform: translateX(0px) translateY(-40px);
    -moz-transform: translateX(0px) translateY(-40px);
    -ms-transform: translateX(0px) translateY(-40px);
    -o-transform: translateX(0px) translateY(-40px);
    opacity: 1;
}*/
.count-box:hover,
.count-box:hover > i.fa {
  color: #ffffff;
}
.count-box:hover {
  -webkit-backface-visibility: hidden;
  background-color: #58bdef;
}
.counter i.fa {
  font-size: 40px;
  color: #ffffff;
}
.count-box.last {
}
/* Portfolio / Works Sections */
#team {
  padding: 60px 0;
}
#team .item {
  padding: 30px 0px;
  margin: 5px 20px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.item .hover-bg {
  position: relative;
  overflow: hidden;
}
.hover-bg .hover-text {
  position: absolute;
  display: block;
  bottom: 0;
  width: 100%;
  height: 25%;
  padding: 20px;
  color: #ffffff;
  transition: all 0.8s;
  -webkit-transition: all 08s;
  -moz-transition: all 0.8s;
  -o-transition: all 0.8s;
}
.hover-bg .hover-text.on {
  opacity: 1;
}
.hover-bg .hover-text.off {
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transform: translateX(100%) translateY(-90%);
  transform: translateX(100%) translateY(-90%);
  opacity: 1;
  background: rgba(0, 0, 0, 0.7);
}
.hover-bg:hover .hover-text.off {
  -webkit-transform: translateX(0%) translateY(-90%);
  transform: translateX(0%) translateY(-90%);
  opacity: 1;
}
.owl-theme .owl-controls .owl-page span {
  width: 15px;
  height: 15px;
  margin: 5px;
  background: #bababa;
}
/* Why Us or Features Section */
#features,
#feature {
  padding: 60px 0;
}
.features-content {
  padding: 0 30px 0;
}
.features-content h4 {
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #333333;
}
.nav.nav-pills > li > a {
  position: relative;
  display: block;
  background-color: #ffffff;
  padding: 25px;
  border-bottom: 3px solid #cccccc;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.nav.nav-pills > li > a small {
  text-transform: lowercase;
  font-style: italic;
}
.nav.nav-pills > li > a:hover,
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
  color: #fff;
  background-color: #38a5db;
  padding: 25px;
}
.nav-pills > li > a {
  border-radius: 0;
}
ul.features li span.fa {
  font-size: 35px;
  vertical-align: middle;
  margin-right: 20px;
  float: left;
  clear: both;
  margin-top: 5px;
}
/* Portfolio or works blocks */
#works {
  padding: 60px 0;
  background-color: #fff;
}
ul.cat {
  margin: 30px 0;
}
ul.cat li a {
  background: inherit;
  border: 1px solid #38a5db;
  padding: 10px 16px;
}
ul.cat li a:hover,
ul.cat li a:focus,
ul.cat li a.active {
  background: #38a5db;
  border: 1px solid #38a5db;
  padding: 10px 16px;
  border-radius: 0;
  color: #fff;
}
.nopadding {
  padding: 0;
}
.box a {
  margin: 2px;
}
.box .hover-bg {
  position: relative;
  overflow: hidden;
}
.box .hover-bg .hover-text {
  height: 100%;
  bottom: 0;
  -webkit-transform: translateX(0%) translateY(0%);
  transform: translateX(0%) translateY(0%);
  background: transparent;
}
.box:hover .hover-bg .hover-text {
  background-color: rgba(1, 1, 1, 0.5);
}
.box .hover-bg:hover .hover-text.off {
  -webkit-transform: translateX(0%) translateY(0%);
  transform: translateX(0%) translateY(0%);
  opacity: 1;
}
.box .hover-text i.fa {
  font-size: 20px;
  background: #38a5db;
  padding: 13px;
  position: relative;
  top: 40%;
  border-radius: 0;
  width: 45px;
  height: 45px;
  transition: all 0.5s;
}
.box .hover-text i.fa:hover {
  background: #333333;
}
.box .hover-text i.fa.fa-expand {
  border-top-right-radius: 0;
  -webkit-transform: translateX(-400%) translateY(0%);
  transform: translateX(-400%) translateY(0%);
  opacity: 0;
  transition: all 0.5s;
}
.box:hover .hover-text i.fa.fa-expand {
  -webkit-transform: translateX(0%) translateY(0%);
  transform: translateX(0%) translateY(0%);
  opacity: 1;
}
.box .hover-text i.fa.fa-chain {
  border-top-left-radius: 0;
  -webkit-transform: translateX(400%) translateY(0%);
  transform: translateX(400%) translateY(0%);
  opacity: 0;
  transition: all 0.5s;
}
.box:hover .hover-text i.fa.fa-chain {
  -webkit-transform: translateX(0%) translateY(0%);
  transform: translateX(0%) translateY(0%);
  opacity: 1;
}
/* Style 2 - Not Fullwidth */
#itemsWorkThree .box,
#itemsWorkTwo .box {
  margin-bottom: 30px;
}
#itemsWorkTwo .hover-bg .hover-text {
  padding: 30% 0;
}
#itemsWorkTwo .box:hover .hover-bg .hover-text {
  background-color: rgba(255, 223, 125, 0.7);
  border: 10px solid rgba(185, 156, 72, 0.8);
}
#itemsWorkTwo .box .hover-bg .hover-text h5 small {
  text-transform: capitalize;
  color: #000000;
}
#itemsWorkTwo .box .hover-bg .hover-text h5 {
  font-weight: 700;
  text-transform: uppercase;
  color: #000000;
  -webkit-transform: translateX(0%) translateY(400%);
  transform: translateX(0%) translateY(400%);
  opacity: 0;
  transition: all 0.5s;
}
#itemsWorkTwo .box:hover .hover-bg .hover-text.off h5 {
  -webkit-transform: translateX(0%) translateY(0%);
  transform: translateX(0%) translateY(0%);
  opacity: 1;
}
#itemsWorkTwo .box .hover-text i.fa {
  font-size: 20px;
  background: transparent;
  padding: 13px;
  position: relative;
  top: 40%;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  transition: all 0.5s;
  border: 1px solid #ffffff;
}
#itemsWorkTwo .box .hover-text i.fa:hover {
  background: #333333;
}
/* Portfolio Style #3 */
#itemsWorkThree .box h5 {
  border: 1px solid #ddd;
  padding: 10px 0;
  margin: 0;
}
/* Isotope Filter */
.isotope-item {
  z-index: 2;
}
.isotope-hidden.isotope-item {
  z-index: 1;
}
.isotope,
.isotope .isotope-item {
  /* change duration value to whatever you like */
  -webkit-transition-duration: 0.8s;
  -moz-transition-duration: 0.8s;
  transition-duration: 0.8s;
}
.isotope-item {
  margin-right: -1px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.isotope {
  -webkit-transition-property: height, width;
  -moz-transition-property: height, width;
  transition-property: height, width;
}
.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
  -moz-transition-property: -moz-transform, opacity;
  transition-property: transform, opacity;
}
.nivo-lightbox-theme-default .nivo-lightbox-title {
  font-size: 14px;
  background: #f1f1f1;
  border: 1px solid #333;
  letter-spacing: 2px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px 35px;
  border-radius: 2px;
}
.nivo-lightbox-theme-default.nivo-lightbox-overlay {
}
.nivo-lightbox-theme-default .nivo-lightbox-nav,
.nivo-lightbox-theme-default .nivo-lightbox-close {
  opacity: 1;
}
.nivo-lightbox-error {
  color: #c59a6d !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0) !important;
}
.nivo-lightbox-theme-default .nivo-lightbox-image img {
  background: #fff;
  -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.4);
}
/* Single Portfolio Detail */
#work-detail-one,
#work-detail-two,
#work-detail-three {
  padding: 60px 0;
}
.work-detail .dl-horizontal dt {
  text-align: left;
  margin-bottom: 10px;
}
.work-related-thumb {
  margin-bottom: 30px;
}
.work-related-thumb .img-thumbnail {
  display: inline-block;
  max-width: 100%;
  height: auto;
  padding: 0;
  line-height: 1.42857143;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.work-related-thumb .img-thumbnail:hover {
  opacity: 0.8;
}
/* experience Section */
#experience {
  padding: 60px 0;
}
.experience i.fa {
  text-align: center;
  font-size: 30px;
  background-color: #333;
  color: #ffffff;
  padding: 25px 0;
  border-top-left-radius: 0;
  margin: 0 10px;
  margin-right: 20px;
  width: 92px;
  height: 90px;
  transition: background-color 0.5s;
}
#experience .gray-bg {
  position: relative;
}
.gray-bg .vline {
  position: absolute;
  height: 100%;
  padding: 5px;
  border-left: 3px solid #ffffff;
  left: 20%;
}
#experience {
  padding: 60px 0 20px 0;
  background-color: #fff;
  color: #909090;
}
.experience {
  margin-bottom: 40px;
}
/* Pricing Section */
#pricing {
  padding: 60px 0;
}
.price h1 {
  font-size: 50px;
}
.price {
  text-align: center;
}
.price.panel-default {
  border-color: #333;
}
.price.panel-default > .panel-heading {
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  background-color: #333333;
  border-color: inherit;
}
.price .panel-heading {
  padding: 30px 15px;
}
.price .panel-body {
  border-bottom: 1px solid;
}
.price ul.list-unstyled {
  padding: 20px;
}
.price ul.list-unstyled li {
  padding: 10px 0;
}
.price ul.list-unstyled li small {
  margin-top: -10px;
}
/* Featured */
.price.featured {
  -moz-box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.31);
  -webkit-box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.31);
  box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.31);
}
.price.featured.panel-default {
  border-color: #ffcc33;
  background-color: #ffffff;
  margin-top: -20px;
  position: relative;
  z-index: 1;
  margin-left: -5px;
  margin-right: -5px;
}
.price.featured.panel-default {
  border-color: #ffcc33;
}
.price.featured.panel-default > .panel-heading {
  background-color: #ffcc33;
}
.featured .panel-body {
  margin-top: 20px;
}
.featured .panel-body,
.featured.panel-default > .panel-heading {
  border-color: #ffcc33;
}
.featured .btn {
  margin-top: 20px;
}
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: 0;
  outline: 0;
  outline-offset: 0;
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.btn {
  font-size: 12px;
  word-spacing: 2px;
  font-weight: 700;
  padding: 10px 20px;
  background-color: #38a5db;
  text-transform: uppercase;
  border-color: #333333;
  transition: all 0.5s;
  border-radius: 0;
  border: 0;
  color: #fff;
}
.btn:focus,
.btn:hover {
  background-color: #333333;
  border-color: #ffcc33;
}
.color {
  background-color: #38a5db;
  border-color: #38a5db;
}
.color:focus,
.color:hover {
  border-color: #333333;
  background-color: #38a5db;
}
/* Blog Section */
#blog,
#blog-post {
  padding: 60px 0;
}
#blog-post a.btn {
  margin: auto 0;
}
.post-wrap {
  position: relative;
}
.media.post {
  background: #fff;
  padding: 10px;
}
.post-wrap {
  position: relative;
  margin-bottom: 30px;
  transition: all 0.5s;
}
.post-meta {
  border-top: 1px solid #ebebeb;
  background-color: #ffffff;
  padding: 5px 10px;
  height: auto;
  position: relative;
  min-height: 35px;
}
ul.metas li:after {
  content: " / ";
  margin-right: 3px;
  margin-left: 3px;
}
ul.metas li:last-child:after {
  content: " ";
}
ul.metas li a {
  color: #38a5db;
}
.meta-detail {
  background: #f4f4f4;
  border-radius: 3px;
  padding: 2px;
}
/* Contact Section */
/*********************************
/* Map Section
**********************************/
#contact {
  padding: 60px 0;
  background-color: #eaeaea;
}
#map {
  position: relative;
  width: 100%;
  height: 400px;
}
.contact-detail {
  text-align: center;
  margin: 0px 0;
}
.contact-detail i.fa {
  text-align: center;
  font-size: 30px;
  background-color: #333;
  color: #ffffff;
  padding: 25px 0;
  border-radius: 0;
  border-top-left-radius: 0;
  margin: 0 10px;
  margin-right: 20px;
  width: 82px;
  height: 80px;
  transition: background-color 0.5s;
}
.contact-detail:hover i.fa {
  background-color: #333333;
}
form#contact-form {
  padding: 40px 0;
}
.contact form#contact-form {
  padding: 0;
}
.form-control:focus {
  border-color: inherit;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.form-control {
  display: block;
  width: 100%;
  height: 44px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}
p.help-block.text-danger ul li {
  display: block;
  margin-left: -20px;
  color: #ffcc33;
}
#success .alert-danger {
  color: #ffcc33;
  background-color: #fdfdfd;
  border-color: #ffcc33;
  margin-bottom: 10px;
}
/* Footer */
#footer {
  padding: 35px 0 10px;
  background-color: #333;
  color: #ffffff;
}
ul.social li a i {
  font-size: 18px;
  background: transparent;
  width: 32px;
  height: 32px;
  padding: 7px 0;
  text-align: center;
  border-top-left-radius: 0;
  border: 1px solid transparent;
  color: #ffffff;
  transition: all 0.5s;
}
ul.social li a i:hover {
  border-color: #ffffff;
}
/* Blog Page */
.blog .media.post {
  background: #fff;
  padding: 10px;
  border: 1px solid #e9e9e9;
  border-bottom-color: transparent;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
.blog .post-meta {
  border-top: 1px solid #ebebeb;
  background-color: #ffffff;
  padding: 5px 10px;
  height: auto;
  position: relative;
  min-height: 35px;
  border: 1px solid #ebebeb;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: 0;
  line-height: 1.42857143;
  color: #ffffff;
  text-decoration: none;
  background-color: #ffcc33;
  border: 1px solid #ffcc33;
  margin: 3px 3px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 5px;
}
.pagination > li > a.active,
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  color: #ffffff;
  background-color: #ddab15;
  border-color: #ddab15;
}
/* Sidebar */
.widget {
  margin-bottom: 40px;
  padding: 0 20px;
}
.comment h4,
.widget h4,
h4.text-uppercase {
  font-weight: 300;
  color: #ffcc33;
}
.comment h4 span.comments {
  color: #333333;
}
/* Search */
button.btn.btn-default {
  padding: 11px 15px;
  color: #ffffff;
  background: #ffcc33;
}
/* Categories and Archive Widget */
ul.bullet-lists {
  margin-top: 20px;
}
ul.list-unstyled.bullet-lists li span.fa.fa-circle {
  font-size: 8px;
  vertical-align: middle;
  margin-right: 10px;
  color: #ffcc33;
}
ul.list-unstyled.bullet-lists li {
  padding: 5px 0;
}
ul.list-unstyled.bullet-lists li:hover {
  color: #ffcc33;
}
/* Post Tab */
.post-tab .nav-tabs > li > a {
  margin-right: -1px;
  line-height: 1.42857143;
  border: 1px solid #ddd;
  border-radius: 0px 0px 0 0;
}
.post-tab .list-group-item:first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: -1px;
}
.post-tab .nav-tabs > li > a:hover,
.post-tab .nav-tabs > li > a:focus {
  color: #fff;
  background-color: #fc3;
  border: 1px solid #ddd;
  border-bottom-color: transparent;
}
/* Tags */
ul.list-inline.bullet-lists li a {
  color: inherit;
}
ul.list-inline.bullet-lists li {
  background: #f8f8f8;
  padding: 5px 10px;
  margin-bottom: 5px;
  margin-right: 2px;
  border: 1px solid #f4f4f4;
  border-radius: 3px;
  transition: all 0.3s;
}
ul.list-inline.bullet-lists li:hover {
  background: #ffcc33;
}
/* Single Blog Post */
.blog-post .post-wrap img,
.work-detail img.featured {
  margin: 20px 0;
}
ul.meta-tags li a {
  font-style: italic;
}
ul.meta-tags li:after {
  content: ",";
}
ul.meta-tags li:last-child:after {
  content: " ";
}
/* Author Box */
.media.post-author {
  background: #ffcc33;
  padding: 20px;
  margin-top: -1px;
}
.media.post-author a {
  content: inherit;
}
.blog-post .post-wrap {
  padding: 20px;
  margin-bottom: 0;
  border: 1px solid #dddddd;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
}
/* Comment */
.media.comment-block {
  border: 1px solid #ddd;
  padding: 20px;
}
.comment {
  margin-top: 40px;
}
.comment form {
  margin-top: -30px;
}
.comment input,
.comment textarea {
  margin-bottom: 15px;
}

/* ==== imported from index.html inline styles ==== */
/* ─── TOKENS ─── */
:root {
  --bg: #0b0f1a;
  --bg2: #111827;
  --bg3: #1a2235;
  --surface: #1e2d45;
  --surface2: #243652;
  --border: rgba(99, 152, 255, 0.12);
  --border2: rgba(99, 152, 255, 0.22);
  --text: #e8eeff;
  --text2: #9aaac8;
  --text3: #5f7099;
  --accent: #4f8eff;
  --accent2: #6baeff;
  --accent-dim: rgba(79, 142, 255, 0.12);
  --accent-glow: rgba(79, 142, 255, 0.25);
  --teal: #2dd4bf;
  --teal-dim: rgba(45, 212, 191, 0.12);
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --red: #f87171;
  --red-dim: rgba(248, 113, 113, 0.1);
  --green: #4ade80;
  --green-dim: rgba(74, 222, 128, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: "Cormorant Garamond", serif;
  --font-body: "Inter", sans-serif;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --glow: 0 0 40px rgba(79, 142, 255, 0.15);
}
[data-theme="light"] {
  --bg: #f0f4ff;
  --bg2: #ffffff;
  --bg3: #e8eef8;
  --surface: #ffffff;
  --surface2: #eef3ff;
  --border: rgba(79, 142, 255, 0.14);
  --border2: rgba(79, 142, 255, 0.28);
  --text: #0f1729;
  --text2: #3d4f72;
  --text3: #7a8db0;
  --accent-dim: rgba(79, 142, 255, 0.08);
  --accent-glow: rgba(79, 142, 255, 0.15);
  --teal-dim: rgba(13, 148, 136, 0.08);
  --amber-dim: rgba(180, 83, 9, 0.08);
  --red-dim: rgba(220, 38, 38, 0.08);
  --green-dim: rgba(22, 163, 74, 0.08);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --glow: 0 0 40px rgba(79, 142, 255, 0.06);
}

/* ─── RESET ─── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 15px;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  transition:
    background 0.3s,
    color 0.3s;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border2);
  border-radius: 4px;
}

/* ─── NAV ─── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 60px;
  background: rgba(11, 15, 26, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition:
    background 0.3s,
    border-color 0.3s;
}
[data-theme="light"] #nav {
  background: rgba(240, 244, 255, 0.88);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--accent-glow);
  }
  50% {
    box-shadow: 0 0 0 6px transparent;
  }
}
.nav-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}
.nav-links a {
  font-size: 12.5px;
  color: var(--text3);
  padding: 6px 14px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  transition:
    color 0.2s,
    background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: var(--accent-dim);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
#theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  transition: all 0.2s;
  font-size: 16px;
}
#theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.nav-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text2);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
}
.nav-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 2.5rem 60px;
  position: relative;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border2);
  color: var(--accent2);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1.5rem;
}
h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text2);
  max-width: 540px;
  margin-bottom: 2.5rem;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-outline {
  border: 1px solid var(--border2);
  color: var(--text2);
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.metric {
  background: var(--bg2);
  padding: 1.25rem 1rem;
  text-align: center;
}
.metric-n {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
}
.metric-n span {
  font-size: 1rem;
  color: var(--accent);
}
.metric-l {
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* HERO CARD */
.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.panel-header {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel-dots {
  display: flex;
  gap: 6px;
}
.panel-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.panel-dots .d1 {
  background: #f87171;
}
.panel-dots .d2 {
  background: #fbbf24;
}
.panel-dots .d3 {
  background: #4ade80;
}
.panel-title {
  font-size: 12px;
  color: var(--text3);
  margin-left: 6px;
  font-family: "DM Mono", monospace;
  letter-spacing: 0.04em;
}
.panel-body {
  padding: 1.5rem;
}
.prof-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.prof-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.prof-sub {
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
}
.panel-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text2);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.panel-row:last-of-type {
  border-bottom: none;
}
.panel-row svg {
  flex-shrink: 0;
  color: var(--accent);
}
.panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1rem;
}
.ptag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}
.ptag-blue {
  background: var(--accent-dim);
  color: var(--accent2);
}
.ptag-teal {
  background: var(--teal-dim);
  color: var(--teal);
}
.ptag-amber {
  background: var(--amber-dim);
  color: var(--amber);
}

/* ─── SECTION WRAPPER ─── */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
section {
  padding: 5rem 0;
}
.section-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 2.5rem;
}
h2 span {
  color: var(--accent);
}

/* ─── RESEARCH CARDS ─── */
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.rc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  cursor: default;
  transition:
    border-color 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.rc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.rc:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}
.rc:hover::before {
  opacity: 1;
}
.rc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-size: 20px;
  position: relative;
}
.rc-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 6px;
}
.rc-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.65;
}

/* ─── PUBLICATIONS ─── */
.pub-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.pf-btn {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--border2);
  color: var(--text3);
  transition: all 0.2s;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.pf-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.pf-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.pub-list {
  display: grid;
  gap: 1rem;
}
.pub-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(48px, 72px) minmax(0, 1fr) auto;
  grid-template-areas: "year body cited";
  gap: 1rem 1.25rem;
  align-items: start;
  transition:
    border-color 0.2s,
    transform 0.2s;
  position: relative;
  overflow: hidden;
}
.pub-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s;
}
.pub-item:hover {
  border-color: var(--border2);
  transform: translateX(4px);
}
.pub-item:hover::after {
  transform: scaleY(1);
}
.pub-item.hidden {
  display: none;
}
.pub-yr {
  grid-area: year;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  min-width: 54px;
  padding-top: 3px;
  align-self: start;
}
.pub-body {
  grid-area: body;
  min-width: 0;
}
.pub-cited {
  grid-area: cited;
  justify-self: end;
  align-self: start;
  font-size: 11px;
  color: var(--text3);
  white-space: nowrap;
  padding-top: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pub-title {
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.5;
  width: 100%;
}
.pub-venue {
  font-size: 12.5px;
  color: var(--text3);
  margin-bottom: 8px;
  font-style: italic;
}
.pub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
}
.tag-accent {
  background: var(--accent-dim);
  color: var(--accent2);
}
.tag-teal {
  background: var(--teal-dim);
  color: var(--teal);
}
.tag-amber {
  background: var(--amber-dim);
  color: var(--amber);
}
.tag-green {
  background: var(--green-dim);
  color: var(--green);
}
.pub-cited {
  font-size: 11px;
  color: var(--text3);
  margin-left: auto;
  white-space: nowrap;
  padding-top: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ─── TIMELINE ─── */
.tl-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.tl-col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.timeline {
  position: relative;
  padding-left: 1.75rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}
.tl-item {
  position: relative;
  margin-bottom: 2rem;
  cursor: default;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  transition: background 0.2s;
}
.tl-item:hover::before {
  background: var(--accent);
}
.tl-period {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.tl-role {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 2px;
}
.tl-place {
  font-size: 12.5px;
  color: var(--text3);
  margin-bottom: 6px;
}
.tl-detail {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    margin-top 0.3s;
}
.tl-item:hover .tl-detail,
.tl-item.open .tl-detail {
  max-height: 100px;
  margin-top: 4px;
}

/* ─── AWARDS ─── */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.award-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.award-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.award-card:hover::before {
  transform: scaleX(1);
}
.award-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.award-yr {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.award-title {
  font-weight: 500;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 8px;
}
.award-amt {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.03em;
}

/* ─── TEACHING ─── */
.teaching-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.tm-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.tm-n {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
}
.tm-l {
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 3px;
}
.course-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 1.5rem;
}
.ct-btn {
  font-size: 12px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 6px;
  border: 1px solid var(--border2);
  color: var(--text3);
  transition: all 0.2s;
}
.ct-btn.active {
  background: var(--surface2);
  border-color: var(--accent);
  color: var(--accent);
}
.courses-pane {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.courses-pane.active {
  display: grid;
}
.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color 0.2s;
}
.course-card:hover {
  border-color: var(--border2);
}
.course-code {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 4px 8px;
  border-radius: 5px;
  white-space: nowrap;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.course-name {
  font-weight: 500;
  font-size: 13.5px;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.35;
}
.course-meta {
  font-size: 12px;
  color: var(--text3);
}

/* ─── CITATION CHART ─── */
.chart-area {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2.5rem;
}
.chart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.chart-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.chart-sub {
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
}
.chart-total {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  text-align: right;
  line-height: 1;
}
.chart-total small {
  font-size: 11px;
  color: var(--text3);
  font-family: var(--font-body);
  font-weight: 400;
  display: block;
  margin-top: 2px;
}
#citation-chart {
  width: 100%;
  height: 160px;
}

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text2);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-child {
  border-bottom: none;
}
.contact-row svg {
  color: var(--accent);
  flex-shrink: 0;
}
.contact-row a {
  color: var(--accent2);
}
.contact-row a:hover {
  text-decoration: underline;
}
.memberships {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mbr-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text2);
}
.mbr-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  color: var(--text3);
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  color: var(--text3);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--accent);
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-d1 {
  transition-delay: 0.1s;
}
.reveal-d2 {
  transition-delay: 0.2s;
}
.reveal-d3 {
  transition-delay: 0.3s;
}

/* ─── MOBILE ─── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-panel {
    display: none;
  }
  .tl-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .research-grid {
    grid-template-columns: 1fr 1fr;
  }
  .awards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .teaching-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .pub-item {
    grid-template-columns: 1fr;
    grid-template-areas:
      "year"
      "body"
      "cited";
  }
  .pub-item::after {
    display: none;
  }
  .pub-yr {
    min-width: auto;
    padding-top: 0;
  }
  .pub-cited {
    margin-left: 0;
    margin-top: 0.7rem;
    justify-self: start;
  }
  .pub-filters {
    justify-content: center;
  }
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg2);
    flex-direction: column;
    gap: 0;
    padding: 0 1rem;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    z-index: 190;
  }
  .nav-links.open {
    max-height: 360px;
  }
  .nav-links li {
    margin: 0;
  }
  .nav-links a {
    display: block;
    padding: 14px 0;
    border-radius: 0;
    color: var(--text2);
  }
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--accent);
    background: transparent;
  }
  .nav-right {
    gap: 8px;
  }
  .nav-toggle {
    display: flex;
  }
}
@media (max-width: 600px) {
  nav {
    padding: 0 1rem;
  }
  .hero-inner,
  .wrap {
    padding: 0 1rem;
  }
  #hero {
    padding: 90px 1rem 50px;
  }
  .hero-lead {
    font-size: 15px;
  }
  .research-grid,
  .awards-grid {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 2.4rem;
  }
  footer {
    padding: 2rem 1rem;
  }
  section {
    padding: 3rem 0;
  }
}

/* ─── ACTIVE NAV ─── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.2s;
  z-index: 150;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-3px);
}
