html {
  overflow-x: hidden
}

body {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%
}

.btn,
.carousel-arrow,
.case-study-link,
.portfolio-link,
a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent
}

.carousel-scroll-wrapper,
.case-studies-wrapper {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none
}

.carousel-scroll-wrapper::-webkit-scrollbar,
.case-studies-wrapper::-webkit-scrollbar {
  display: none
}

.skip-link {
  background: #06f;
  color: #fff;
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 0 0 8px 8px
}

.skip-link:focus {
  top: 0;
  outline: 3px solid #0052cc;
  outline-offset: 2px
}

@media screen and (max-width:1199px) {
  #desktop-nav {
    display: none
  }

  #hamburger-nav {
    display: flex
  }
}

@media screen and (max-width:479px) {
  section {
    margin: 0 .75rem;
    padding: 2rem .75rem;
    height: auto !important;
    min-height: auto !important;
    position: relative;
    background: var(--bg-white);
    overflow: visible
  }

  .title {
    font-size: 1.75rem;
    line-height: 1.2
  }

  .section__text__p2 {
    font-size: 1rem
  }

  .logo {
    font-size: 1.25rem
  }

  #profile {
    height: auto;
    min-height: 70vh;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem .5rem
  }

  .section__pic-container {
    width: 200px;
    height: 200px;
    margin: 0 auto
  }

  .section__pic-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%
  }

  .metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
  }

  .metric .num {
    font-size: 1.5rem;
    word-break: break-word
  }

  .metric .label {
    font-size: .7rem
  }

  .partners {
    flex-wrap: wrap;
    gap: 1rem
  }

  .partner-icon {
    font-size: 1.5rem
  }

  #about {
    height: auto !important;
    min-height: auto !important;
    padding-bottom: 3rem;
    background: var(--bg-white);
    position: relative;
    z-index: 1
  }

  #about .section-container {
    height: auto
  }

  #about .text-container {
    padding-bottom: 1rem
  }

  #services {
    position: relative;
    z-index: 2;
    background: var(--bg-white);
    padding-top: 3rem;
    margin-top: 0
  }

  #services .section__text__p1,
  #services .title {
    background: var(--bg-white);
    position: relative;
    z-index: 3
  }

  #services .section__text {
    background: var(--bg-white);
    padding: 1rem 0;
    margin-bottom: 1rem
  }

  .services-container {
    margin-top: 1rem
  }

  .carousel-container {
    overflow: hidden;
    margin: 0 -.75rem;
    padding: 0 .75rem
  }

  #experience {
    overflow-x: hidden;
    padding: 2rem 1rem;
    margin: 0
  }

  .experience-details-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-x: hidden;
    width: 100%
  }

  .details-container {
    width: 100%;
    flex: none;
    min-width: 0;
    box-sizing: border-box;
    padding: 1.25rem
  }

  .about-containers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-x: hidden
  }

  .article-container {
    grid-template-columns: 1fr;
    gap: .75rem
  }

  article {
    padding: .75rem
  }

  .experience-sub-title {
    font-size: 1.25rem
  }

  .card-3-per-view,
  .case-study-card {
    flex: 0 0 100%
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.5rem
  }

  .carousel-arrow.prev {
    left: 5px
  }

  .carousel-arrow.next {
    right: 5px
  }

  .modal-content {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    margin: 0;
    border-radius: 0;
    padding: 1rem;
    overflow-y: auto
  }

  .close-modal {
    width: 44px;
    height: 44px;
    font-size: 32px;
    top: 5px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem
  }

  .contact-form {
    padding: 1.25rem;
    order: 1
  }

  .booking-card {
    order: 2;
    padding: 1.5rem;
    min-height: auto
  }

  .form-group input,
  .form-group textarea {
    padding: .875rem 1rem;
    font-size: 16px
  }

  .btn-primary,
  .contact-form .btn-primary {
    width: 100%;
    padding: .875rem 1rem;
    font-size: 1rem
  }

  .booking-card .cta-btn {
    width: 100%;
    max-width: none;
    justify-content: center;
    padding: .875rem 1.5rem
  }

  .text-container {
    padding: 0 .5rem
  }

  .case-study-stats {
    flex-direction: column;
    gap: .75rem
  }

  .case-stat-number {
    font-size: 1.25rem
  }

  .testimonial-card {
    padding: 1rem
  }

  .quote-icon {
    font-size: 1.5rem
  }

  footer nav {
    height: auto;
    margin-bottom: 1rem
  }

  footer .nav-links {
    flex-direction: column;
    gap: .5rem;
    text-align: center
  }
}

@media screen and (max-width:639px) and (min-width:480px) {
  section {
    margin: 0 1rem;
    padding: 2rem 1rem;
    height: auto !important;
    min-height: auto !important;
    position: relative;
    background: var(--bg-white);
    overflow: visible
  }

  #about {
    padding-bottom: 3rem
  }

  #about .section-container {
    height: auto
  }

  #services {
    position: relative;
    z-index: 2;
    padding-top: 3rem
  }

  .title {
    font-size: 2rem
  }

  .section__text__p2 {
    font-size: 1.15rem
  }

  .logo {
    font-size: 1.5rem
  }

  #profile {
    height: auto;
    min-height: 75vh;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem
  }

  .section__pic-container {
    width: 250px;
    height: 250px;
    margin: 0 auto
  }

  .section__pic-container img {
    width: 100%;
    height: 100%;
    object-fit: cover
  }

  .metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem
  }

  .metric .num {
    font-size: 1.75rem
  }

  .metric .label {
    font-size: .8rem
  }

  .partners {
    flex-wrap: wrap;
    gap: 1.25rem
  }

  #services .section__text {
    background: var(--bg-white);
    padding: 1rem 0;
    margin-bottom: 1rem
  }

  .carousel-container {
    overflow: hidden
  }

  #experience {
    overflow-x: hidden
  }

  .experience-details-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%
  }

  .details-container {
    width: 100%;
    flex: none
  }

  .about-containers {
    flex-direction: column;
    gap: 1rem
  }

  .card-3-per-view,
  .case-study-card {
    flex: 0 0 100%
  }

  .carousel-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.75rem
  }

  .carousel-arrow.prev {
    left: 8px
  }

  .carousel-arrow.next {
    right: 8px
  }

  .modal-content {
    width: 95%;
    max-height: 90vh;
    margin: 5vh auto;
    padding: 1.5rem;
    overflow-y: auto
  }

  .close-modal {
    width: 48px;
    height: 48px;
    font-size: 36px;
    top: 8px;
    right: 15px
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem
  }

  .contact-form {
    padding: 1.5rem;
    order: 1
  }

  .booking-card {
    order: 2;
    padding: 1.75rem
  }

  .form-group input,
  .form-group textarea {
    padding: 1rem;
    font-size: 16px
  }

  .btn-primary,
  .contact-form .btn-primary {
    width: 100%;
    padding: 1rem
  }

  .booking-card .cta-btn {
    width: 100%;
    max-width: none;
    justify-content: center
  }

  .text-container {
    padding: 0 .75rem
  }

  .case-study-stats {
    flex-direction: column;
    gap: 1rem
  }

  .case-stat-number {
    font-size: 1.5rem
  }

  footer nav {
    height: auto;
    margin-bottom: 1.5rem
  }

  footer .nav-links {
    flex-direction: column;
    gap: .5rem
  }
}

@media screen and (max-width:767px) and (min-width:640px) {
  section {
    margin: 0 2rem;
    padding: 3rem 1.5rem
  }

  .title {
    font-size: 2.25rem
  }

  .section__text__p2 {
    font-size: 1.25rem
  }

  #profile {
    height: auto;
    min-height: 80vh;
    flex-direction: column;
    gap: 2.5rem
  }

  .section__pic-container {
    width: 280px;
    height: 280px
  }

  .metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem
  }

  .metric {
    flex: 0 0 auto;
    min-width: 120px
  }

  .metric .num {
    font-size: 2rem
  }

  .card-3-per-view {
    flex: 0 0 calc(50% - 0.25rem)
  }

  .case-study-card {
    flex: 0 0 100%
  }

  .carousel-arrow {
    width: 48px;
    height: 48px;
    font-size: 2rem
  }

  .carousel-arrow.prev {
    left: 10px
  }

  .carousel-arrow.next {
    right: 10px
  }

  .modal-content {
    width: 90%;
    max-height: 85vh;
    overflow-y: auto
  }

  .close-modal {
    width: 48px;
    height: 48px;
    font-size: 36px
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem
  }

  .contact-form {
    order: 1
  }

  .booking-card {
    order: 2
  }

  .form-group input,
  .form-group textarea {
    padding: 1rem;
    font-size: 16px
  }

  .booking-card .cta-btn {
    width: auto;
    max-width: 280px
  }
}

@media screen and (max-width:1023px) and (min-width:768px) {
  #desktop-nav {
    display: none
  }

  #hamburger-nav {
    display: flex
  }

  section {
    margin: 0 3rem;
    padding: 4rem 2rem
  }

  .title {
    font-size: 2.5rem
  }

  #profile {
    flex-direction: row;
    gap: 3rem
  }

  .section__pic-container {
    width: 300px;
    height: 300px
  }

  .metrics {
    display: flex;
    justify-content: space-around;
    gap: 1.5rem
  }

  .metric .num {
    font-size: 2.25rem
  }

  .card-3-per-view {
    flex: 0 0 calc(50% - 0.25rem)
  }

  .case-study-card {
    flex: 0 0 calc(50% - 0.75rem)
  }

  .carousel-arrow {
    width: 48px;
    height: 48px
  }

  .carousel-arrow.prev {
    left: 15px
  }

  .carousel-arrow.next {
    right: 15px
  }

  .modal-content {
    width: 85%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto
  }

  .close-modal {
    width: 48px;
    height: 48px;
    font-size: 32px
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem
  }

  #experience,
  .experience-details-container {
    margin-top: 2rem
  }

  .about-containers {
    flex-wrap: wrap
  }
}

@media screen and (max-width:1199px) and (min-width:1024px) {
  #desktop-nav {
    display: none
  }

  #hamburger-nav {
    display: flex
  }

  section {
    margin: 0 5rem
  }

  .card-3-per-view {
    flex: 0 0 calc(33.333% - 0.333rem)
  }

  .case-study-card {
    flex: 0 0 calc(50% - 0.75rem)
  }

  .carousel-arrow.prev {
    left: 20px
  }

  .carousel-arrow.next {
    right: 20px
  }

  #experience,
  .experience-details-container {
    margin-top: 2rem
  }

  .about-containers {
    flex-wrap: wrap;
    margin-top: 0
  }
}

@media screen and (max-width:1399px) and (min-width:1200px) {
  #desktop-nav {
    display: flex
  }

  #hamburger-nav {
    display: none
  }

  #profile {
    height: 83vh;
    margin-bottom: 6rem
  }

  .card-3-per-view {
    flex: 0 0 calc(33.333% - 0.333rem)
  }

  .case-study-card {
    flex: 0 0 calc(50% - 0.75rem)
  }

  .carousel-arrow.prev {
    left: 20px
  }

  .carousel-arrow.next {
    right: 20px
  }

  .about-containers {
    flex-wrap: wrap
  }

  .stats-container {
    gap: 2rem
  }
}

@media screen and (min-width:1400px) {
  .carousel-arrow.prev {
    left: 20px
  }

  .carousel-arrow.next {
    right: 20px
  }

  .card-3-per-view {
    flex: 0 0 calc(33.333% - 0.333rem)
  }

  .case-study-card {
    flex: 0 0 calc(50% - 0.75rem)
  }
}

@media screen and (max-width:1199px) {
  #desktop-nav {
    display: none
  }

  #hamburger-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    height: 70px
  }

  .menu-links {
    min-width: 200px
  }

  .menu-links a {
    padding: 12px 20px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center
  }

  .menu-links.open {
    max-height: 500px;
    overflow-y: auto
  }

  .hamburger-icon {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px
  }

  .hamburger-icon span {
    width: 24px;
    height: 2px
  }
}

@media screen and (max-width:1023px) {

  .about-pic,
  .modal-img,
  .portfolio-img,
  .project-img,
  .section__pic-container img {
    max-width: 100%;
    height: auto
  }

  picture {
    display: block;
    width: 100%
  }

  picture img {
    width: 100%;
    height: auto;
    max-width: 100%
  }

  .modal-content .modal-img,
  .modal-content picture img {
    max-height: 150px;
    width: auto;
    max-width: 100%
  }

  .arrow {
    display: none
  }

  #case-studies,
  #contact,
  #portfolio,
  #projects,
  #services,
  #testimonials {
    height: fit-content;
    min-height: auto
  }

  #profile,
  .section-container {
    display: flex;
    flex-direction: column
  }
}

@media screen and (max-width:359px) {
  section {
    margin: 0 .5rem;
    padding: 1.5rem .5rem
  }

  .title {
    font-size: 1.5rem
  }

  .section__pic-container {
    width: 180px;
    height: 180px
  }

  .metrics {
    grid-template-columns: 1fr;
    gap: 1rem
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.25rem
  }

  .carousel-arrow.prev {
    left: 2px
  }

  .carousel-arrow.next {
    right: 2px
  }
}

@media screen and (max-width:600px) {
  .corner-cta {
    padding: .5rem .75rem;
    font-size: .8rem
  }

  .corner-cta span {
    display: none
  }
}

@media screen and (max-width:600px) {
  #socials-container {
    gap: .75rem
  }

  .social-icon {
    font-size: 1.5rem
  }

  .icon {
    height: 1.75rem
  }
}

@media screen and (max-width:600px) {
  footer {
    padding: 1.5rem 1rem
  }

  footer p {
    font-size: .875rem
  }
}

@media print {

  #hamburger-nav,
  .carousel-arrow,
  .corner-cta,
  .hamburger-menu {
    display: none !important
  }
}