/* ------------------------------------------------------------------
   COMPONENT STYLES
   - Section padding
   - Resume
   - Skills progress bars
   - Services
   - Portfolio
   - Gallery
   - Video popup
   - Accordion/FAQ
   - Testimonials
   - Clients
------------------------------------------------------------------- */

/* ======= Section style ======= */
.section-padding {
  padding: 60px 0;
}
.section-padding h1 {
  font-size: 60px;
  line-height: 1.2em;
  font-weight: 700;
  margin-bottom: 0px;
  color: #18191d;
}
.section-padding h1 span.stroke {
  color: transparent;
}
.section-padding h6 {
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  color: #868a9b;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ======= Resume style ======= */
.resume .o-hidden {
  width: 100%;
}
.resume .profile {
  width: 100%;
}
.resume .profile::-webkit-scrollbar {
  width: 0 !important;
}
.resume .hero-img {
  border-radius: 5px;
  overflow: hidden;
}
.resume .block h4 {
  color: #18191d;
  font-size: 24px;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}
.resume .block .item {
  margin-bottom: 30px;
}
.resume .block .item:last-of-type {
  margin-bottom: 0;
}
.resume .block h5 {
  color: #18191d;
  font-size: 16px;
  margin-bottom: 0px;
  font-weight: 700;
}
.resume .block h5 span {
  padding: 3px 12px;
  background: transparent;
  font-size: 14px;
  float: right;
  color: #868a9b;
  font-weight: 400;
  border: 2px solid rgba(0, 0, 0, 0.05);
}
.resume .block p {
  font-size: 16px;
  color: #868a9b;
}
.resume .content .butn {
  margin-right: 10px;
}
.resume .content .butn:last-of-type {
  margin-right: 0;
}

/* ======= Skills Progress Bar style ======= */
.bar {
  position: relative;
  background-color: #e6e7eb;
  height: 6px;
  margin: 0 0 30px 0;
  border-radius: 10px;
}
.bar-fill {
  position: absolute;
  height: 6px;
}
.bar-title {
  position: relative;
  font-family: var(--font-syne), sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5em;
  text-align: left;
  margin: 0 0 5px 0;
  color: #18191d;
}
.percent {
  position: absolute;
  right: 0;
}
/* animations for skills progress bar */
.bar-fill-design {
  width: 90%;
  background-color: #868a9b;
  border-radius: 10px;
  animation: bar-fill-design 2s ease-out;
}
@keyframes bar-fill-design {
  0% { width: 0px; }
  100% { width: 90%; }
}
.bar-fill-branding {
  width: 80%;
  background-color: #868a9b;
  border-radius: 10px;
  animation: bar-fill-branding 2s ease-out;
}
@keyframes bar-fill-branding {
  0% { width: 0px; }
  100% { width: 80%; }
}
.bar-fill-webdesign {
  width: 95%;
  background-color: #868a9b;
  border-radius: 10px;
  animation: bar-fill-webdesign 2s ease-out;
}
@keyframes bar-fill-webdesign {
  0% { width: 0px; }
  100% { width: 95%; }
}
.bar-fill-socialmedia {
  width: 85%;
  background-color: #868a9b;
  border-radius: 10px;
  animation: bar-fill-socialmedia 2s ease-out;
}
@keyframes bar-fill-socialmedia {
  0% { width: 0px; }
  100% { width: 85%; }
}

/* ======= Services style ======= */
.services .item {
  padding: 60px 40px 60px 40px;
  background-color: #fff;
  position: relative;
  transition: all 0.5s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.services .item:hover {
  border-color: transparent;
  background-color: #24252b;
}
.services .item:hover .numb {
  -webkit-text-stroke: 1px #18191d;
}
.services .item .icon {
  color: #18191d;
  font-size: 50px;
  z-index: 2;
  margin-bottom: 20px;
}
.services .item:hover .icon {
  color: #fff;
}
.services .item h5 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #18191d;
}
.services .item p {
  color: #868a9b;
  margin-bottom: 10px;
}
.services .item:hover h5 {
  color: #fff;
}
.services .item:hover p {
  color: #fff;
}
.services .item .numb {
  font-size: 48px;
  font-weight: 900;
  position: absolute;
  bottom: 35px;
  right: 40px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.3);
  opacity: 0.6;
}
.services .item:hover .numb {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.6);
}
.services-page h5 {
  color: #18191d;
}

/* ======= Portfolio style ======= */
.portfolio {
  overflow: hidden;
}
.portfolio .img-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-align: center;
}
.portfolio .wrapper-img {
  position: relative;
  background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 50%, #e8e8e8 100%);
  transition: 700ms cubic-bezier(0.17, 0.67, 0, 1.01);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
}
.portfolio .wrapper-img.no-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: url('/images/jacobFlaherty_favicon.png') no-repeat center center;
  background-size: contain;
  opacity: 0.3;
  z-index: 0;
}
.portfolio .wrapper-img img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  transition: 700ms cubic-bezier(0.17, 0.67, 0, 1.01);
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.portfolio img {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  transition: 700ms cubic-bezier(0.17, 0.67, 0, 1.01);
  object-fit: cover;
}
.portfolio .img-block:hover img {
  opacity: 0.1;
}
.portfolio .img-block:hover .wrapper-img {
  transform: scale(0.95);
  background: #18191d;
}
.portfolio .img-block:hover .title-block {
  opacity: 1;
  transform: translateX(0px);
}
.portfolio .title-block {
  position: absolute;
  opacity: 0;
  transform: translateX(-20px);
  transition: 700ms cubic-bezier(0.17, 0.67, 0, 1.01);
  max-width: 80%;
  text-align: center;
}
.portfolio .title-block h4 {
  font-size: 24px;
  margin-bottom: 0;
  color: #fff;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.portfolio .title-block p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}
.portfolio-page p {
  font-weight: 400;
  margin-bottom: 20px;
}
.portfolio-page p span {
  color: #18191d;
}
.portfolio-page p a {
  text-decoration: underline;
}
.portfolio-page p a:hover {
  color: #3a3a3a;
}

.portfolio-dropdown-select select {
  appearance: none;
  border: 0;
  outline: 0;
  font: inherit;
  width: 20em;
  height: 3em;
  padding: 0 4em 0 1em;
  background: url(https://upload.wikimedia.org/wikipedia/commons/9/9d/Caret_down_font_awesome_whitevariation.svg)
      no-repeat right 0.8em center/1.4em,
    linear-gradient(
      to left,
      rgba(255, 255, 255, 0.3) 3em,
      rgba(255, 255, 255, 0.2) 3em
    );
  color: white;
  border-radius: 0.25em;
  box-shadow: 0 0 1em 0 rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.portfolio-dropdown-select select option {
  color: inherit;
  background-color: #320a28;
}
.portfolio-dropdown-select select:focus {
  outline: none;
}
.portfolio-dropdown-select select::-ms-expand {
  display: none;
}

/* =======  Gallery style  ======= */
.gallery-item {
  position: relative;
  width: 100%;
  margin: 0 0 23px 0;
  float: left;
  box-sizing: border-box;
}
.gallery-item .gallery-item-inner {
  position: relative;
  display: inline-block;
  width: 100%;
  vertical-align: middle;
  background-color: #f9f9f9;
  background-size: cover;
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
  transition: all 1.25s cubic-bezier(0.01, 0.71, 0.26, 0.94);
}
.gallery-box {
  overflow: hidden;
  position: relative;
}
.gallery-box .gallery-img {
  position: relative;
  overflow: hidden;
}
.gallery-box .gallery-img:after {
  content: ' ';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.27s cubic-bezier(0.3, 0.1, 0.58, 1);
}
.gallery-box .gallery-img > img {
  transition: all 0.3s cubic-bezier(0.3, 0.1, 0.58, 1);
  border-radius: 0;
}
.gallery-box .gallery-detail {
  opacity: 0;
  color: #ffffff;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  overflow: hidden;
  transition: all 0.27s cubic-bezier(0.3, 0.1, 0.58, 1);
}
.gallery-box .gallery-detail h4 {
  font-size: 18px;
}
.gallery-box .gallery-detail p {
  color: rgba(0, 0, 0, 0.6);
  font-size: 16px;
}
.gallery-box:hover .gallery-detail {
  top: 50%;
  transform: translate(0, -50%);
  opacity: 1;
}

/* ======= YouTube PopUp style ======= */
/* play button */
.vid-area h5 {
  font-size: 20px;
  line-height: 1.5em;
  font-weight: 300;
  color: #fff;
  letter-spacing: 3px;
  margin-bottom: 30px;
  text-transform: uppercase;
}
.play-button {
  position: relative;
  width: 85px;
  height: 85px;
  margin: auto;
  transform: scale(1.3);
  z-index: 4;
  margin-left: 15px;
}
.play-button svg {
  position: absolute;
  width: 100%;
  height: 100%;
}
.circle-fill circle {
  opacity: 1;
  fill: #18191d;
}
.polygon {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 90px;
  font-size: 35px;
  z-index: 2;
  padding-left: 5px;
}
.play-button svg.circle-fill {
  z-index: 1;
  stroke-dasharray: 322;
  stroke-dashoffset: 322;
  transition: all 0.5s;
  transform: rotate(-90deg);
}
.play-button:hover svg.circle-fill {
  stroke-dashoffset: 38.5;
}
.play-button svg.circle-track {
  z-index: 0;
}
.play-button.color {
  color: #18191d;
}
.play-button.color .circle-fill circle {
  fill: #18191d;
}
/* video gallery */
.vid-area .vid-icon {
  position: relative;
  overflow: hidden;
}
.vid-area:hover .vid-icon > img {
  transform: scale(1.05);
}
.video-gallery-button {
  position: relative;
  margin: auto;
  z-index: 4;
  margin-left: 15px;
  float: right;
}
.video-gallery-polygon {
  z-index: 2;
  padding-left: 5px;
  display: inline-block;
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid #fff;
  color: #18191d;
  padding: 15px 14px 15px 16px;
  line-height: 0;
}
.video-gallery-polygon:hover {
  background: #fff;
  border: 1px solid #fff;
}
.video-gallery-polygon i {
  font-size: 20px;
}

/* ======= Accordion Box (for Faqs) style ======= */
.accordion-box {
  position: relative;
  padding: 0px;
}
.accordion-box .block {
  position: relative;
  background: #fff;
  border-radius: 0px;
  overflow: hidden;
  margin-bottom: 20px;
}
.accordion-box .block.active-block {
  background-color: #fff;
}
.accordion-box .block:last-child {
  margin-bottom: 0;
}
.accordion-box .block .acc-btn {
  position: relative;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  cursor: pointer;
  padding: 20px 40px;
  padding-right: 60px;
  color: #18191d;
  transition: all 500ms ease;
}
.accordion-box .block .acc-btn .count {
  color: #868a9b;
  padding-right: 3px;
}
.accordion-box .block .acc-btn:before {
  position: absolute;
  right: 35px;
  top: 20px;
  height: 30px;
  font-size: 14px;
  font-weight: normal;
  color: #868a9b;
  line-height: 30px;
  content: '\e61a';
  font-family: 'Themify';
  transition: all 500ms ease;
}
.accordion-box .block .acc-btn.active {
  background-color: #fff;
  color: #18191d;
}
.accordion-box .block .acc-btn.active:before {
  color: 'Themify';
  content: '\e622';
}
.accordion-box .block .acc-content {
  position: relative;
  display: none;
}
.accordion-box .block .content {
  position: relative;
  padding: 0px 40px 30px;
  background-color: #fff;
  color: #868a9b;
}
.accordion-box .block .acc-content.current {
  display: block;
}
.accordion-box .block .content .text {
  display: block;
  position: relative;
  top: 0px;
}

/* ======= Testimonials style ======= */
.testimonials h4 {
  font-size: 30px;
  margin-bottom: 0px;
  padding-top: 10px;
  font-weight: 700;
  font-family: var(--font-syne), sans-serif;
  color: #fff;
}
.testimonials .testimonials-box {
  position: relative;
  background: #fff;
  padding: 50px 35px 30px;
  margin-bottom: -60px;
  min-height: 110%;
}
.testimonials .testimonials-box h5 {
  font-size: 24px;
  color: #18191d;
}
.testimonials .item {
  position: relative;
  margin-bottom: 5px;
  min-height: 100%;
}
.testimonials .item .quote {
  right: 0px;
  bottom: 5px;
  height: auto;
  margin: 10 auto 0px;
  opacity: 0.2;
}
.testimonials .item .quote img {
  width: 15% !important;
  margin-left: auto;
  margin-top: 20px;
}
.testimonials .item p {
  color: #868a9b;
  margin: 0px;
}
.testimonials .item .info {
  text-align: left;
  padding: 10px 0 0 0;
}
.testimonials .item .info .author-img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  float: left;
  overflow: hidden;
}
.testimonials .item .info .cont {
  margin-left: 70px;
}
.testimonials .item .info .cont h6 {
  display: block;
  font-size: 16px;
  margin-bottom: 0px;
  padding-top: 10px;
  font-weight: 600;
  font-family: var(--font-syne), sans-serif;
  color: #18191d;
  line-height: 1em;
  text-transform: none;
  letter-spacing: 0px;
}
.testimonials .item .info span {
  font-size: 14px;
  color: #868a9b;
  line-height: 1em;
}

/* ======= Clients style ======= */
.clients {
  background-color: #18191d;
}
.clients .owl-carousel {
  margin: 15px 0;
}
.clients .clients-logo {
  opacity: 1;
  line-height: 0;
}
.clients .clients-logo img {
  opacity: 1;
  line-height: 0;
  max-width: 50%;
}
@media screen and (max-width: 480px) {
  .clients .clients-logo img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
}
.clients .clients-logo:hover {
  opacity: 1;
}
.clients img {
  filter: none;
}
.clients img:hover {
  filter: grayscale(50%);
  transition: all 0.5s;
}

/* ======= Beyond Code style ======= */
.beyond-code {
  background-color: transparent;
}

.beyond-code-header {
  text-align: center;
  margin-bottom: 40px;
}

.beyond-code-header h6 {
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  color: #868a9b;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.beyond-code-header h1 {
  font-size: 48px;
  color: #18191d;
  margin: 0;
}

.beyond-code-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.beyond-code-card {
  flex: 0 1 calc(25% - 18px);
  min-width: 200px;
  background: #fff;
  border-radius: 12px;
  padding: 30px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beyond-code-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.beyond-code-icon {
  color: #18191d;
  margin-bottom: 16px;
}

.beyond-code-card h5 {
  font-size: 20px;
  font-weight: 600;
  color: #18191d;
  margin-bottom: 8px;
}

.beyond-code-card p {
  font-size: 14px;
  color: #868a9b;
  margin: 0;
}

@media (max-width: 991px) {
  .beyond-code-card {
    flex: 0 1 calc(33.333% - 16px);
  }
}

@media (max-width: 767px) {
  .beyond-code-card {
    flex: 0 1 calc(50% - 12px);
  }
}

@media (max-width: 575px) {
  .beyond-code-header h1 {
    font-size: 36px;
  }

  .beyond-code-grid {
    gap: 12px;
  }

  .beyond-code-card {
    flex: 0 1 calc(50% - 6px);
    min-width: 0;
    padding: 16px 12px;
  }

  .beyond-code-card h5 {
    font-size: 14px;
  }

  .beyond-code-card p {
    font-size: 12px;
  }

  .beyond-code-icon {
    margin-bottom: 10px;
  }

  .beyond-code-icon svg {
    width: 28px !important;
    height: 28px !important;
  }
}
