@import url("https://fonts.googleapis.com/css?family=Roboto:100,200,300,400,500,600,700|Exo:100,200,300,400,500,600,700");

/*--------------------------------------------Colors*/

.bg-color-name-title {
  background-color: #676767;
}

.bg-color-three-reasons {
  background-color: #ffffff;
}

.bg-color-personal-info {
  background-color: #e1883a;
}

.bg-color-skills {
  background-color: #ffffff;
}

.bg-color-work-history {
  background-color: #9b59b6;
}

.bg-color-contact {
  background-color: #ffffff;
}

.bg-color-conferences {
  background-color: #f4f4f4;
}

.bg-color-groups {
  background-color: #ffffff;
}

.ui-menu-color-home {
  background-color: #e67e22;
}

.ui-menu-color-resume {
  background-color: #9b59b6;
}

.ui-menu-color-contact {
  background-color: #3498db;
}

.ui-menu-color-download {
  background-color: #d9a81d;
}

.ui-menu-color-github {
  background-color: #1c4a6c;
}

.ui-menu-color-interests {
  background-color: #e74c3c;
}

body {
  font-family: Roboto, sans-serif;
  font-weight: 300;
  background-color: #525252;
  color: #555555;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Smooth scroll enhancement */
html {
  scroll-behavior: smooth;
}

/* Main content section styling for smooth scroll */
#main-content {
  scroll-margin-top: 20px;
  transition: opacity 0.3s ease-in-out;
  opacity: 0.95;
}

/* Fade-in effect for main content */
#main-content.fade-in {
  opacity: 1;
}

/* Ensure smooth scrolling works properly */
* {
  scroll-behavior: smooth;
}

.container-fluid {
  padding: 0;
  margin: 0;
  max-width: 100%;
}

/*--------------------------------------------Special Paddings/Margins/Text*/

h1,
h2,
h3,
h4 {
  margin: 0;
}

.uppercase {
  text-transform: uppercase;
}

.general-sub {
  font-family: "Exo", sans-serif;
  font-weight: 300;
  color: #fafafa;
}

.inline-block {
  display: inline-block;
}

.row-table {
  display: table;
  width: 100%;
  table-layout: fixed;
  margin: 0;
  padding: 0;
}

.history-heading,
.section-heading {
  font-family: "Exo", sans-serif;
  font-weight: 300;
  margin-top: 25px;
  margin-bottom: 40px;
}

/* Emphasize Personal Info heading on the home page left column */
.bg-color-personal-info .section-heading {
  font-size: 32px;
  font-weight: 600;
  margin-left: 20px;
}

/*--------------------------------------------Heading*/

header {
  margin: 0;
}

.heading {
  margin-left: 50px;
}

.logo {
  background: url("../images/bjcode1.jpg");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 360px;
  transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
}

.name {
  font-family: "Exo", sans-serif;
  font-weight: 700;
  font-size: 46px;
  margin-top: 50px;
  color: #ffffff;
}

.title {
  font-family: "Roboto", sans-serif;
  font-weight: 200;
  font-size: 28px;
  margin-top: 20px;
  margin-bottom: 90px;
  color: #ffffff;
}

#nav {
  margin: 0;
  padding: 0;
}

#nav li {
  padding: 0;
  list-style: none;
}

.menuitem {
  height: 120px;
  text-align: center;
  padding: 0;
}

.menuitem a {
  width: 100%;
  text-decoration: none;
  color: #ffffff;
  height: 120px;
}

.menuitem a i {
  padding-top: 22px;
  display: block;
  color: #fafafa;
  font-size: 26px;
}

.menuitem span {
  display: block;
  width: 100%;
  padding-top: 5px;
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 2px;
}
.list-inline-item {
  margin: 0;
}

/*--------------------------------------------Hover.css*/

.hvr-sweep-to-bottom:before {
  background: rgba(0, 0, 0, 0.2);
  height: 120px;
}

/*--------------------------------------------Footer*/

footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #ecf0f1;
  margin: 0;
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e67e22, #f39c12, #e67e22);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  margin-bottom: 40px;
}

.footer-logo h4 {
  color: #e67e22;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: "Exo", sans-serif;
}

.footer-tagline {
  color: #bdc3c7;
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-description {
  color: #95a5a6;
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 0;
}

.footer-title {
  color: #e67e22;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Exo", sans-serif;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a:hover {
  color: #e67e22;
  transform: translateX(5px);
}

.footer-links a::before {
  content: "→";
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
  color: #e67e22;
}

.footer-links a:hover::before {
  opacity: 1;
  left: -15px;
}

.contact-info p {
  color: #bdc3c7;
  margin-bottom: 12px;
  font-size: 15px;
  display: flex;
  align-items: center;
}

.contact-info i {
  color: #e67e22;
  margin-right: 12px;
  width: 20px;
  font-size: 16px;
}

.cv-description {
  color: #95a5a6;
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.cv-download-btn {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #e67e22, #f39c12);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
  margin-bottom: 25px;
}

.cv-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
  color: white;
  text-decoration: none;
}

.cv-download-btn i {
  margin-right: 8px;
  font-size: 16px;
}

.social-links h6 {
  color: #e67e22;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
}

.social-icons li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #bdc3c7;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-icons li a:hover {
  background: #e67e22;
  color: white;
  transform: translateY(-3px);
  border-color: #f39c12;
  box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.social-icons li a i {
  font-size: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  margin-top: 40px;
}

.footer-bottom p {
  color: #95a5a6;
  font-size: 14px;
  margin: 0;
  display: flex;
  align-items: center;
}

.footer-bottom .fa-heart {
  color: #e74c3c;
  margin: 0 5px;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Legacy support for old footer classes */
#footer-details {
  margin: 0;
}

footer .cv-pdf i {
  color: #fafafa;
  text-align: center;
  font-size: 18px;
  padding-left: 5px;
}

footer .cv-pdf i:hover {
  color: #e84610;
  transition: all 0.35s ease-in-out;
  -moz-transition: all 0.35s ease-in-out;
  -webkit-transition: all 0.35s ease-in-out;
  -o-transition: all 0.35s ease-in-out;
}

/*--------------------------------------------Three Reasons*/

.three-reasons-icon {
  font-size: 26px;
  color: #e67e22;
}

.three-reasons-heading {
  margin-bottom: 15px;
  padding: 0 20px;
  font-size: 20px;
}

/* Prepend a checkmark icon to service headings for improved UI/UX */
.three-reasons-heading:before {
  font-family: "FontAwesome";
  content: "\f00c";
  display: inline-block;
  margin-right: 8px;
  color: #2ecc71;
}

.three-reasons-heading + p {
  padding: 0 20px;
}

/*--------------------------------------------Personal Info*/

.personal-info-item {
  margin-bottom: 20px;
  display: block;
  clear: both;
  padding: 0 20px;
}

.personal-info-item .key,
.personal-info-item .value {
  padding-right: 8px;
}

.personal-info-item .key p,
.personal-info-item .value p {
  margin: 0;
  color: black;
}

/* Increase Personal Info text size on home page (labels and values) */
.bg-color-personal-info .personal-info-item .key p,
.bg-color-personal-info .personal-info-item .value p {
  font-size: 19px;
}

.personal-info-item .key {
  display: inline-block;
  width: 30%;
  margin-right: 21px;
  padding-top: 2px;
  vertical-align: top;
}

.personal-info-item .key p {
  font-weight: 700;
}

.personal-info-item .value {
  display: inline-block;
  position: relative;
  width: 60%;
}

/*--------------------------------------------Skills*/

.progress {
  position: relative;
  height: 25px;
  direction: rtl;
}

.progress-type {
  position: absolute;
  left: 0px;
  font-weight: 400;
  padding: 3px 30px 2px 10px;
  color: #fafafa;
  background-color: rgba(25, 25, 25, 0.2);
  direction: ltr;
}

.progress-bar {
  direction: ltr;
}

.progress-section {
  margin: 40px 0;
  width: 100%;
}

/*--------------------------------------------Work History*/

.timeline-item {
  padding: 4em 2em 0em 2em;
  position: relative;
  color: #fafafa;
  border-left: 1px solid;
}

.timeline-item p {
  padding: 0;
  margin: 0;
}

.timeline-item::before {
  content: attr(data-dates);
  position: absolute;
  left: 2.5em;
  top: 3em;
  display: block;
  font-family: "Exo", sans-serif;
  font-weight: 500;
  font-size: 0.8em;
  padding: 0;
  margin: 0;
}

.timeline-item::after {
  width: 12px;
  height: 12px;
  display: block;
  top: 2.4em;
  position: absolute;
  left: -6px;
  border-radius: 12px;
  content: "";
  background: #fafafa;
}

.history-heading {
  color: #fafafa;
  padding-top: 50px;
  margin-bottom: 30px;
}

.history-items {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

/*--------------------------------------------Contact*/

.contact-heading {
  font-family: "Exo", sans-serif;
  font-weight: 300;
  margin-top: 25px;
  margin-bottom: 20px;
}

.center-form {
  padding-top: 10px;
  margin: 0 auto;
  max-width: 70%;
}

button[type="submit"] {
  margin-top: 15px;
  margin-bottom: 20px;
  background-color: #e84610;
  color: #fafafa;
}

/*--------------------------------------------Map*/
div#map {
  min-height: 360px;
}

/*--------------------------------------------Methodology Steps*/
.methodology-container {
  padding: 20px 0;
}

.methodology-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.methodology-step:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.step-number {
  background: #e67e22;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  margin-right: 15px;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.step-content {
  flex: 1;
}

.step-title {
  color: #2c3e50;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step-description {
  color: #34495e;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/*--------------------------------------------Section Columns*/

.section-column {
  padding: 30px 25px;
}

/*--------------------------------------------Media Queries*/

@media (min-width: 992px) {
  .section-column {
    padding: 0 30px 30px;
    float: none;
    display: table-cell;
    vertical-align: top;
    height: 100%;
  }

  .bg-color-three-reasons {
    background-color: #ffffff;
    width: 66.66666667% !important;
  }

  .bg-color-work-history {
    background-color: #9b59b6;
    min-height: 360px;
    width: 33.33333333% !important;
  }

  .center-form {
    padding-top: 30px;
    min-height: 240px;
    margin: 0 auto;
    max-width: 50%;
  }
}

@media not all and (min-resolution: 0.001dpcm) {
  @supports (-webkit-appearance: none) {
    @media (min-width: 992px) {
      .bg-color-work-history {
        max-height: 100vh;
        overflow-y: auto;
      }
    }
  }
}

/*--------------------------------------------Mobile Padding*/

@media (max-width: 767px) {
  .section-column {
    padding: 30px 10% 30px 10%;
  }

  .personal-info-item {
    padding: 0 10%;
  }

  .three-reasons-heading {
    padding: 0 10%;
  }

  .three-reasons-heading + p {
    padding: 0 10%;
  }

  .section-heading {
    padding-left: 10%;
  }

  footer {
    padding: 40px 0 0;
  }

  .footer-content {
    padding: 0 15px;
  }

  .footer-section {
    margin-bottom: 30px;
    text-align: center;
  }

  .footer-logo h4 {
    font-size: 24px;
  }

  .footer-title {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .footer-links {
    text-align: center;
  }

  .contact-info {
    text-align: center;
  }

  .contact-info p {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-bottom .text-right {
    text-align: center !important;
    margin-top: 10px;
  }

  /* Mobile fixes for resume page */
  .row-table {
    display: block !important;
  }

  .bg-color-work-history,
  .bg-color-three-reasons {
    width: 100% !important;
    display: block !important;
  }

  .timeline-item {
    padding: 2em 1em 1em 1em;
    margin-bottom: 1em;
  }

  .timeline-item::before {
    position: static;
    display: block;
    margin-bottom: 0.5em;
    font-weight: 600;
  }

  .timeline-item::after {
    display: none;
  }

  .progress-section {
    margin: 20px 0;
  }

  .progress {
    margin-bottom: 15px;
  }

  .progress-type {
    font-size: 12px;
    padding: 2px 10px 2px 5px;
  }

  .history-heading {
    padding-top: 20px;
    margin-bottom: 20px;
  }

  .history-items {
    min-height: auto;
  }

  /* Mobile header fixes */
  .heading {
    margin-left: 20px;
  }

  .name {
    font-size: 36px;
  }

  .title {
    font-size: 22px;
  }

  .logo {
    min-height: 200px;
    background-size: contain;
    background-position: center center;
    width: 100%;
  }

  /* Mobile methodology steps */
  .methodology-step {
    padding: 12px;
    margin-bottom: 20px;
  }

  .step-number {
    width: 30px;
    height: 30px;
    font-size: 14px;
    margin-right: 12px;
  }

  .step-title {
    font-size: 16px;
  }

  .step-description {
    font-size: 13px;
  }
}

/*--------------------------------------------Tablet Responsive*/

@media (max-width: 991px) and (min-width: 768px) {
  .row-table {
    display: block !important;
  }

  .bg-color-work-history,
  .bg-color-three-reasons {
    width: 100% !important;
    display: block !important;
  }

  .timeline-item {
    padding: 2.5em 1.5em 1em 1.5em;
  }

  .progress-section {
    margin: 30px 0;
  }
}

/*--------------------------------------------Desktop Footer Padding*/

@media (min-width: 768px) {
  footer {
    padding: 0 10%;
  }

  footer h5 {
    padding-left: 10%;
  }

  footer p {
    padding-left: 10%;
  }

  .social-links {
    padding-left: 10%;
  }
}
