/**
* Template Name: MyPortfolio
* Updated: Jan 29 2024 with Bootstrap v5.3.2
* Template URL: https://bootstrapmade.com/myportfolio-bootstrap-portfolio-website-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --color-bg: #ffffff;
  --color-text: #0d1e2d;
  --color-muted: #6c757d;
  --color-line: #e9e9e9;
  --color-accent: #000000;
}

body {
  font-family: "Inconsolata", monospace;
  color: var(--color-text);
  background-color: var(--color-bg);
}

a {
  color: #777;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: "Raleway", sans-serif;
  letter-spacing: -0.01em;
}

.section {
  padding: 7rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.filters a {
  text-decoration: none;
  color: #000;
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
}

.filters a:hover,
.filters a:focus,
.filters a:active {
  text-decoration: none;
}

.filters a:hover:before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 1px;
  background-color: #000;
}

.filters a.active {
  color: #000;
}

.filters a.active:before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 1px;
  background-color: #000;
}

.item {
  border: none;
  margin-bottom: 30px;
}

.item .item-wrap {
  display: block;
  position: relative;
  overflow: hidden;
}

.item .item-wrap:after {
  z-index: 2;
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  visibility: hidden;
  opacity: 0;
  transition: 0.3s all ease-in-out;
}

.item .item-wrap img,
.item .item-wrap .pdf-cover-canvas {
  transition: 0.3s transform ease;
  transform: scale(1);
}

.pdf-cover-canvas {
  width: 100%;
  height: auto;
  display: block;
}

.item .item-wrap>.work-info {
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  z-index: 3;
  transform: translateY(-50%);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  margin-top: 20px;
  transition: 0.3s all ease;
}

.item .item-wrap>.work-info h3 {
  font-size: 20px;
  margin-bottom: 0;
}

.item .item-wrap>.work-info span {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
}

.item .item-wrap:hover {
  text-decoration: none;
}

.item .item-wrap:hover img,
.item .item-wrap:hover .pdf-cover-canvas {
  transform: scale(1.05);
}

.item .item-wrap:hover:after {
  opacity: 1;
  visibility: visible;
}

.item .item-wrap:hover .work-info {
  margin-top: 0px;
  opacity: 1;
  visibility: visible;
}

.testimonial-wrap {
  padding: 50px 50px 80px 50px;
  background: #eceff2;
}

.testimonial-wrap .testimonial {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.testimonial-wrap .testimonial img {
  border-radius: 50%;
  width: 120px;
  margin: 0 auto 30px auto;
}

.testimonial-wrap .testimonial blockquote p {
  font-size: 20px;
}

.h3 {
  font-size: 20px;
}

.h4 {
  font-size: 16px;
}

.heading {
  font-size: 28px;
}

/*--------------------------------------------------------------
# Featured Project
--------------------------------------------------------------*/
.featured-project {
  border-bottom: 1px solid var(--color-line);
}

.featured-title {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.featured-subtitle {
  color: var(--color-muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  margin-bottom: 1.25rem;
}

.featured-text {
  color: var(--color-text);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.featured-image-wrap {
  display: block;
  overflow: hidden;
  position: relative;
  border-radius: 4px;
}

.featured-image {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.featured-image-wrap:hover .featured-image {
  transform: scale(1.03);
}

.readmore {
  display: inline-block;
  border: 1px solid #000;
  padding: 10px 15px;
  font-size: 12px;
  text-transform: uppercase;
  color: #000;
  transition: 0.2s all ease;
  font-weight: 700;
}

.readmore:active,
.readmore:focus,
.readmore:hover {
  outline: none;
}

.readmore:hover {
  color: #fff;
  text-decoration: none;
  background: #000;
}

/*--------------------------------------------------------------
# Recent Projects Slider
--------------------------------------------------------------*/
.recent-projects-slider {
  padding-bottom: 40px;
}

.recent-project-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.recent-project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.recent-project-card:hover img {
  transform: scale(1.05);
}

.recent-project-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  color: #fff;
}

.recent-project-info h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 6px;
}

.readmore-small {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  color: rgba(255, 255, 255, 0.8);
}

.recent-project-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}

.recent-projects-slider .swiper-pagination,
.recent-images-slider .swiper-pagination {
  position: relative;
  margin-top: 20px;
}

.recent-projects-slider .swiper-pagination .swiper-pagination-bullet,
.recent-images-slider .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: rgba(13, 30, 45, 0.3);
  opacity: 1;
}

.recent-projects-slider .swiper-pagination .swiper-pagination-bullet-active,
.recent-images-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: rgba(13, 30, 45, 0.7);
}

/*--------------------------------------------------------------
# Latest News Cards
--------------------------------------------------------------*/
.news-card {
  display: block;
  color: var(--color-text);
}

.news-card-thumb {
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 14px;
}

.news-card-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-thumb img {
  transform: scale(1.05);
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06rem;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--color-text);
}

.news-card-sub {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 0;
}

.news-card:hover .news-card-title {
  text-decoration: underline;
}

/*--------------------------------------------------------------
# Breadcrumb
--------------------------------------------------------------*/
.int-sto-breadcrumb {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.int-sto-breadcrumb a {
  color: var(--color-muted);
}

.int-sto-breadcrumb a:hover {
  color: #000;
}

.int-sto-breadcrumb .sep {
  margin: 0 8px;
}

.int-sto-breadcrumb .current {
  color: #000;
  font-weight: 700;
}

/*--------------------------------------------------------------
# Project Image Gallery (left/right arrows)
--------------------------------------------------------------*/
.project-gallery {
  position: relative;
}

.project-gallery .swiper-slide img {
  width: 100%;
  display: block;
}

.project-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: 0.2s all ease;
}

.project-gallery-nav:hover {
  background: #000;
  color: #fff;
}

.project-gallery-prev {
  left: 14px;
}

.project-gallery-next {
  right: 14px;
}

.project-gallery-pagination {
  position: relative;
  margin-top: 14px;
  text-align: center;
}

/*--------------------------------------------------------------
# PDF Page-turn Viewer
--------------------------------------------------------------*/
.pdf-stage-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.pdf-flipbook {
  width: 100%;
  max-width: 900px;
  height: 78vh;
  min-height: 420px;
}

.pdf-flipbook canvas {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.pdf-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  color: var(--color-muted);
  z-index: 6;
  background: #f2f2f2;
  transition: opacity 0.3s ease;
}

.pdf-loading.d-none {
  opacity: 0;
  pointer-events: none;
}

.pdf-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.pdf-page-count {
  font-size: 13px;
  color: var(--color-muted);
  min-width: 90px;
  text-align: center;
}

.pdf-doc-list {
  display: block;
}

.pdf-doc-card {
  display: block;
  padding: 20px;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  color: var(--color-text);
  transition: 0.2s all ease;
}

.pdf-doc-card:hover {
  border-color: #000;
  color: #000;
}

.pdf-doc-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.pdf-doc-card span {
  font-size: 12px;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06rem;
}

/*--------------------------------------------------------------
# Persistent MP3 Player
--------------------------------------------------------------*/
.int-sto-player {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: #fff;
  border-bottom: 1px solid var(--color-line);
}

.int-sto-player-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px;
}

.int-sto-btn {
  background: none;
  border: 1px solid #000;
  color: #000;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: 0.2s all ease;
}

.int-sto-btn:hover {
  background: #000;
  color: #fff;
}

.int-sto-play-btn {
  width: 38px;
  height: 38px;
}

.int-sto-title {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}

.int-sto-progress-wrap {
  flex: 1;
  height: 4px;
  background: var(--color-line);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.int-sto-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: #000;
  border-radius: 2px;
}

.int-sto-time {
  font-size: 12px;
  color: var(--color-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.int-sto-volume {
  width: 80px;
  flex-shrink: 0;
}

.int-sto-resume-hint {
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
  color: var(--color-text);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 780px) {
  .int-sto-title,
  .int-sto-time,
  .int-sto-volume {
    display: none;
  }
}

.testimonials-slider .swiper-pagination {
  margin-top: -60px;
  position: relative;
}

.testimonials-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(13, 30, 45, 0.3);
  opacity: 1;
}

.testimonials-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: rgba(13, 30, 45, 0.6);
}

.sticky-content {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  /* required */
}

.list-line li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.list-line li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 10px;
  height: 2px;
  background: #000;
}

.form-control {
  border-radius: 0;
  background: #f8f9fa;
  border: 1px solid transparent;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.form-control:active,
.form-control:focus {
  background: #eff1f4;
  outline: none;
  box-shadow: none;
  border: 1px solid transparent;
}

.custom-progress {
  height: 7px;
  border-radius: 0;
}

.custom-progress .progress-bar {
  background: #000;
}

/* Services */
.services i {
  font-size: 40px;
}

.services h4 {
  padding-top: 10px;
}

/* Contact Form */
.php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.php-email-form .error-message br+br {
  margin-top: 25px;
}

.php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
/* Custom Navmenu */
.custom-navmenu {
  background: #0d1e2d;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 100vh;
  overflow-y: auto;
  z-index: 1000;
}

.custom-navmenu .custom-menu,
.custom-navmenu .custom-menu li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.custom-navmenu .custom-menu li {
  margin-bottom: 0;
  font-size: 20px;
}

.custom-navmenu .custom-menu li a {
  color: #fff;
  padding: 10px 0 !important;
}

.custom-navmenu .custom-menu li a:hover {
  text-decoration: none;
}

.custom-navmenu .custom-menu li.active a {
  text-decoration: underline;
}

.custom-navmenu h3 {
  font-size: 20px;
  color: #fff;
}

.custom-navmenu p {
  color: rgba(255, 255, 255, 0.6);
}

.custom-navmenu a {
  color: rgba(255, 255, 255, 0.7);
}

.custom-navmenu a:hover {
  color: #fff;
}

/* Custom Navbar */
.custom-navbar {
  padding-top: 50px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  background: #fff;
}

@media (max-width: 780px) {
  .custom-navbar>.container {
    padding-right: 0;
    padding-left: 0;
  }
}

.custom-navbar .navbar-brand {
  font-size: 1.7rem;
}

/* Burger */
.burger {
  width: 28px;
  height: 32px;
  cursor: pointer;
  position: relative;
}

.burger:before,
.burger span,
.burger:after {
  width: 100%;
  height: 2px;
  display: block;
  background: #000;
  border-radius: 2px;
  position: absolute;
  opacity: 1;
}

.burger:before,
.burger:after {
  transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1);
  content: "";
}

.burger:before {
  top: 4px;
}

.burger span {
  top: 15px;
}

.burger:after {
  top: 26px;
}

/* Hover */
.burger:hover:before {
  top: 7px;
}

.burger:hover:after {
  top: 23px;
}

/* Click */
.burger.active span {
  opacity: 0;
}

.burger.active:before,
.burger.active:after {
  top: 40%;
}

.burger.active:before {
  transform: rotate(45deg);
}

.burger.active:after {
  transform: rotate(-45deg);
}

.burger:focus {
  outline: none;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 0 0 4rem 0;
}

.footer a {
  color: #000;
}

.social a {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f8f9fa;
  position: relative;
  text-align: center;
  color: #0d1e2d;
}

.social a span {
  display: inline-block;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.social a:hover {
  color: #000;
}

/*--------------------------------------------------------------
# Film project page (rating bars, tables, critics)
--------------------------------------------------------------*/
.rating-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating-bar-track {
  flex: 1;
  height: 6px;
  background: var(--color-line);
  border-radius: 3px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: #000;
  border-radius: 3px;
}

.rating-bar-percent {
  font-size: 13px;
  font-weight: 700;
  min-width: 34px;
  text-align: right;
}

.int-sto-table {
  font-size: 15px;
}

.int-sto-table td {
  padding: 10px 14px;
  border-color: var(--color-line);
}

.int-sto-table td:first-child {
  color: var(--color-muted);
  width: 40%;
}

.critic-card {
  border-left: 2px solid var(--color-line);
  padding-left: 18px;
}

.film-cover-portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.film-collapse-toggle {
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.film-collapse-toggle:hover {
  color: #000;
}

.film-collapse-toggle .bi {
  transition: transform 0.25s ease;
  font-size: 15px;
}

.film-collapse-toggle[aria-expanded="true"] .bi {
  transform: rotate(180deg);
}

.critic-card-with-photo {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-left: none;
  padding-left: 0;
}

.critic-photo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}