/*Google fonts*/
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Rubik:500,700,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali:wght@400;500;600;700&display=swap");


/* General Style */

html {
  height: 100vh;
}

body {
  margin: 0;
  line-height: 1.5;
  font-size: 16px;
  font-family: "Montserrat", 'Noto Serif Bengali', sans-serif;
  font-weight: 400;
  height: 100%;
}

* {
  margin: 0;
  padding: 0;
  outline: none;
  text-decoration: none;
  box-sizing: border-box;
}

::before, ::after {
  box-sizing: border-box;
}

a {
  list-style-type: none;
  color: #0477BF;
}

input, textarea, select {
  font-family: "Montserrat", 'Noto Serif Bengali', sans-serif;
}

.section {
  background-color:  #f9fdff;
  min-height: 100vh;
  display: block;
  padding: 0 30px;
  position: fixed;
  left: 270px;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow-x: hidden;
  overflow-y: auto;
  opacity: 1;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}

.section.active {
  opacity: 1;
  z-index: 2;
  animation: slideSection 1s ease;
  -webkit-animation: slideSection 1s ease;
  -moz-animation: slideSection 1s ease;
  -o-animation: slideSection 1s ease;
}

.section.back-section {
  z-index: 1;
}

@keyframes slideSection {
  0% {
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -o-transform: translateX(100%);
  }
  100% {
    transform: translateX(0%);
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -o-transform: translateX(0%);
  }
}

@-webkit-keyframes slideSection {
  0% {
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -o-transform: translateX(100%);
  }
  100% {
    transform: translateX(0%);
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -o-transform: translateX(0%);
  }
}

@-moz-keyframes slideSection {
  0% {
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -o-transform: translateX(100%);
  }
  100% {
    transform: translateX(0%);
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -o-transform: translateX(0%);
  }
}

@-o-keyframes slideSection {
  0% {
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -o-transform: translateX(100%);
  }
  100% {
    transform: translateX(0%);
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -o-transform: translateX(0%);
  }
}

.section .container {
  padding-top: 60px;
  padding-bottom: 70px;
}

.section-title {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 40px;
  color: #302e4d;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  margin: 0;
  position: relative;
}

.section-title h2::before {
  content: "";
  height: 4px;
  width: 50px;
  position: absolute;
  top: 100%;
  left: 0;
}

.section-title h2::after {
  content: "";
  height: 4px;
  width: 25px;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
}

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
  position: relative;
}

.padd-15 {
  padding-left: 15px;
  padding-right: 15px;
}

.container {
  max-width: 1100px;
  width: 100%;
  margin: auto;
}

.shadow-dark {
  -webkit-box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
  box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}

.btn {
  font-size: 16px;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  padding: 12px 35px;
  color: #ffffff;
  border-radius: 40px;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  display: inline-block;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.btn:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.hidden {
  display: none !important;
}

/* Preloader */

.preloader {
  background-color:  #f9fdff;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 150;
  display: flex;
  display: -ms-flexbox;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  align-items: center;
  justify-content: center;
  transition: all 1s ease;
  -webkit-transition: all 1s ease;
}

.preloader.opacity-0 {
  opacity: 0;
}

.preloader .loader {
  height: 40px;
  width: 40px;
  border: 4px solid #0477BF;
  border-radius: 50%;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  animation: spin 2s linear infinite;
  -webkit-animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  0% {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}

/* Aside */

.aside {
  width: 270px;
  background-color: #ffffff;
  position: fixed;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 11;
  border-right: 1px solid #dfe8ec;
  /* padding: 30px; */
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  /* overflow-y: auto; */
}

.aside .aside-inner {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 30px;
  overflow-y: auto;
}

.aside .logo {
  padding: 30px 0;
}

.aside .logo a {
  font-size: 40px;
  color: #302e4d;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  position: relative;
  padding: 0 10px;
  line-height: 50px;
}

.aside .logo a::before {
  content: "";
  height: 20px;
  width: 20px;
  position: absolute;
  top: 0;
  left: 0;
}

.aside .logo a::after {
  content: "";
  height: 20px;
  width: 20px;
  position: absolute;
  bottom: 0;
  right: 0;
}

.aside .nav-toggler {
  height: 40px;
  width: 45px;
  border: 1px solid #d4d4e3;
  cursor: pointer;
  position: fixed;
  left: 300px;
  top: 20px;
  z-index: 11;
  border-radius: 5px;
  background-color: #ffffff;
  /* display: -ms-flexbox;
    display: flex; */
  display: none;
  -ms-flex-align: center;
  align-items: center;
  justify-content: center;
  -ms-flex-pack: center;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}

.aside .nav-toggler span {
  height: 2px;
  width: 18px;
  display: inline-block;
  position: relative;
}

.aside .nav-toggler.open span {
  background-color: transparent;
}

.aside .nav-toggler span::before {
  content: "";
  height: 2px;
  width: 18px;
  position: absolute;
  top: -6px;
  left: 0;
}

.aside .nav-toggler.open span::before {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  top: 0px;
}

.aside .nav-toggler span::after {
  content: "";
  height: 2px;
  width: 18px;
  position: absolute;
  top: 6px;
  left: 0;
}

.aside .nav-toggler.open span::after {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  top: 0px;
}

.aside .nav {
  list-style: none;
  margin: 100px 0;
  padding: 0;
}

.aside .nav li {
  display: block;
}

.aside .nav li a {
  font-size: 16px;
  font-weight: 600;
  color: #302e4d;
  text-decoration: none;
  line-height: 45px;
  display: block;
  border-bottom: 1px solid #e8dfec;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-transform: capitalize;
}

.aside .nav li a:not(.active):hover {
  padding-left: 5px;
}

.aside .nav li a .fa {
  margin-right: 5px;
}

.aside .copyright-text {
  position: absolute;
  bottom: 5px;
  font-size: 13px;
  color: #7d7d7d;
}

/* Home Section */

.home {
  min-height: 100vh;
  display: -ms-flexbox;
  display: flex;
}

.home .intro {
  text-align: center;
}

.home .intro img {
  height: 200px;
  width: 200px;
  border-radius: 50%;
  display: inline-block;
  border: 8px solid #ffffff;
  position: relative;
}

.home .intro h3 {
  margin: 20px 0 5px;
  color: #302e4d;
}

.home .intro h1 {
  font-size: 40px;
  color: #302e4d;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  margin: 5px 0 5px;
}

.home .intro span {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  line-height: 22px;
  color: #504e70;
}

.home .intro .social-links {
  margin-top: 25px;
}

.home .intro .social-links a {
  height: 35px;
  width: 35px;
  display: inline-block;
  text-align: center;
  line-height: 35px;
  color: #ffffff;
  margin: 0 4px;
  border-radius: 50%;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.home .intro .social-links a:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.ityped-cursor {
  /* font-size: 2.2rem; */
  opacity: 1;
  -webkit-animation: blink 0.3s infinite;
  -moz-animation: blink 0.3s infinite;
  animation: blink 0.3s infinite;
  animation-direction: alternate;
}

@keyframes blink {
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes blink {
  100% {
    opacity: 0;
  }
}

@-moz-keyframes blink {
  100% {
    opacity: 0;
  }
}

/* About Section */

.about .about-content {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

.about .about-content .about-text {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

.about .about-content .about-text h3 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 700;
  color: #302e4d;
}

.about .about-content .about-text p {
  font-size: 16px;
  line-height: 25px;
  color: #1b1b1b;
  margin: 12px;
}

.about .about-content .about-text p span {
  font-weight: 700;
}

.about .about-content .personal-info {
  -ms-flex: 0 0 60%;
  flex: 0 0 60%;
  max-width: 60%;
  margin-top: 40px;
}

.about .about-content .personal-info .info-item {
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
}

.about .about-content .personal-info .info-item p {
  font-weight: 600;
  padding: 8px 0;
  font-size: 16px;
  margin: 0;
  color: #302e4d;
  border-bottom: 1px solid #e8dfec;
}

.about .about-content .personal-info .info-item p span {
  font-weight: 400;
  color: #504e70;
  margin-left: 4px;
  display: inline-block;
}

.about .about-content .name-full {
  -ms-flex: 0 0 70%;
  flex: 0 0 70%;
  max-width: 70%;
  margin-left: 16px;
  margin-top: 30px;
  margin-bottom: -40px;
}

.about .about-content .name-full p {
  font-weight: 600;
  padding: 8px 0;
  font-size: 16px;
  margin: 0;
  color: #302e4d;
  border-bottom: 1px solid #e8dfec;
}

.about .about-content .name-full p span {
  font-weight: 400;
  color: #504e70;
  margin-left: 4px;
  display: inline-block;
}

.about .about-content .language .about-text .lang-item {
  -ms-flex: 0 0 70%;
  flex: 0 0 70%;
  max-width: 70%;
}

.about .about-content .language .about-text .lang-item p {
  font-weight: 600;
  padding: 5px 0;
  font-size: 16px;
  margin: 0;
  color: #302e4d;
  border-bottom: 1px solid #e8dfec;
}

.about .about-content .language .about-text .lang-item p span {
  font-weight: 400;
  color: #504e70;
  margin-left: 4px;
  display: inline-block;
}

.about .about-content .personal-info .buttons {
  margin-top: 30px;
}

.about .about-content .personal-info .buttons .btn {
  margin-right: 15px;
  margin-top: 10px;
}

.about .about-content .skills {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
  margin-top: 10px;
}

.about .about-content .skills .skill-item {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

.about .about-content .skills .skill-item h5 {
  line-height: 40px;
  font-weight: 600;
  font-size: 16px;
  color: #302e4d;
  text-transform: capitalize;
  margin: 0;
}

.about .about-content .skills .skill-item {
  margin-bottom: 30px;
}

.about .about-content .skills .skill-item .progress {
  background-color: #e3e3e3;
  height: 8px;
  border-radius: 4px;
  width: 100%;
  position: relative;
}

.about .about-content .skills .skill-item .progress .progress-in {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 4px;
}

.about .about-content .skills .skill-item .skill-percent {
  line-height: 40px;
  position: absolute;
  right: 0;
  top: -40px;
  font-weight: 400;
  color: #302e4d;
}

.about .about-content .edu-work {
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
  margin-top: 30px;
}


.about .about-content .experience {
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
  margin-top: 30px;
}
.about .about-content .language {

  margin-top: 30px;
}

.about .about-content h3.title {
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: 700;
  color: #302e4d;
}

.about .about-content .timeline {
  background-color: #ffffff;
  padding: 30px 15px;
  border: 1px solid #dfe8ec;
  border-radius: 10px;
  position: relative;
  width: 100%;
}

.about .about-content .timeline .timeline-item {
  position: relative;
  padding-left: 37px;
  padding-bottom: 40px;
}

.about .about-content .timeline .timeline-item::before {
  content: "";
  width: 1px;
  position: absolute;
  height: 100%;
  left: 7px;
  top: 0;
}

.about .about-content .timeline .timeline-item:last-child {
  padding-bottom: 0px;
}

.about .about-content .timeline-box {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

.about .about-content .timeline .circle-dot {
  position: absolute;
  left: 0;
  top: 0px;
  height: 15px;
  width: 15px;
  left: 0px;
  border-radius: 50%;
}

.about .about-content .timeline .timeline-date {
  font-size: 14px;
  font-weight: 400;
  color: #504e70;
  margin-bottom: 12px;
}

.about .about-content .timeline .timeline-date .fa {
  margin-right: 5px;
}

.about .about-content .timeline .timeline-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 15px;
  text-transform: capitalize;
  color: #302e4d;
}

.about .about-content .timeline .timeline-text {
  font-size: 16px;
  line-height: 25px;
  color: #504e70;
  margin: 0;
}


/* wlinkss Section */

.wlinks .container {
  padding-bottom: 40px;
}

.wlinks .wlinks-item {
  flex: 0 0 20%;
  -ms-flex: 0 0 20%;
  max-width: 20%;
  margin-bottom: 30px;
  display: -ms-flexbox;
  display: flex;
}

.wlinks .wlinks-item .wlinks-item-inner {
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 10px;
  padding: 15px 25px;
  width: 190px;
  text-align: center;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}

.wlinks .wlinks-item .wlinks-item-inner:hover {
  -webkit-box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
  box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
  border: 1px solid #0477BF;
  cursor: pointer;
}

.wlinks .wlinks-item .wlinks-item-inner .icon {
  height: 60px;
  width: 60px;
  display: block;
  margin: 0 auto 30px;
  text-align: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}

.wlinks .wlinks-item .wlinks-item-inner .icon .fa, .wlinks .wlinks-item .wlinks-item-inner .icon .fa-brands, .wlinks .wlinks-item .wlinks-item-inner .icon .fas, .wlinks .wlinks-item .wlinks-item-inner .icon .fab {
  font-size: 40px;
  line-height: 60px;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}

.wlinks .wlinks-item .wlinks-item-inner:hover .icon .fa, .wlinks .wlinks-item .wlinks-item-inner:hover .icon .fas, .wlinks .wlinks-item .wlinks-item-inner:hover .icon .fa-brands, .wlinks .wlinks-item .wlinks-item-inner:hover .icon .fab {
  font-size: 25px;
  color: #ffffff;
}

.wlinks .wlinks-item .wlinks-item-inner h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #302e4d;
  font-weight: 700;
  text-transform: capitalize;
}

.wlinks .wlinks-item .wlinks-item-inner p {
  font-size: 16px;
  color: #504e70;
  line-height: 25px;
  margin: 0;
}

/* Portfolio Section */

.portfolio .container {
  padding-bottom: 40px;
}

.portfolio .portfolio-filter {
  flex: 0 0 100%;
  -ms-flex: 0 0 100%;
  max-width: 100%;
  text-align: center;
  margin-bottom: 40px;
}

.portfolio .portfolio-filter button {
  border: none;
  background-color: transparent;
  font-size: 18px;
  font-weight: 700;
  text-transform: capitalize;
  margin: 0 10px;
  color: #302e4d;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  padding-bottom: 2px;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}

.portfolio .portfolio-item {
  flex: 0 0 33.33%;
  -ms-flex: 0 0 33.33%;
  max-width: 33.33%;
  margin-bottom: 30px;
}

.portfolio .portfolio-item.hide {
  display: none;
}

.portfolio .portfolio-item.show {
  display: block;
  animation: showItem 0.5s ease;
}

@keyframes showItem {
  0% {
    transform: scale(0.8);
    -webkit-transform: scale(0.8);
  }
  100% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

@-webkit-keyframes showItem {
  0% {
    transform: scale(0.8);
    -webkit-transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    -webkit-transform: scale(1);
    opacity: 1;
  }
}

.portfolio .portfolio-item-inner {
  border: 6px solid #ffffff;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.portfolio .portfolio-item-inner .portfolio-img img {
  width: 100%;
  display: block;
}

.portfolio .portfolio-item .portfolio-info {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  height: 100%;
  width: 100%;
  z-index: 1;
  padding: 30px;
  opacity: 0;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}

.portfolio .portfolio-item-inner:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-transform: capitalize;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transform: translate(-20px);
  -webkit-transform: translate(-20px);
  opacity: 0;
}

.portfolio .portfolio-item-inner:hover .portfolio-info h4 {
  transform: translate(0px);
  -webkit-transform: translate(0px);
  opacity: 1;
}

.portfolio .portfolio-item .portfolio-info .icon {
  height: 40px;
  width: 40px;
  background-color: #ffffff;
  text-align: center;
  border-radius: 50%;
  position: absolute;
  right: 30px;
  bottom: 30px;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transform: translate(20px);
  -webkit-transform: translate(20px);
  opacity: 0;
}

.portfolio .portfolio-item-inner:hover .portfolio-info .icon {
  transform: translate(0px);
  -webkit-transform: translate(0px);
  opacity: 1;
}

.portfolio .portfolio-item .portfolio-info .icon .fa {
  line-height: 40px;
}

#iframeContainer {
  width: 100%;
  height: 145vh; 
  overflow: hidden;
}

iframe {
  width: 100%;
  height: 100%;
  border: none; 
}

/* Lightbox */

.lightbox {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 100;
  display: none;
  align-items: center;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 30px;
}

.lightbox.open {
  display: flex;
  display: -ms-flexbox;
}

.lightbox .lightbox-content img {
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 500px;
  cursor: pointer;
  display: block;
  padding: 40px 0 30px;
}

.lightbox.open .lightbox-content {
  animation: lightboxImage 0.5s ease;
}

@keyframes lightboxImage {
  0% {
    transform: scale(0.8);
    -webkit-transform: scale(0.8);
  }
  100% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

@-webkit-keyframes lightboxImage {
  0% {
    transform: scale(0.8);
    -webkit-transform: scale(0.8);
  }
  100% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

.lightbox .lightbox-content {
  position: relative;
}

.lightbox .lightbox-content .lightbox-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: space-between;
  justify-content: space-between;
  font-size: 16px;
  color: #ffffff;
  font-weight: 400;
  z-index: -1;
}

.lightbox .lightbox-content .lightbox-close {
  position: absolute;
  height: 40px;
  width: 40px;
  top: 0px;
  right: 0px;
  font-size: 32px;
  text-align: right;
  color: #ffffff;
  line-height: 40px;
  cursor: pointer;
}

.lightbox .lightbox-controls .prev-item, .lightbox .lightbox-controls .next-item {
  position: absolute;
  height: 40px;
  width: 40px;
  background-color: #ffffff;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  top: 50%;
  margin-top: -20px;
  z-index: 110;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}

.lightbox .lightbox-controls .prev-item:active, .lightbox .lightbox-controls .next-item:active {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
}

.lightbox .lightbox-controls .prev-item:hover, .lightbox .lightbox-controls .next-item:hover {
  transform: scale(1);
  -webkit-transform: scale(1);
}

.lightbox .lightbox-controls .prev-item {
  left: 30px;
}

.lightbox .lightbox-controls .next-item {
  right: 30px;
}

.lightbox .lightbox-controls .prev-item .fa, .lightbox .lightbox-controls .next-item .fa {
  font-size: 32px;
  line-height: 40px;
}

/* Contact Section */

.contact .contact-info-item {
  flex: 0 0 25%;
  -ms-flex: 0 0 25%;
  max-width: 25%;
  text-align: center;
  margin-bottom: 40px;
}

.contact .contact-info-item .icon {
  display: inline-block;
}

.contact .contact-info-item .icon .fa, .contact .contact-info-item .icon .fab, .contact .contact-info-item .icon .fa-brands {
  font-size: 40px;
}

.contact .contact-info-item h4 {
  font-size: 18px;
  font-weight: 700;
  color: #302e4d;
  text-transform: capitalize;
  margin: 15px 0 5px;
}

.contact .contact-info-item p {
  font-size: 16px;
  line-height: 25px;
  color: #504e70;
  margin: 0;
  font-weight: 400;
}

.contact .contact-form {
  flex: 0 0 100%;
  -ms-flex: 0 0 100%;
  max-width: 100%;
}

.contact .contact-form .col-6 {
  flex: 0 0 50%;
  -ms-flex: 0 0 50%;
  max-width: 50%;
}

.contact .contact-form .col-12 {
  flex: 0 0 100%;
  -ms-flex: 0 0 100%;
  max-width: 100%;
  text-align: center;
}

.contact .contact-form .form-item {
  margin-bottom: 30px;
}

.contact .contact-form .form-item .form-control {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  border: 1px solid #d4d4e3;
  padding: 10px 25px;
  font-size: 16px;
  color: #504e70;
}

.contact .contact-form .form-item .form-control:focus {
  -webkit-box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
  box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  border-color: #0477BF;
}

.contact .contact-form .form-item textarea.form-control {
  height: 140px;
  resize: vertical;
}

.contact .contact-form .btn {
  height: 50px;
  padding: 0 50px;
}

/* Responsive */

@media (max-width: 1280px) {
  .section .container {
    padding-top: 70px;
  }
  .aside .nav-toggler {
    display: -ms-flexbox;
    display: flex;
    left: 25px;
  }
  .aside .nav-toggler.open {
    left: 300px;
  }
  .aside {
    left: -270px;
  }
  .aside.open {
    left: 0;
  }
  .section {
    left: 0;
  }
  .section.open {
    left: 270px;
  }
  .about .about-content .personal-info .info-item p span {
    display: block;
    margin-left: 0;
  }
}

@media (max-width: 991px) {
  .portfolio .portfolio-item {
    flex: 0 0 50%;
    -ms-flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 1080px) {
  .wlinks .wlinks-item {
    flex: 0 0 33.33%;
    -ms-flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}

@media (max-width: 767px) {
  .wlinks .wlinks-item {
    flex: 0 0 50%;
    -ms-flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  .about .about-content .personal-info, .contact .contact-form .col-6, .about .about-content .skills, .about .about-content .edu-work, .about .about-content .experience {
    flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    max-width: 100%;
  }
  .portfolio .portfolio-filter button {
    margin-bottom: 10px;
  }
}

@media (max-width: 575px) {
  .portfolio .portfolio-item, .contact .contact-info-item {
    flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    max-width: 100%;
  }
  .copyright-text {
    display: none;
  }
}


@media (max-width: 450px) {
  .wlinks .wlinks-item {
    flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    max-width: 100%;
  }
  .copyright-text {
    display: none;
  }
}

/* Custom Select Box */

.select-box {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 auto;
  font-family: "Open Sans", "Helvetica Neue", "Segoe UI", "Calibri", "Arial", sans-serif;
  font-size: 18px;
  color: #60666d;
}

@media (min-width: 768px) {
  .select-box {
    width: 70%;
  }
}

@media (min-width: 992px) {
  .select-box {
    width: 50%;
  }
}

@media (min-width: 1200px) {
  .select-box {
    width: 30%;
  }
}

.select-box__current {
  position: relative;
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  outline: none;
}

.select-box__current:focus+.select-box__list {
  opacity: 1;
  animation-name: none;
}

.select-box__current:focus+.select-box__list .select-box__option {
  cursor: pointer;
}

.select-box__current:focus .select-box__icon {
  transform: translateY(-50%) rotate(180deg);
}

.select-box__icon {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  width: 20px;
  opacity: 0.3;
  transition: 0.2s ease;
}

.select-box__value {
  display: flex;
}

.select-box__input {
  display: none;
}

.select-box__input:checked+.select-box__input-text {
  display: block;
}

.select-box__input-text {
  display: none;
  width: 100%;
  margin: 0;
  padding: 15px;
  background-color: #fff;
}

.select-box__list {
  position: absolute;
  width: 100%;
  padding: 0;
  list-style: none;
  opacity: 0;
  animation-name: HideList;
  animation-duration: 0.5s;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
  animation-timing-function: step-start;
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
}

.select-box__option {
  display: block;
  padding: 15px;
  background-color: #fff;
}

.select-box__option:hover, .select-box__option:focus {
  color: #546c84;
  background-color: #fbfbfb;
}

@keyframes HideList {
  from {
    transform: scaleY(1);
  }
  to {
    transform: scaleY(0);
  }
}

/* ---- Contact cards ---- */
#contact .contact-cards{
  display:flex;
  justify-content:center;
  align-items:stretch;
  gap:48px;
  flex-wrap:wrap;
  margin: 10px 0 24px;
}
#contact .contact-card{
  text-align:center;
  min-width:260px;
}
#contact .contact-icon{
  font-size:56px;
  line-height:1;
  color:#0477BF;
  margin-bottom:10px;
}
#contact .contact-title{
  font-weight:700;
  margin-bottom:4px;
}
#contact .contact-data .contact-link{
  color:#1b2b4b;
  text-decoration:none;
  font-weight:500;
}
#contact .contact-data .contact-link:hover{
  text-decoration:underline;
}

/* ---- Google form embed ---- */
#iframeContainer{
  max-width: 860px;
  margin: 0 auto;
  padding-top: 8px;
}
#iframeContainer iframe{
  width:100%;
  height: 1200px; /* ajusta si lo necesitas */
  border:0;
  border-radius:8px;
  background:#fff;
}

/* ---------- Portfolio filters: tab style ---------- */
.portfolio .portfolio-filter{
  display:flex;
  flex-wrap:wrap;
  column-gap:28px;     /* espacio horizontal entre tabs */
  row-gap:14px;        /* salto de línea ordenado en pantallas pequeñas */
  align-items:center;
}

.portfolio .portfolio-filter button{
  background:transparent !important;
  border:none !important;
  border-radius:0 !important;
  padding:8px 0 10px;  /* sin relleno lateral: se ven como texto */
  font-weight:700;
  color:#1e2a3a;       /* texto normal */
  position:relative;
  cursor:pointer;
  transition:color .2s ease;
}

/* Línea inferior al pasar el cursor */
.portfolio .portfolio-filter button::after{
  content:"";
  position:absolute;
  left:0; bottom:-4px;
  width:0; height:2px;
  background:#0a74c9;               /* azul corporativo */
  transition:width .25s ease;
}

/* Hover: color y línea parcial */
.portfolio .portfolio-filter button:hover{
  color:#0a74c9;
}
.portfolio .portfolio-filter button:hover::after{
  width:60%;
}

/* Activo: color azul y línea completa */
.portfolio .portfolio-filter button.active{
  color:#0a74c9;
}
.portfolio .portfolio-filter button.active::after{
  width:100%;
}

/* Accesibilidad: foco visible pero discreto */
.portfolio .portfolio-filter button:focus-visible{
  outline:2px solid rgba(10,116,201,.25);
  outline-offset:2px;
}

/* Línea divisoria bajo los filtros del portafolio */
.portfolio .portfolio-filter{
  padding-bottom: 12px;        /* espacio para la línea */
  margin-bottom: 26px;         /* separación con el contenido */
  border-bottom: 2px solid rgba(10,116,201,.18); /* azul muy sutil */
}

/* (opcional) Si aún existe algún botón “See More” en otra parte del tema */
.portfolio .buttons{ display:none; }


/* Grid de tarjetas */
.portfolio-grid{
  display:grid; gap:18px;
  grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
}
.pf-card{
  background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:12px;
  overflow:hidden; cursor:pointer; transition:transform .15s ease, box-shadow .15s;
}
.pf-card:hover{transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.08)}
.pf-thumb{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.pf-meta{padding:12px 14px}
.pf-cat{font-size:12px;color:#0477BF;opacity:.85}
.pf-title{font-weight:700;margin:4px 0 0}

/* Overlay detalle */
.pf-detail.hidden{display:none}
.pf-detail{
  position:fixed; inset:0; background:rgba(0,0,0,.5);
  display:flex; align-items:flex-start; justify-content:center;
  padding:32px; z-index:9999; overflow:auto;
}
.pf-detail-card{
  background:#fff; width:min(1000px,100%); border-radius:16px; padding:24px;
  box-shadow:0 20px 40px rgba(0,0,0,.15);
}
.pf-close{
  float:right; font-size:28px; line-height:28px; border:0; background:transparent; cursor:pointer;
}

/* Tags */
.pf-tags{margin:6px 0 14px}
.pf-tags .tag{
  display:inline-block; font-size:12px; color:#074b7a; background:rgba(4,119,191,.08);
  border:1px solid rgba(4,119,191,.22); border-radius:999px; padding:4px 8px; margin:0 6px 6px 0;
}






/* Galería 2×2 */
.pf-gallery{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.pf-gallery img{ width:100%; height:auto; border-radius:10px; display:block; }


/* Paginación */
.pf-pager{display:flex; gap:8px; justify-content:center; margin-top:22px}
.pf-pager button{
  border:1px solid rgba(0,0,0,.15); background:#fff; padding:6px 12px; border-radius:8px; cursor:pointer;
}
.pf-pager button.active{background:#0a74c9;color:#fff;border-color:#0a74c9}
.pf-pager button:disabled{opacity:.5;cursor:not-allowed}

/* Filtro activo subrayado (si aún no lo tienes) */
.portfolio-filter button.active{
  color:#074b7a;
  border-bottom:3px solid #0a74c9;
  padding-bottom:6px;
}



/* Centrar el embed de Instagram si hace falta */
blockquote.instagram-media {
  margin: 0 auto !important;
}


/* === Portfolio · detalle y proporciones de media (override) === */

/* Overlay del detalle */
.pf-detail.hidden{display:none}
.pf-detail{
  position:fixed; inset:0; background:rgba(0,0,0,.5);
  display:flex; align-items:flex-start; justify-content:center;
  padding:32px; z-index:9999; overflow:auto;
}
.pf-detail-card{
  background:#fff; width:min(1000px,100%); border-radius:16px; padding:24px;
  box-shadow:0 20px 40px rgba(0,0,0,.15);
}
.pf-close{
  float:right; font-size:28px; line-height:28px; border:0; background:transparent; cursor:pointer;
}

/* Tags del detalle */
.pf-tags{margin:6px 0 14px}
.pf-tags .tag{
  display:inline-block; font-size:12px; color:#074b7a; background:rgba(4,119,191,.08);
  border:1px solid rgba(4,119,191,.22); border-radius:999px; padding:4px 8px; margin:0 6px 6px 0;
}




/* Galería 2×2 */
.pf-gallery{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.pf-gallery img{ width:100%; height:auto; border-radius:10px; display:block; }

/* === Media Ratios (16:9 for both video & reel) === */
.ratio { position: relative; width: 100%; }
.ratio > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Único helper que usamos */
.ratio-16x9::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 */
}

/* Por si queda alguna regla vieja en cascada, refuérzalo aquí */
#pf-video .ratio-16x9::before,
#pf-reel  .ratio-16x9::before {
  padding-top: 56.25% !important;
}

/* mismo espacio que la galería (ajústalo a tu gusto) */
.pf-video,
.pf-reel{
  margin-bottom: 16px;
}

/* evita margen cuando estén vacíos */
.pf-video:empty,
.pf-reel:empty{
  margin: 0;
}

/* extra: si existen ambos, añade un margen arriba del reel */
.pf-video:not(:empty) + .pf-reel:not(:empty){
  margin-top: 16px;
}

