@font-face {
font-family: 'Philo';
src: url('../fonts/Philosopher-Regular.ttf') format('truetype');
}

@font-face {
font-family: 'Mont';
src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
}

@font-face {
font-family: 'DolceVita';
src: url('../fonts/Dolce_Vita_Heavy_Bold.ttf') format('truetype');
}

@font-face {
font-family: 'Museo';
src: url('../fonts/Museo300-Regular.otf') format('opentype');
}

:root {
  --brand-dark: #050d3a;
  --brand-light: #5582d2;
  --brand-mid: #5582d2;
  --gray: #b6b6b6;
}
body {
  font-family: 'Mont', Arial;
  scroll-behavior: smooth;
  background-color: var(--brand-dark);
  color: white;
  font-size: 0.8em;
  letter-spacing: 0.5px;
}

.bg-gray{
  background: #f5f5f7;
  color:#1d1d1f;
}
.boxshade{
    box-shadow: 2px 4px 12px #00000014;
	}

body h1, body h2, body h3, body h4, body h5, body h6 {
    font-family: "Philo";
}

section {
  padding: 100px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.nav-link {
  margin-right: 15px;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-light) !important;
}

#home .text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

#home img {
  max-width: 240px;
  width: 100%;
  height: auto;
  float: right;
  border-radius: 50% 10%;
  border-right: 1px solid #020519;
  background: #ffffff2e;
}

.btn {
  border-radius: 25px;
  padding: 10px 25px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #0a58ca;
  color: #fff;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 15px;
  background: white;
  color:#1d1d1f;
  box-shadow: 0 4px 10px rgb(13 43 117 / 0.3);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(13, 43, 117, 0.7);
}

footer {
  font-size: 0.9rem;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.arrow-circle-link {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 50px;
  animation: bounce 2s infinite;
  margin: 0 auto;
}

.circle-svg {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
  width: 50px;
  height: 50px;
}

.circle-svg circle {
  stroke-dasharray: 176;
  stroke-dashoffset: 176;
  stroke: #ffffffaa;
  stroke-width: 2;
  fill: none;
  animation: circleDraw 2s linear forwards;
}

@keyframes circleDraw {
  to {
  stroke-dashoffset: 0;
  }
}

@keyframes bounce {
  0%, 30%, 70%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

.arrow-icon {
  font-size: 2rem;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: none;
}

#portfolio .carousel-item {
  transition: transform 2s ease-in-out !important;
}

#portfolio .card-img-top {
  height: 350px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

#portfolio .carousel-control-prev,
#portfolio .carousel-control-next {
  filter: brightness(0) invert(1);
  width: 3rem;
  height: 3rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

#portfolio .carousel-control-prev:hover,
#portfolio .carousel-control-next:hover {
  opacity: 1;
}

#home .intro{
  font-size: 3.5em;
  font-weight: 400 !important;
  letter-spacing: 3px;
  margin-bottom: 0.5em;
}

#home .subintro{
  font-size:1.3em;
}

.maxwd{
  max-width: 350px;
}

#navbar{
  background: var(--brand-dark);
}

#home .fnm{
  color: var(--brand-light);
  padding: 0px 15px;
  border-radius: 5px;
  font-size: 1.2em;
  align-self: flex-start;
  display: inline-block;
  margin-bottom: 1.5em;
  backdrop-filter: blur(10px);
  background: rgb(255 255 255 / 9%);
  border: 1px solid #5582d275;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.1);
}


#home {
    line-height: 1.5em;
}
.hashtags{
  color: var(--brand-light);
  max-width:400px;
}
.hashtags span{
  color:white;
  padding-right: 1px;
}

h2 {
  text-transform: uppercase;
  font-size: 3em;
}
.tagbox{
  background: #183b7a; padding: 2px 15px; border-radius: 5px;
}
p{
  line-height: 2em;
}
.lbd{
  border-right: 0.5px solid rgba(85, 130, 210, 1);
  padding-right: 25px;
  border-radius: 0px 10px 0px 0px;
  margin-top: 10px;
}
.rbd{
  border-left: 0.5px solid rgba(85, 130, 210, 1);
  padding-left: 25px;
  border-radius: 10px 0px 0px 0px;
  margin-top: 10px;
}
.nowrap span{
  white-space: nowrap;
}
#portfolio .carousel-item > .row > .col {
  padding: 0 10px;
}
.carousel-inner{
  padding: 30px;
  border-right: 2px solid var(--brand-mid);
  border-radius: 20px;
  border-left: 2px solid var(--brand-mid);
}
p.card-text {
    line-height: 1.5em;
}
p.card-title {
  font-weight: bold;
      line-height: 1.1em;
      text-transform: uppercase;
      font-size: 1em;
}
p.card-title span{
    font-weight: 400;
    display: block;
    line-height: 1.5em;
    font-size: 88%;
}

@keyframes slowColorShift {
  0%   { background: var(--brand-dark); }
  50% { background-color: white; }
  100%   { background: var(--brand-dark); }
}
.bg-animate {
  animation: slowColorShift 20s ease-in-out infinite;
}
.proj-notes {
    font-size: 0.9em;
    margin-top: 50px;
    color: var(--brand-mid);
    font-weight: bold;
    text-align: center;
    border-top: 1px solid #b5bad6;
    padding-top: 50px;
    line-height: 2.1em;
}

.proj-notes span{
  display:block;
  color:black;
  font-weight:normal;
}
p.card-text {
    font-size: 0.9em;
}
.card-text span{
  display:block;
}

.card i{
  font-weight: 700 !important;
  color: var(--brand-light);
  padding:0px 1px;
}

.floaty {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(5px); }
  50% { transform: translateY(-5px); }
}

a.nav-link.active {
    border-bottom: 1px solid #005bff87;
    border-radius: 0px 0px 10px 0px;
}

footer{
  background: #101741;
  padding: 80px 0px;
}
.card .tagbox{
  padding: 2px 10px;
  border-radius: 8px 8px 10px 8px;
  color: white;
  display: inline-block;
  font-size: 0.8em;
  border: 1px solid var(--brand-mid);
  background: var(--brand-light);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1em;
  border-bottom: 3px solid var(--brand-dark);
}
.card .pl{
  margin:0px;
}

.edu-card {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.1);
  padding: 2rem;
  margin: 0 auto;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  max-width: 600px;
}

#education h4 {
    color: var(--brand-light);
    font-family: 'Mont', Arial;
    text-transform: uppercase;
    font-size: 1.3em;
}
#percentage {
    color: white;
    font-size: 2.2em;
    font-weight: bold;
    padding-right:5px;
}
p.counter {
    color: #b6b6b6;
    font-weight: bold;
    margin-bottom: 0px;
}
.school {
    font-size: 1.1em;
    color: #b6b6b6;
    font-weight: bold;
}

#portfolio{
  padding-bottom: 300px;
}
#education p {
    color: var(--gray);
}

.envelope{
  font-size: 3.5em;
  text-align: center;
  padding: 0.1em 0.3em;
  margin: 0 auto;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--brand-light);
  border-bottom: 1px solid var(--brand-light);
  border-radius: 10px 0px 10px 0px;
}

@media (max-width: 768px) {
  #home img {
    margin: 0 auto 10px;
    display: block;
  }
  .text-col, .tech-skills-col {
    text-align: center !important;
  }
  #home p, #home span{
  text-align: center !important;
  align-self: center !important;
  }
  #home img{
    float:none;
  }
  #portfolio .card-img-top {
      height: 250px;
  }
  #portfolio {
      padding-bottom: 150px;
  }
  .navbar-nav .nav-link {
      margin: 0 auto;
      text-align: center;
  }
  .navbar-collapse{
    align-items: center;
    border: 1px solid silver;
    border-radius: 5px;
  }
  #education .lbd {
      float: right;
      line-height: 0.5em;
  }
  #education .rbd {
      padding-bottom: 10px;
  }
}
