/**
* Template Name: Kelly
* Updated: May 30 2023 with Bootstrap v5.3.0
* Template URL: https://bootstrapmade.com/kelly-free-bootstrap-cv-resume-html-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  color: #34b7a7;
  text-decoration: none;
}

a:hover {
  color: #51cdbe;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

#main {
  margin-top: 50px;
}

@media (max-width: 992px) {
  #main {
    margin-top: 30px;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #34b7a7;
  border-top-color: #dcf5f2;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

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

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

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #34b7a7;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #49cbbb;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: linear-gradient(180deg, #f6f4ef 0%, #ebe8e1 100%);
  box-shadow: 0 10px 26px rgba(20, 24, 34, 0.10);
  border-bottom: 1px solid rgba(168, 146, 96, 0.30);
  z-index: 997;
  padding: 13px 0;
}

#header .logo {
  font-size: 32px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#header .logo a {
  color: #222222;
}

#header .logo img {
  max-height: 40px;
}

@media (max-width: 992px) {
  #header .logo {
    font-size: 28px;
  }
}

#header .brand-logo {
  font-size: 0;
  letter-spacing: 0;
  text-transform: none;
}

#header .brand-logo a {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

#header .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-size: 19px;
  line-height: 1;
  font-weight: 700;
  color: #f6dfa0;
  background: radial-gradient(circle at 32% 30%, #24365d 0%, #121a2f 72%);
  border: 1px solid rgba(202, 171, 92, 0.88);
  box-shadow: 0 10px 20px rgba(16, 24, 43, 0.35), inset 0 0 12px rgba(205, 178, 103, 0.22);
}

#header .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.04;
}

#header .brand-title {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1a2232;
  letter-spacing: 0.35px;
}

#header .brand-subtitle {
  font-family: "Open Sans", sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #705a34;
  letter-spacing: 1.35px;
  text-transform: uppercase;
  margin-top: 4px;
}

@media (max-width: 992px) {
  #header .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  #header .brand-title {
    font-size: 15px;
  }

  #header .brand-subtitle {
    display: none;
  }
}

/*--------------------------------------------------------------
# Header Social Links
--------------------------------------------------------------*/
.header-social-links {
  padding-right: 15px;
}

.header-social-links a {
  color: #6a6f7b;
  padding-left: 8px;
  display: inline-block;
  line-height: 0px;
  transition: 0.3s;
  font-size: 15px;
}

.header-social-links a:hover {
  color: #1d2434;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
  padding: 10px 0 10px 22px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #646977;
  white-space: nowrap;
  transition: 0.3s;
  position: relative;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar>ul>li>a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 0;
  background: linear-gradient(90deg, #caa95c 0%, #34b7a7 100%);
  visibility: hidden;
  transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before,
.navbar li:hover>a:before,
.navbar .active:before {
  visibility: visible;
  width: 22px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #1d2434;
}

@media (max-width: 1200px) {
  .navbar li {
    padding-left: 16px;
  }

  .navbar a,
  .navbar a:focus {
    font-size: 12px;
    letter-spacing: 0.45px;
  }
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 4px;
}

.navbar .dropdown ul li {
  min-width: 200px;
  padding: 0;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 15px;
  text-transform: none;
  font-weight: 600;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #34b7a7;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #222222;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(9, 9, 9, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 10px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  font-size: 15px;
  padding-right: 15px;
  color: #222222;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #34b7a7;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #34b7a7;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: url("../img/hero-bg.jpg") top right;
  background-size: cover;
}

#hero .container {
  padding-top: 70px;
  position: relative;
}

@media (max-width: 992px) {
  #hero .container {
    padding-top: 58px;
  }
}

#hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: #222222;
}

#hero h2 {
  color: #6f6f6f;
  margin: 10px 0 0 0;
  font-size: 22px;
}

#hero .hero-subline {
  max-width: 760px;
  margin: 14px 0 0 0;
  color: #4f4f4f;
  font-size: 18px;
}

#hero .hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

#hero .role-targets {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

#hero .role-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #c9c9c9;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #2f2f2f;
}

.btn-about,
.btn-hero-secondary {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  transition: 0.3s;
}

.btn-about {
  color: #fff;
  background: #34b7a7;
}

.btn-about:hover {
  background: #3dc8b7;
  color: #fff;
}

.btn-hero-secondary {
  color: #2f2f2f;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #c9c9c9;
}

.btn-hero-secondary:hover {
  color: #1f1f1f;
  border-color: #34b7a7;
  box-shadow: 0 6px 20px rgba(52, 183, 167, 0.18);
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 992px) {
  #hero:before {
    content: "";
    background: rgba(255, 255, 255, 0.8);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
  }

  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
  }

  #hero .hero-subline {
    font-size: 16px;
    line-height: 24px;
    margin-top: 10px;
  }

  #hero .hero-actions {
    gap: 10px;
  }

  #hero .role-targets {
    gap: 8px;
  }

  #hero .role-pill {
    font-size: 11px;
    padding: 6px 12px;
  }
}

/*--------------------------------------------------------------
# At a Glance
--------------------------------------------------------------*/
.glance-card {
  background: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(34, 34, 34, 0.06);
}

.glance-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #1f1f1f;
}

.glance-card p {
  margin-bottom: 0;
  color: #565656;
}

.at-a-glance .availability-note {
  margin-top: 24px;
  text-align: center;
  font-weight: 600;
  color: #2f2f2f;
}

/*--------------------------------------------------------------
# Featured Case Studies + Hiring Manager Page
--------------------------------------------------------------*/
.featured-case-card {
  border-radius: 12px;
  overflow: hidden;
}

.featured-case-card .portfolio-info {
  min-height: 190px;
}

.featured-case-card.clickable-card {
  cursor: pointer;
}

.featured-case-card .portfolio-links {
  margin-top: 12px;
}

.featured-case-card .portfolio-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #f7fbff;
  border: 1px solid rgba(247, 251, 255, 0.55);
  background: rgba(18, 39, 70, 0.42);
  transition: all 0.25s ease;
}

.featured-case-card .portfolio-cta::after {
  content: "\2192";
  font-size: 15px;
  line-height: 1;
}

.featured-case-card .portfolio-cta:hover,
.featured-case-card .portfolio-cta:focus-visible {
  background: #ffffff;
  color: #152842;
  border-color: #ffffff;
}

.featured-case-card:focus-within {
  outline: 3px solid rgba(37, 94, 190, 0.35);
  outline-offset: 3px;
}

.hiring-manager-panel {
  background: #f9fffe;
  border: 1px solid #dcf5f2;
  border-radius: 12px;
  padding: 24px;
}

.hiring-manager-panel h3 {
  margin-bottom: 12px;
}

.hiring-manager-panel ul {
  margin-bottom: 18px;
}

.hiring-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.quick-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.quick-contact-links .btn-hero-secondary {
  padding: 10px 16px;
}

.hiring-fit .glance-card h3 {
  font-size: 20px;
}

.hiring-final-cta {
  padding-top: 10px;
}

/*--------------------------------------------------------------
# Case Study Pages
--------------------------------------------------------------*/
.case-study .case-image {
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.case-study .case-card {
  background: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(34, 34, 34, 0.06);
}

.case-study .case-card ul {
  margin: 0;
  padding-left: 18px;
}

.case-study .metric-tile {
  background: #f9fffe;
  border: 1px solid #dcf5f2;
  border-radius: 12px;
  padding: 20px;
  height: 100%;
}

.case-study .metric-tile h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.case-study .metric-tile p {
  margin-bottom: 0;
  color: #565656;
}

.case-study .case-section h3 {
  margin-top: 20px;
  font-size: 22px;
}

.case-study .case-cta {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
}

.section-bg {
  background-color: #e7f8f6;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #34b7a7;
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../img/bg-1.jpg") fixed center center;
  background-size: cover;
  padding: 80px 0;
}

.cta h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.cta p {
  color: #fff;
}

.cta .cta-btn {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 2px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid #fff;
  color: #fff;
}

.cta .cta-btn:hover {
  background: #34b7a7;
  border: 2px solid #34b7a7;
}

@media (max-width: 1024px) {
  .cta {
    background-attachment: scroll;
  }
}

@media (min-width: 769px) {
  .cta .cta-btn-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: #555555;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
}

.about .content ul i {
  font-size: 20px;
  padding-right: 2px;
  color: #34b7a7;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  padding: 10px 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #222222;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: #f3f3f3;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: #34b7a7;
}

/*--------------------------------------------------------------
# Facts
--------------------------------------------------------------*/
.facts .counters span {
  font-size: 48px;
  display: block;
  color: #34b7a7;
}

.facts .counters p {
  padding: 0;
  margin: 0 0 20px 0;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 120px;
  border-radius: 50%;
  border: 4px solid #fff;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #c8efea;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

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

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #34b7a7;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #34b7a7;
}

/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume .resume-title {
  font-size: 26px;
  font-weight: 400;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #222222;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid #34b7a7;
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #1d685f;
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  background: #effbf9;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
  color: #34b7a7;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #fff;
  border: 2px solid #34b7a7;
}

.resume .resume-cta-panel {
  background: #f9fffe;
  border: 1px solid #dcf5f2;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 24px;
  text-align: center;
}

.resume .btn-resume-primary,
.resume .btn-resume-secondary {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 11px 22px;
  border-radius: 50px;
  transition: 0.3s;
  margin: 6px;
}

.resume .btn-resume-primary {
  color: #fff;
  background: #34b7a7;
}

.resume .btn-resume-primary:hover {
  color: #fff;
  background: #3dc8b7;
}

.resume .btn-resume-secondary {
  color: #2f2f2f;
  background: #fff;
  border: 1px solid #c9c9c9;
}

.resume .btn-resume-secondary:hover {
  border-color: #34b7a7;
  color: #1f1f1f;
}

.resume .resume-cta-note {
  margin: 10px 0 0 0;
  font-size: 14px;
  color: #565656;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  text-align: center;
  padding: 70px 20px 80px 20px;
  transition: all ease-in-out 0.3s;
  background: #fff;
  box-shadow: 0px 0 35px 0 rgba(0, 0, 0, 0.08);
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
  position: relative;
}

.services .icon-box .icon i {
  font-size: 36px;
  transition: 0.5s;
  position: relative;
}

.services .icon-box .icon svg {
  position: absolute;
  top: 0;
  left: 0;
}

.services .icon-box .icon svg path {
  transition: 0.5s;
  fill: #f5f5f5;
}

.services .icon-box h4 {
  font-weight: 600;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.services .icon-box h4 a {
  color: #222222;
  transition: ease-in-out 0.3s;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .iconbox-blue i {
  color: #47aeff;
}

.services .iconbox-blue:hover .icon i {
  color: #fff;
}

.services .iconbox-blue:hover .icon path {
  fill: #47aeff;
}

.services .iconbox-orange i {
  color: #ffa76e;
}

.services .iconbox-orange:hover .icon i {
  color: #fff;
}

.services .iconbox-orange:hover .icon path {
  fill: #ffa76e;
}

.services .iconbox-pink i {
  color: #e80368;
}

.services .iconbox-pink:hover .icon i {
  color: #fff;
}

.services .iconbox-pink:hover .icon path {
  fill: #e80368;
}

.services .iconbox-yellow i {
  color: #ffbb2c;
}

.services .iconbox-yellow:hover .icon i {
  color: #fff;
}

.services .iconbox-yellow:hover .icon path {
  fill: #ffbb2c;
}

.services .iconbox-red i {
  color: #ff5828;
}

.services .iconbox-red:hover .icon i {
  color: #fff;
}

.services .iconbox-red:hover .icon path {
  fill: #ff5828;
}

.services .iconbox-teal i {
  color: #11dbcf;
}

.services .iconbox-teal:hover .icon i {
  color: #fff;
}

.services .iconbox-teal:hover .icon path {
  fill: #11dbcf;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 16px 10px 16px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  color: #444444;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  border-radius: 50px;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #fff;
  background: #34b7a7;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(34, 34, 34, 0.6);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(34, 34, 34, 0.6);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap img {
  transition: all ease-in-out 0.3s;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  text-transform: none;
  padding: 0;
  margin: 0;
  font-style: normal;
  line-height: 1.45;
}

.portfolio .portfolio-wrap .portfolio-status-badge {
  display: inline-flex;
  align-items: center;
  margin: 8px 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f8f0d8;
  border: 1px solid rgba(248, 240, 216, 0.45);
  background: rgba(248, 240, 216, 0.1);
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: left;
  z-index: 4;
  margin-top: 14px;
}

.portfolio .portfolio-wrap .portfolio-links .portfolio-cta {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
}

.portfolio .portfolio-wrap .portfolio-links .portfolio-cta::after {
  content: "\2192";
  font-size: 15px;
  line-height: 1;
}

.portfolio .portfolio-wrap .portfolio-links .portfolio-cta:hover,
.portfolio .portfolio-wrap .portfolio-links .portfolio-cta:focus-visible {
  color: #1b2b45;
  border-color: #ffffff;
  background: #ffffff;
}

.portfolio .portfolio-wrap.clickable-card {
  cursor: pointer;
}

.portfolio .portfolio-wrap:hover::before,
.portfolio .portfolio-wrap:focus-within::before {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover img,
.portfolio .portfolio-wrap:focus-within img {
  transform: none;
}

.portfolio .portfolio-wrap:hover .portfolio-info,
.portfolio .portfolio-wrap:focus-within .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-wrap:focus-within {
  outline: 3px solid rgba(120, 217, 205, 0.55);
  outline-offset: 3px;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 0;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #34b7a7;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #34b7a7;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(34, 34, 34, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  width: 100%;
  background: #fff;
}

.contact .info i {
  font-size: 20px;
  color: #34b7a7;
  float: left;
  width: 44px;
  height: 44px;
  background: #effbf9;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #222222;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #555555;
}

.contact .info .email,
.contact .info .phone {
  margin-top: 40px;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
  background: #34b7a7;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  background: #fff;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

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

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

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

.contact .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;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #34b7a7;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type=submit] {
  background: #34b7a7;
  border: 0;
  padding: 10px 30px 12px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #3dc8b7;
}

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

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

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #e9e8e6;
  padding: 30px 0;
  color: #222222;
  font-size: 14px;
  text-align: center;
}

#footer .credits {
  padding-top: 5px;
  font-size: 13px;
}

#footer .credits a {
  color: #34b7a7;
}

/*--------------------------------------------------------------
# Services Visual Cards
--------------------------------------------------------------*/
.services-visuals {
  padding-top: 110px;
  background: linear-gradient(180deg, #fbfffe 0%, #ffffff 100%);
}

.service-visual-card {
  background: #fff;
  border: 1px solid #dfeceb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-visual-card::before {
  content: "";
  display: block;
  height: 4px;
}

.service-visual-card.strategy::before,
.service-visual-card.build::before,
.service-visual-card.adoption::before {
  background: var(--qt-primary);
}

.service-visual-card img {
  width: calc(100% - 24px);
  margin: 12px;
  border-radius: 10px;
  border: 1px solid #ebebeb;
  height: 168px;
  object-fit: cover;
  display: block;
}

.service-visual-card h3 {
  font-size: 18px;
  margin: 2px 16px 8px;
  color: #222;
}

.service-visual-card p {
  margin: 0 16px 18px;
  color: #4f4f4f;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .service-visual-card img {
    height: 150px;
  }
}

/* --------------------------------------------------------------
# Quant/Tech Minimal + Editorial Polish Override (2026 refresh)
-------------------------------------------------------------- */
:root {
  --qt-bg: #f4f7fb;
  --qt-surface: #ffffff;
  --qt-ink: #121923;
  --qt-muted: #596579;
  --qt-line: #dbe3ee;
  --qt-primary: #1f6feb;
  --qt-primary-soft: #e9f1ff;
  --qt-editorial: #b08a4b;
  --qt-editorial-soft: #f6efe2;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--qt-ink);
  background: radial-gradient(circle at 12% -3%, #f9fbff 0%, var(--qt-bg) 44%, #edf2f9 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DM Sans", sans-serif;
  letter-spacing: -0.02em;
}

#header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--qt-line);
  box-shadow: 0 10px 30px rgba(14, 28, 48, 0.08);
  backdrop-filter: blur(10px);
}

#header .brand-mark {
  color: #fff;
  background: linear-gradient(140deg, #0f2246 12%, #1f6feb 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 22px rgba(23, 52, 98, 0.35);
}

#header .brand-title {
  color: #0f1d33;
}

#header .brand-subtitle {
  color: #7d8798;
}

.navbar a,
.navbar a:focus {
  color: #4c576a;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.navbar>ul>li>a:before {
  background: var(--qt-primary);
  height: 2px;
  bottom: -8px;
}

#hero {
  min-height: 100vh;
  background:
    linear-gradient(112deg, rgba(245, 249, 255, 0.95) 10%, rgba(235, 242, 252, 0.82) 45%, rgba(244, 236, 223, 0.62) 100%),
    url("../img/hero-bg.jpg") center right/cover no-repeat;
}

#hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.04;
  color: #0f1828;
  margin-bottom: 8px;
}

#hero h2 {
  margin-top: 6px;
  color: #2f3f58;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
}

#hero .hero-subline {
  color: #4a5a70;
  font-size: clamp(1rem, 1.6vw, 1.17rem);
  max-width: 820px;
}

#hero .hero-scope-note {
  margin-top: 10px;
  margin-bottom: 0;
  color: #3e4f66;
  font-size: 0.95rem;
  max-width: 760px;
}

#hero .role-pill {
  border-radius: 8px;
  border: 1px solid var(--qt-line);
  background: rgba(255, 255, 255, 0.92);
  color: #2d3a4f;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-metrics {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
  width: min(980px, 100%);
}

.hero-metric-card {
  text-align: left;
  border: 1px solid var(--qt-line);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.metric-value {
  display: block;
  font-weight: 800;
  color: #10203b;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.metric-label {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: #5c6980;
}

.btn-about,
.btn-hero-secondary {
  border-radius: 8px;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 700;
  padding: 12px 18px;
}

.btn-about {
  background: var(--qt-primary);
  border: 1px solid #1c66d6;
}

.btn-about:hover {
  background: #165dc7;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--qt-line);
  color: #22324b;
}

.btn-hero-secondary:hover {
  border-color: #adc4ee;
  box-shadow: 0 8px 22px rgba(31, 111, 235, 0.16);
}

section {
  padding: 74px 0;
}

.section-title h2 {
  text-transform: none;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-title h2::after {
  width: 84px;
  height: 2px;
  background: linear-gradient(90deg, var(--qt-primary) 0%, var(--qt-editorial) 100%);
  left: calc(50% - 42px);
}

.section-title p {
  color: #546177;
}

.glance-card,
.case-study .case-card,
.hiring-manager-panel {
  border: 1px solid var(--qt-line);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(16, 33, 62, 0.06);
  background: linear-gradient(170deg, #ffffff 0%, #fbfcff 100%);
}

.glance-card h3 {
  font-size: 1.18rem;
  color: #162339;
}

.featured-case-card {
  border: 1px solid var(--qt-line);
  box-shadow: 0 16px 38px rgba(16, 33, 62, 0.08);
}

.featured-case-card .portfolio-info {
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.95) 0%, rgba(241, 236, 227, 0.7) 100%);
}

.featured-case-card .portfolio-info h4 {
  font-family: "Instrument Serif", serif;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
}

.at-a-glance .availability-note {
  font-weight: 700;
  color: #24324a;
  background: var(--qt-editorial-soft);
  border: 1px solid #e4d6be;
  border-radius: 8px;
  display: inline-block;
  padding: 8px 14px;
}

@media (max-width: 992px) {
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  #hero .hero-actions {
    justify-content: center;
  }
}

/* --------------------------------------------------------------
# Brand refresh + color consistency pass (2026-02)
-------------------------------------------------------------- */
:root {
  --qt-primary-strong: #165dc7;
  --qt-soft: #eef3fb;
}

#header .brand-mark {
  border-radius: 10px;
  background: #0f1b2d;
  color: #f4f8ff;
  border: 1px solid #c7d3e6;
  box-shadow: 0 4px 12px rgba(15, 27, 45, 0.18);
}

a,
#footer .credits a,
.header-social-links a:hover,
.about .content ul i,
.facts .counters span,
.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: var(--qt-primary);
}

a:hover {
  color: var(--qt-primary-strong);
}

.back-to-top {
  background: var(--qt-primary);
  border-radius: 10px;
}

.back-to-top:hover {
  background: var(--qt-primary-strong);
}

#footer {
  background: #f0f4fa;
  border-top: 1px solid var(--qt-line);
  color: #2b3442;
}

.resume .resume-item {
  border-left-color: var(--qt-primary);
}

.resume .resume-item::before {
  border-color: var(--qt-primary);
}

.resume .resume-item h4 {
  color: #1f3350;
}

.resume .resume-item h5 {
  background: var(--qt-primary-soft);
  color: var(--qt-primary);
}

.resume .btn-resume-primary {
  background: var(--qt-primary);
  border: 1px solid #1c66d6;
  border-radius: 8px;
}

.resume .btn-resume-primary:hover {
  background: var(--qt-primary-strong);
}

.resume .btn-resume-secondary {
  border-radius: 8px;
  border: 1px solid var(--qt-line);
  color: #22324b;
}

.resume .btn-resume-secondary:hover {
  border-color: #adc4ee;
}

.contact .info i {
  color: var(--qt-primary);
  background: var(--qt-primary-soft);
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
  background: var(--qt-primary);
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--qt-primary);
}

.contact .php-email-form button[type=submit] {
  background: var(--qt-primary);
  border-radius: 8px;
}

.contact .php-email-form button[type=submit]:hover {
  background: var(--qt-primary-strong);
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  background: var(--qt-primary);
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet,
.testimonials .swiper-pagination .swiper-pagination-bullet {
  border-color: var(--qt-primary);
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active,
.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--qt-primary);
}

.services .icon-box {
  border: 1px solid var(--qt-line);
  box-shadow: 0 14px 30px rgba(16, 33, 62, 0.06);
}

.services .icon-box .icon svg path {
  fill: #edf2fa;
}

.services .iconbox-blue i,
.services .iconbox-orange i,
.services .iconbox-pink i,
.services .iconbox-yellow i,
.services .iconbox-red i,
.services .iconbox-teal i {
  color: var(--qt-primary);
}

.services .iconbox-blue:hover .icon path,
.services .iconbox-orange:hover .icon path,
.services .iconbox-pink:hover .icon path,
.services .iconbox-yellow:hover .icon path,
.services .iconbox-red:hover .icon path,
.services .iconbox-teal:hover .icon path {
  fill: var(--qt-primary);
}

.services .iconbox-blue:hover .icon i,
.services .iconbox-orange:hover .icon i,
.services .iconbox-pink:hover .icon i,
.services .iconbox-yellow:hover .icon i,
.services .iconbox-red:hover .icon i,
.services .iconbox-teal:hover .icon i {
  color: #fff;
}

.services-visuals {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.service-visual-card {
  border: 1px solid var(--qt-line);
}

.service-visual-card.strategy::before {
  background: var(--qt-primary);
}

.service-visual-card.build::before {
  background: #4a7fd6;
}

.service-visual-card.adoption::before {
  background: var(--qt-editorial);
}

/* --------------------------------------------------------------
# Final services accent normalization (user feedback)
-------------------------------------------------------------- */
.section-title h2::after {
  background: var(--qt-primary);
}

.services .icon-box .icon i {
  color: var(--qt-primary) !important;
}

.services .icon-box .icon svg path {
  fill: var(--qt-primary-soft) !important;
}

.services .icon-box:hover .icon i {
  color: var(--qt-primary) !important;
}

.services .icon-box:hover .icon svg path {
  fill: #dce8fc !important;
}

.service-visual-card.strategy::before,
.service-visual-card.build::before,
.service-visual-card.adoption::before {
  background: var(--qt-primary) !important;
}

/* --------------------------------------------------------------
# Lean spacing pass (homepage + contact)
-------------------------------------------------------------- */
#hero .hero-subline {
  margin-top: 14px;
  line-height: 1.6;
  max-width: 720px;
}

#hero .hero-scope-note {
  margin-top: 8px;
  line-height: 1.55;
  max-width: 660px;
}

#hero .hero-actions {
  margin-top: 22px;
  gap: 10px;
}

.section-title {
  margin-bottom: 22px;
}

.section-title p {
  max-width: 760px;
  margin: 10px auto 0;
  line-height: 1.6;
}

#contact .row.mt-5 {
  margin-top: 2rem !important;
}

.contact .info {
  border: 1px solid var(--qt-line);
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 8px 20px rgba(16, 33, 62, 0.04);
}

.contact .info .email,
.contact .info .phone {
  margin-top: 22px;
}

.quick-contact-links {
  margin: 14px 0 18px;
  gap: 8px;
}

.quick-contact-links .btn-hero-secondary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.contact .contact-form {
  margin-top: 4px;
}

.contact .contact-form .form-group {
  margin-bottom: 6px;
}

.contact .contact-form button[type=submit] {
  min-height: 44px;
  border-radius: 8px;
  padding: 10px 26px;
}

@media (max-width: 992px) {
  #hero .hero-actions {
    margin-top: 18px;
    width: 100%;
  }

  #hero .hero-actions a {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    margin-bottom: 18px;
  }

  .contact .info {
    padding: 16px 14px;
  }
}

/* --------------------------------------------------------------
# Conversion + trust polish (designer pass)
-------------------------------------------------------------- */
.hero-actions .btn-about {
  min-width: 220px;
}

.hero-actions .btn-hero-secondary {
  min-width: 190px;
}

.hero-tertiary-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 2px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2a4f88;
}

.hero-tertiary-link:hover {
  color: var(--qt-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-trust-strip {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.hero-trust-strip span {
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid var(--qt-line);
  background: #fff;
  border-radius: 999px;
  color: #33445d;
}

.featured-case-card .portfolio-info h4 {
  margin-bottom: 6px;
}

.featured-case-card .portfolio-info p {
  font-size: 13px;
  line-height: 1.5;
}

.contact-helper {
  font-size: 14px;
  color: #4f5d73;
  margin: 0 0 10px;
}

/* Keep legacy + current class names styled consistently */
.contact .contact-form input,
.contact .contact-form textarea,
.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 8px;
  font-size: 14px;
  border: 1px solid var(--qt-line);
}

.contact .contact-form input:focus,
.contact .contact-form textarea:focus,
.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--qt-primary);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.12);
}

@media (max-width: 992px) {
  .hero-trust-strip {
    justify-content: center;
    gap: 6px;
  }

  .hero-trust-strip span {
    font-size: 11px;
  }
}

/* --------------------------------------------------------------
# Pass 1: Hero hierarchy + CTA consistency
-------------------------------------------------------------- */
#hero .hero-eyebrow {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #cfe0fb;
  background: rgba(255, 255, 255, 0.72);
  color: #20406f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#hero .hero-actions {
  align-items: center;
}

.btn-about,
.btn-hero-secondary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  line-height: 1;
}

.btn-about {
  box-shadow: 0 10px 22px rgba(22, 93, 199, 0.22);
}

.btn-about:hover,
.btn-hero-secondary:hover {
  transform: translateY(-1px);
}

.btn-about:focus-visible,
.btn-hero-secondary:focus-visible,
.hero-tertiary-link:focus-visible {
  outline: 3px solid rgba(31, 111, 235, 0.35);
  outline-offset: 2px;
}

#hero .hero-microproof {
  margin: 10px 0 0;
  max-width: 760px;
  color: #3f4f67;
  font-size: 13px;
  line-height: 1.5;
}

/* --------------------------------------------------------------
# Pass 2: Button system cleanup (global consistency)
-------------------------------------------------------------- */
.btn-about,
.btn-hero-secondary,
.resume .btn-resume-primary,
.resume .btn-resume-secondary,
.contact .contact-form button[type=submit],
.contact .php-email-form button[type=submit] {
  border-radius: 10px;
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0.04em;
  font-size: 12px;
  font-weight: 700;
}

.btn-hero-secondary {
  background: #ffffff;
}

.btn-hero-secondary:hover {
  color: #1a2f4d;
  background: #f7faff;
}

.hero-actions .hero-tertiary-link {
  min-height: 44px;
  padding: 10px 8px;
}

/* --------------------------------------------------------------
# Pass 3: Responsive hero CTA polish
-------------------------------------------------------------- */
@media (max-width: 992px) {
  #hero .container {
    padding-top: 64px;
  }

  #hero .hero-eyebrow {
    margin-bottom: 8px;
    font-size: 10px;
  }

  #hero .hero-actions {
    gap: 8px;
  }

  #hero .hero-actions .btn-about,
  #hero .hero-actions .btn-hero-secondary {
    width: 100%;
  }

  #hero .hero-actions .hero-tertiary-link {
    width: auto;
    min-height: 36px;
    margin-top: 2px;
  }

  #hero .hero-microproof {
    font-size: 12px;
    padding: 0 6px;
  }

  .hero-trust-strip {
    margin-top: 10px;
  }
}

/* --------------------------------------------------------------
# Pass 4: Cross-page CTA hierarchy alignment
-------------------------------------------------------------- */
.hiring-actions,
.quick-contact-links,
.resume .resume-cta-panel {
  --cta-gap: 10px;
}

.hiring-actions,
.quick-contact-links {
  gap: var(--cta-gap);
}

.hiring-actions .btn-about,
.quick-contact-links .btn-about,
.hiring-actions .btn-hero-secondary,
.quick-contact-links .btn-hero-secondary,
.resume .btn-resume-primary,
.resume .btn-resume-secondary {
  min-height: 44px;
  padding: 11px 18px;
}

.quick-contact-links .btn-about,
.hiring-actions .btn-about {
  min-width: 170px;
}

.hiring-actions .btn-hero-secondary,
.quick-contact-links .btn-hero-secondary {
  border-color: #c7d5ea;
}

.featured-case-card .portfolio-cta,
.portfolio .portfolio-wrap .portfolio-links .portfolio-cta {
  min-height: 40px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------
# Pass 5: Hero rhythm + breakpoint readability tuning
-------------------------------------------------------------- */
#hero h1 {
  margin-bottom: 8px;
}

#hero h2 {
  margin-bottom: 10px;
}

#hero .hero-subline {
  margin-bottom: 8px;
}

#hero .hero-scope-note {
  margin-bottom: 4px;
}

#hero .hero-actions {
  margin-top: 14px;
}

@media (max-width: 1200px) {
  #hero .container {
    max-width: 880px;
  }
}

@media (max-width: 768px) {
  .hiring-actions .btn-about,
  .quick-contact-links .btn-about,
  .hiring-actions .btn-hero-secondary,
  .quick-contact-links .btn-hero-secondary,
  .resume .btn-resume-primary,
  .resume .btn-resume-secondary {
    width: 100%;
  }

  .hiring-actions,
  .quick-contact-links {
    width: 100%;
  }

  #hero .hero-actions {
    margin-top: 12px;
  }
}

/* --------------------------------------------------------------
# Hero Variant B: below-fold continuation cues
-------------------------------------------------------------- */
#hero {
  min-height: clamp(88vh, 90vh, 92vh);
  position: relative;
}

#hero .hero-continuation-teaser {
  margin: 8px 0 0;
  max-width: 720px;
  color: #3d4f69;
  font-size: 13px;
  line-height: 1.5;
}

#hero .hero-scroll-affordance {
  margin-top: 14px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #2e4f7e;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 700;
  text-transform: uppercase;
}

#hero .hero-scroll-arrow {
  font-size: 18px;
  line-height: 1;
}

#hero .hero-scroll-affordance:hover {
  color: #1f3f6b;
}

#hero .hero-scroll-affordance:focus-visible {
  outline: 3px solid rgba(31, 111, 235, 0.35);
  outline-offset: 4px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: no-preference) {
  #hero .hero-scroll-arrow {
    animation: heroScrollCue 1.7s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  #hero .hero-scroll-arrow {
    animation: none;
  }
}

@keyframes heroScrollCue {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.9;
  }

  50% {
    transform: translateY(4px);
    opacity: 1;
  }
}

@media (max-width: 992px) {
  #hero {
    min-height: clamp(88vh, 89vh, 91vh);
  }

  #hero .hero-continuation-teaser {
    font-size: 12px;
    padding: 0 4px;
  }
}
