/**
* Template Name: iPortfolio
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Updated: Mar 17 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #272829;
}

a {
  color: #00356b;
  text-decoration: none;
}

a:hover {
  color: #286dc0;
  text-decoration: none;
}

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

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #00356b;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #286dc0;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  transition: all ease-in-out 0.5s;
  z-index: 9997;
  transition: all 0.5s;
  padding: 0 15px;
  background: #002347;
  overflow-y: auto;
}

#header .profile img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid rgba(255, 255, 255, 0.15);
}

#header .profile h1 {
  font-size: 24px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  -moz-text-align-last: center;
  text-align-last: center;
  font-family: "Poppins", sans-serif;
}

#header .profile h1 a,
#header .profile h1 a:hover {
  color: #fff;
  text-decoration: none;
}

#header .profile .tagline {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin-top: 5px;
  font-style: italic;
}

#header .profile .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#header .profile .social-links a:hover {
  background: #286dc0;
  color: #fff;
  text-decoration: none;
}

#header .yale-brand {
  text-align: center;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 10px;
}

#header .yale-brand img {
  height: 45px;
  opacity: 1;
  padding: 4px 10px;
  filter: brightness(0) invert(1);
}

#main {
  margin-left: 300px;
}

.container,
.container-fluid {
  padding-left: 30px;
  padding-right: 30px;
}

@media (max-width: 1199px) {
  #header {
    left: -300px;
  }

  #main {
    margin-left: 0;
  }

  .container,
  .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu {
  padding: 30px 0 0 0;
}

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

.nav-menu>ul>li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a,
.nav-menu a:focus {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  padding: 12px 15px;
  margin-bottom: 8px;
  transition: 0.3s;
  font-size: 15px;
}

.nav-menu a i,
.nav-menu a:focus i {
  font-size: 24px;
  padding-right: 8px;
  color: rgba(255, 255, 255, 0.4);
}

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

.nav-menu a:hover i,
.nav-menu .active i,
.nav-menu .active:focus i,
.nav-menu li:hover>a i {
  color: #286dc0;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  background-color: #00356b;
  color: #fff;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 50px;
  cursor: pointer;
}

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

.mobile-nav-active #header {
  left: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: url("../img/yale-background.jpg") center center;
  background-size: cover;
}

#hero:before {
  content: "";
  background: rgba(0, 35, 71, 0.65);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.yale-hero-shield {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  height: 80px;
  z-index: 3;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.yale-hero-shield:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .yale-hero-shield {
    height: 50px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
  }
}

#hero .hero-container {
  position: relative;
  z-index: 2;
  min-width: 300px;
}

#hero h1 {
  margin: 0 0 10px 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
}

#hero p {
  color: #fff;
  margin-bottom: 50px;
  font-size: 26px;
  font-family: "Poppins", sans-serif;
}

#hero p span {
  color: #fff;
  padding-bottom: 4px;
  letter-spacing: 1px;
  border-bottom: 3px solid #286dc0;
}

.hero-motto {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  font-family: "Raleway", sans-serif;
  letter-spacing: 3px;
  margin-top: 15px;
  text-transform: uppercase;
}

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

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background: #f5f8fd;
}

.section-title {
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #00356b;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #286dc0;
  bottom: 0;
  left: 0;
}

.section-title p {
  margin-bottom: 0;
}

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

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

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: #286dc0;
  line-height: 0;
}

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

/*--------------------------------------------------------------
# Facts
--------------------------------------------------------------*/
.facts {
  padding-bottom: 30px;
}

.facts .count-box {
  padding: 30px;
  width: 100%;
}

.facts .count-box i {
  display: block;
  font-size: 44px;
  color: #00356b;
  float: left;
  line-height: 0;
}

.facts .count-box span {
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  color: #050d18;
  margin-left: 60px;
}

.facts .count-box p {
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  color: #122f57;
}

.facts .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: #122f57;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  transition: ease-in-out 0.3s;
}

.facts .count-box a:hover {
  color: #1f5297;
}

/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

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

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

.skills .progress-bar-wrap {
  background: #dce8f8;
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: #00356b;
}

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

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid #00356b;
  position: relative;
}

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

.resume .resume-item h5 {
  font-size: 16px;
  background: #e4edf9;
  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: #fff;
  border: 2px solid #00356b;
}

/*--------------------------------------------------------------
# Research
--------------------------------------------------------------*/
.services .icon-box {
  margin-bottom: 20px;
}

.services .icon {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #00356b;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid #00356b;
}

.services .icon i {
  color: #fff;
  font-size: 24px;
  line-height: 0;
}

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

.services .icon-box:hover .icon i {
  color: #00356b;
}

.services .title {
  margin-left: 80px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .title a {
  color: #343a40;
}

.services .title a:hover {
  color: #286dc0;
}

.services .description {
  margin-left: 80px;
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Publications
--------------------------------------------------------------*/
.publications .pub-item {
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-left: 4px solid #00356b;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
}

.publications .pub-item:hover {
  border-left-color: #286dc0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.publications .pub-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: #050d18;
  margin-bottom: 8px;
}

.publications .pub-item .pub-venue {
  font-size: 14px;
  color: #00356b;
  font-weight: 600;
  margin-bottom: 5px;
}

.publications .pub-item .pub-authors {
  font-size: 13px;
  color: #666;
  font-style: italic;
}

.publications .pub-item .pub-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 3px;
  margin-top: 8px;
  margin-right: 5px;
}

.publications .pub-item .badge-journal {
  background: #e4edf9;
  color: #00356b;
}

.publications .pub-item .badge-conference {
  background: #e8f5e9;
  color: #2e7d32;
}

/*--------------------------------------------------------------
# Peer Review
--------------------------------------------------------------*/
.peer-review .journal-item {
  display: inline-block;
  padding: 8px 16px;
  margin: 5px;
  background: #f5f8fd;
  border-radius: 4px;
  font-size: 14px;
  color: #00356b;
  border: 1px solid #dce8f8;
  transition: 0.3s;
}

.peer-review .journal-item:hover {
  background: #00356b;
  color: #fff;
  border-color: #00356b;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
  padding-bottom: 130px;
}

.contact .info {
  padding: 30px;
  background: #fff;
  width: 100%;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.contact .info i {
  font-size: 20px;
  color: #00356b;
  float: left;
  width: 44px;
  height: 44px;
  background: #e4edf9;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #050d18;
}

.contact .info p {
  padding: 0 0 10px 60px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #173b6c;
}

.contact .info .email p {
  padding-top: 5px;
}

.contact .info .social-links {
  padding-left: 60px;
}

.contact .info .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #333;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  margin-right: 10px;
}

.contact .info .social-links a:hover {
  background: #00356b;
  color: #fff;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
  background: #00356b;
  color: #fff;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background: #f9f9f9;
}

.breadcrumbs h2 {
  font-size: 26px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #0e2442;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  padding: 15px;
  color: #f4f6fd;
  font-size: 14px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 9999;
  background: #002347;
}

#footer .copyright {
  text-align: center;
}

#footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #eaebf0;
}

@media (max-width: 1199px) {
  #footer {
    position: static;
    width: auto;
    padding-right: 20px 15px;
  }
}

/*--------------------------------------------------------------
# Yale-specific additions
--------------------------------------------------------------*/
.yale-affiliation {
  background: linear-gradient(135deg, #00356b 0%, #002347 100%);
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.yale-affiliation img {
  height: 40px;
  margin-bottom: 10px;
}

.yale-affiliation h5 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 5px;
}

.yale-affiliation p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  margin-bottom: 0;
}

.research-card {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  border-top: 3px solid #00356b;
  transition: 0.3s;
}

.research-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.research-card h4 {
  color: #00356b;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.research-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 0;
}

.research-card .research-icon {
  font-size: 36px;
  color: #286dc0;
  margin-bottom: 15px;
}

.collaboration-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  margin: 5px;
  background: #fff;
  border-radius: 25px;
  font-size: 14px;
  color: #00356b;
  border: 1px solid #dce8f8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: 0.3s;
  font-weight: 500;
}

.collaboration-badge:hover {
  background: #00356b;
  color: #fff;
  border-color: #00356b;
  text-decoration: none;
}

.collaboration-badge i {
  margin-right: 8px;
}

.scholar-links a {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  margin: 4px;
  background: #f5f8fd;
  border-radius: 4px;
  font-size: 13px;
  color: #00356b;
  border: 1px solid #dce8f8;
  transition: 0.3s;
}

.scholar-links a:hover {
  background: #00356b;
  color: #fff;
  text-decoration: none;
  border-color: #00356b;
}

.scholar-links a i {
  margin-right: 6px;
}

/*--------------------------------------------------------------
# About Yale
--------------------------------------------------------------*/
.about-yale .yale-info-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.06);
  border-left: 4px solid #00356b;
  transition: 0.3s;
}

.about-yale .yale-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 53, 107, 0.12);
}

.about-yale .yale-info-card h3 {
  color: #00356b;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
}

.about-yale .yale-subtitle {
  color: #286dc0;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.about-yale .yale-info-card p {
  color: #444;
  font-size: 15px;
  line-height: 1.75;
}

.yale-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.yale-stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f0f4fa;
  color: #00356b;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.yale-stat i {
  color: #286dc0;
  font-size: 15px;
}

/*--------------------------------------------------------------
# Yale Tabs
--------------------------------------------------------------*/
.yale-tabs {
  border-bottom: 2px solid #dce8f8;
  margin-bottom: 30px;
}

.yale-tabs .nav-link {
  color: #555;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 24px;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  transition: 0.3s;
  font-family: "Raleway", sans-serif;
}

.yale-tabs .nav-link i {
  margin-right: 6px;
}

.yale-tabs .nav-link:hover {
  color: #00356b;
  border-bottom-color: #286dc0;
  background: none;
}

.yale-tabs .nav-link.active {
  color: #00356b;
  border-bottom-color: #00356b;
  background: none;
}

.yale-tab-content {
  padding-top: 10px;
}

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

.portfolio .portfolio-wrap {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: 0.3s;
}

.portfolio .portfolio-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 53, 107, 0.2);
}

.portfolio .portfolio-wrap img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: 0.6s;
}

.portfolio .portfolio-wrap:hover img {
  transform: scale(1.08);
}

.portfolio .portfolio-wrap .portfolio-links {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 35, 71, 0.6);
  opacity: 0;
  transition: 0.3s;
  z-index: 2;
}

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

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  font-size: 28px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  background: #00356b;
}

.portfolio .portfolio-wrap .portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 15px;
  background: linear-gradient(transparent, rgba(0, 35, 71, 0.85));
  z-index: 1;
}

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