/*!
*/
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #475569
}

body.active {
  overflow: hidden;
  z-index: -1
}

.no-js #experience-timeline>div {
  background: #fff;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)
}

.no-js #experience-timeline>div h3 {
  font-size: 1.5em;
  font-weight: 600;
  color: #1e293b;
  display: inline-block;
  margin: 0
}

.no-js #experience-timeline>div h4 {
  font-size: 1.2em;
  font-weight: 500;
  color: #64748b;
  margin: 0 0 15px 0
}

.no-js #experience-timeline>div p,
ul,
li {
  color: #475569;
  font-size: 0 .95em;
  margin: 0
}

.no-js #experience-timeline:before,
.no-js #experience-timeline:after {
  content: none
}

@keyframes dropHeader {
  0% {
    transform: translateY(-100%)
  }

  100% {
    transform: translateY(0)
  }
}

header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
  animation-name: dropHeader;
  animation-iteration-count: 1;
  animation-timing-function: ease;
  animation-duration: 0.75s
}

header ul {
  display: inline-block;
  background: #fff;
  text-align: center;
  padding: 10px;
  margin: 0;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px
}

header li {
  display: inline-block
}

header a {
  display: block;
  color: #0f172a;
  padding: 10px;
  font-weight: 500
}

header a:hover {
  color: #2563eb;
  text-decoration: none;
  background: #f8fafc;
  border-radius: 4px
}

header a:focus {
  color: #2563eb;
  text-decoration: none
}

header.active {
  display: block
}

header.sticky {
  position: fixed;
  z-index: 999
}

#menu.active {
  display: block
}

#mobile-menu-open {
  display: none;
  cursor: pointer;
  position: fixed;
  right: 15px;
  top: 10px;
  color: #2563eb;
  font-size: 1.5em;
  z-index: 20;
  padding: 0 7px;
  border-radius: 4px;
  background: #fff
}

#mobile-menu-close {
  display: none;
  text-align: right;
  width: 100%;
  background: #fff;
  font-size: 1.5em;
  padding-right: 15px;
  padding-top: 10px;
  cursor: pointer;
  color: #2563eb
}

#mobile-menu-close span {
  font-size: 0.5em;
  text-transform: uppercase
}

#mobile-menu-close i {
  vertical-align: middle
}

footer {
  padding: 50px 0
}

.copyright {
  padding-top: 20px
}

.copyright p {
  margin: 0;
  color: #64748b
}

.top {
  text-align: center
}

.top span {
  cursor: pointer;
  display: block;
  margin: 15px auto 0 auto;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  text-align: center;
  transition: 0.3s
}

.top span:hover {
  border-color: #2563eb
}

.top i {
  color: #64748b
}

.social {
  text-align: right
}

.social ul {
  margin: 5px 0 0 0;
  padding: 0
}

.social li {
  display: inline-block;
  font-size: 1.25em;
  list-style: none
}

.social a {
  display: block;
  color: #64748b;
  padding: 10px
}

.social a:hover {
  color: #2563eb
}

.btn-rounded-white {
  display: inline-block;
  color: #fff;
  padding: 12px 28px;
  border: 2px solid #fff;
  border-radius: 4px;
  transition: .3s ease all;
  font-weight: 500;
  font-size: 1.1em;
  letter-spacing: 0.5px
}

.btn-rounded-white:hover {
  color: #2563eb;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1)
}

.shadow {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1)
}

.shadow-large {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)
}

.heading {
  position: relative;
  display: inline-block;
  font-size: 2em;
  font-weight: 700;
  margin: 0 0 40px 0;
  color: #0f172a;
  letter-spacing: -0.5px
}

.heading:after {
  position: absolute;
  content: '';
  top: 100%;
  height: 3px;
  width: 60px;
  left: 0;
  right: 0;
  margin: 0 auto;
  background: #2563eb
}

.background-alt {
  background: #f8fafc
}

#lead {
  position: relative;
  height: 100vh;
  min-height: 500px;
  max-height: 1080px;
  background: url(../images/lead-bg.jpg);
  background-size: cover;
  padding: 15px;
  overflow: hidden
}

#lead-content {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center
}

#lead-content h1 {
  margin: 0
}

#lead-content h2 {
  margin: 0
}

#lead-content h1 {
  color: #fff;
  font-weight: 800;
  font-size: 4.5em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3)
}

#lead-content h2 {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 2em;
  margin-bottom: 20px;
  letter-spacing: 0.5px
}

#lead-overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: rgba(15, 23, 42, 0.7)
}

#lead-down {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
  bottom: 30px;
  color: #fff
}

#lead-down span {
  cursor: pointer;
  display: block;
  margin: 0 auto;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  text-align: center;
  transition: 0.3s
}

#lead-down span:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1)
}

#lead-down i {
  animation: pulsate 1.5s ease;
  animation-iteration-count: infinite;
  padding-top: 5px
}

@keyframes pulsate {
  0% {
    transform: scale(1, 1)
  }

  50% {
    transform: scale(1.2, 1.2)
  }

  100% {
    transform: scale(1, 1)
  }
}

#about {
  padding: 100px 15px;
  border-bottom: 1px solid #e2e8f0
}

#about h2 {
  color: #0f172a
}

#about p {
  color: #475569;
  margin: 0;
  line-height: 1.8;
  font-size: 1.05em
}

#experience {
  padding: 80px 15px;
  text-align: center;
  border-bottom: 1px solid #e2e8f0
}

#experience h2 {
  color: #0f172a
}

#experience-timeline {
  margin: 50px auto 0 auto;
  position: relative;
  max-width: 1000px
}

#experience-timeline:before {
  position: absolute;
  content: '';
  top: 0;
  bottom: 0;
  left: 303px;
  right: auto;
  height: 100%;
  width: 2px;
  background: #e2e8f0;
  z-index: 0
}

#experience-timeline:after {
  position: absolute;
  content: '';
  width: 2px;
  height: 40px;
  background: #e2e8f0;
  background: linear-gradient(to bottom, #e2e8f0, rgba(255, 255, 255, 0));
  top: 100%;
  left: 303px
}

.vtimeline-content {
  margin-left: 350px;
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 30px;
  border-radius: 6px;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05)
}

.vtimeline-content h3 {
  font-size: 1.4em;
  font-weight: 700;
  color: #0f172a;
  display: inline-block;
  margin: 0
}

.vtimeline-content h4 {
  font-size: 1.1em;
  font-weight: 500;
  color: #64748b;
  margin: 5px 0 15px 0
}

.vtimeline-content p {
  color: #475569;
  font-size: 0.95em;
  margin: 0;
  line-height: 1.6
}

.vtimeline-point {
  position: relative;
  display: block;
  vertical-align: top;
  margin-bottom: 40px
}

.vtimeline-icon {
  position: relative;
  color: #fff;
  width: 50px;
  height: 50px;
  background: #2563eb;
  border-radius: 50%;
  float: left;
  z-index: 99;
  margin-left: 280px;
  box-shadow: 0 0 0 4px #fff
}

.vtimeline-icon i {
  display: block;
  font-size: 1.5em;
  margin-top: 13px
}

.vtimeline-date {
  width: 260px;
  text-align: right;
  position: absolute;
  left: 0;
  top: 10px;
  font-weight: 500;
  color: #64748b
}

#education {
  padding: 80px 15px;
  border-bottom: 1px solid #e2e8f0;
  text-align: center
}

#education h2 {
  color: #0f172a;
  margin-bottom: 60px
}

.education-block {
  max-width: 700px;
  margin: 0 auto 30px auto;
  padding: 30px;
  border: 1px solid #e2e8f0;
  text-align: left;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05)
}

.education-block h3 {
  font-weight: 700;
  float: left;
  margin: 0;
  color: #0f172a
}

.education-block span {
  color: #64748b;
  float: right;
  font-weight: 500
}

.education-block h4 {
  color: #64748b;
  clear: both;
  font-weight: 500;
  margin: 5px 0 15px 0
}

.education-block p,
.education-block ul {
  margin: 0;
  color: #475569;
  font-size: 0.95em
}

.education-block ul {
  padding: 0 0 0 15px
}

#projects {
  padding: 80px 15px;
  border-bottom: 1px solid #e2e8f0;
  text-align: center
}

#projects h2 {
  color: #0f172a;
  margin-bottom: 60px
}

.project {
  position: relative;
  max-width: 900px;
  margin: 0 auto 40px auto;
  overflow: hidden;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease
}

.project-image {
  float: left;
  width: 300px;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease
}

.project:hover .project-image img {
  transform: scale(1.05)
}

.project-info {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 300px;
  padding: 40px
}

.project-info h3 {
  font-size: 1.4em;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0
}

.project-info p {
  color: #475569;
  margin: 0 0 20px 0;
  font-size: 0.95em;
  line-height: 1.7
}

.no-image .project-info {
  position: relative;
  margin: 0;
  padding: 40px 15px;
  transform: none
}

#more-projects {
  display: none
}

#skills {
  padding: 50px 15px;
  text-align: center
}

#skills h2 {
  color: #374054;
  margin-bottom: 50px
}

#skills ul {
  display: block;
  margin: 0 auto;
  padding: 0;
  max-width: 800px
}

#skills li {
  display: inline-block;
  margin: 5px;
  padding: 7px 14px;
  color: #1e293b;
  background: #f1f5f9;
  list-style: none;
  cursor: default;
  font-size: 1.05em;
  border-radius: 6px;
  font-weight: 500;
  border: 1px solid #e2e8f0;
  box-shadow: none
}

#contact {
  padding: 100px 15px;
  background: #0f172a;
  text-align: center
}

#contact h2 {
  margin: 0 0 20px 0;
  color: #fff;
  font-weight: 600
}

#contact-form {
  max-width: 600px;
  margin: 30px auto 0 auto
}

#contact-form input,
#contact-form textarea {
  display: block;
  width: 100%;
  padding: 15px;
  border-radius: 4px;
  border: 1px solid #334155;
  margin-bottom: 15px;
  background: #1e293b;
  color: #fff;
  transition: .3s ease all;
  font-size: 1em
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  background: #334155;
  border-color: #2563eb
}

#contact-form textarea {
  height: 150px;
  resize: none
}

#contact-form button {
  display: block;
  width: 100%;
  background: #2563eb;
  border-radius: 4px;
  padding: 15px;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.1em;
  transition: .3s ease all;
  cursor: pointer
}

#contact-form button:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2)
}

.optional-section {
  padding: 50px 15px;
  text-align: center;
  border-top: 1px solid #e2e8f0
}

.optional-section h2 {
  color: #0f172a
}

.optional-section-block {
  max-width: 700px;
  margin: 0 auto 30px auto;
  padding: 25px;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-align: left;
  border-radius: 6px
}

.optional-section-block h3 {
  font-weight: 600;
  margin: 0 0 15px 0;
  color: #0f172a
}

.optional-section-block h4 {
  color: #64748b;
  clear: both;
  font-weight: 500;
  margin: 0 0 15px 0
}

.optional-section-block p,
.optional-section-block ul {
  margin: 0 0 15px 0;
  color: #475569;
  font-size: 0.95em
}

.optional-section-block ul {
  padding: 0 0 0 15px
}

@media only screen and (max-width: 750px) {

  #experience-timeline:before,
  #experience-timeline:after {
    left: 23px
  }

  .vtimeline-date {
    width: auto;
    text-align: left;
    position: relative;
    margin-bottom: 15px;
    display: block;
    margin-left: 70px
  }

  .vtimeline-icon {
    margin-left: 0
  }

  .vtimeline-content {
    margin-left: 70px
  }
}

@media only screen and (max-width: 992px) {
  #lead {
    height: auto;
    min-height: auto;
    max-height: auto;
    padding: 100px 15px
  }

  #lead-content {
    position: relative;
    transform: none;
    left: auto;
    top: auto
  }

  #lead-content h1 {
    font-size: 3em
  }

  #lead-content h2 {
    font-size: 1.75em
  }

  #about {
    text-align: center
  }

  #about p {
    text-align: left
  }
}

.about-photo {
  padding-bottom: 30px;
  /* give some breathing room on mobile */
}

.about-photo img.rounded-photo {
  max-width: 300px;
  /* adjust size as desired */
  width: 100%;
  height: auto;
  border-radius: 50%;
  /* circular crop */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

@media only screen and (max-width: 768px) {
  header {
    position: fixed;
    display: none;
    z-index: 999;
    animation: none;
    bottom: 0;
    height: 100%
  }

  #mobile-menu-open,
  #mobile-menu-close {
    display: block
  }

  #menu {
    height: 100%;
    overflow-y: auto;
    box-shadow: none;
    border-radius: 0;
    width: 100%
  }

  #menu li {
    display: block;
    margin-bottom: 10px
  }

  #lead-content h1 {
    font-size: 2em
  }

  #lead-content h2 {
    font-size: 1.3em
  }

  #lead-content a {
    padding: 10px 20px
  }

  #lead-down {
    display: none
  }

  .education-block h3,
  .education-block span {
    float: none
  }

  .project-image {
    display: none
  }

  .project-info {
    position: relative;
    margin: 0;
    padding: 30px 15px;
    top: auto;
    transform: none
  }

  footer {
    text-align: center
  }

  .social {
    text-align: center
  }
}

@media only screen and (max-width: 480px) {
  #lead-content h1 {
    font-size: 1.5em
  }

  #lead-content h2 {
    font-size: 1em
  }

  #lead-content a {
    font-size: 0.9em;
    padding: 5px 10px
  }
}


/* Category colors */
#skills .skills-list .lang {
  background: #E0F7FA;
}

/* light cyan */
#skills .skills-list .framework {
  background: #E8F5E9;
}

/* light green */
#skills .skills-list .bigdata {
  background: #FFF8E1;
}

/* light amber */
#skills .skills-list .web {
  background: #F3E5F5;
}

/* light purple */
#skills .skills-list .tools {
  background: #E8EAF6;
}

/* light indigo */
#skills .skills-list .model {
  background: #FFEBEE;
}

/* light red */

/* ──────────────────────────
   Contact Section Overrides
────────────────────────── */
.contact-section {
  padding: 80px 15px;
  background: #111;
  /* dark background */
  color: #fff;
}

.contact-section .subheading {
  margin-bottom: 60px;
  font-size: 1.1em;
  color: #aaa;
}

.contact-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.contact-item {
  max-width: 300px;
  margin-bottom: 40px;
}

.contact-item .icon-circle {
  width: 65px;
  height: 65px;
  margin: 0 auto 20px;
  background: #222;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item .icon-circle i {
  font-size: 1.8em;
  color: #fff;
  /* accent color */
}

.contact-item h4 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.1em;
  letter-spacing: 1px;
}

.contact-item p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.5;
}

.contact-item a {
  color: #fff;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 768px) {
  .contact-items {
    flex-direction: column;
    align-items: center;
  }
}

@media (min-width: 768px) {

  /* Make each box span the full width of its .col-md-6 */
  #education .col-md-6 .education-block {
    max-width: none;
    /* remove the 700px cap */
    width: 100%;
    /* fill the entire column */
    margin: 0;
    /* remove auto‐centering */
  }
}

.project {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Contact icons: pop forward */
.contact-item .icon-circle {
  transition: transform 0.3s ease;
}

.contact-item:hover .icon-circle {
  transform: scale(1.1);
}

#skills .skills-list .skill {
  /* ensure these are inline-blocks so transform works */
  display: inline-block;
  cursor: pointer;

  /* smooth transform + background transition */
  transition: transform 0.2s ease, background-color 0.2s ease;
}

#skills .skills-list .skill:hover {
  /* grow slightly */
  transform: scale(1.1);

  /* override the category color with a gentle highlight */
  background-color: #d1e3f0 !important;
}