/* ------------------------------------------------------------------------------
   CSS Variables
------------------------------------------------------------------------------ */
:root {
  --color-primary: #34435a;
  --color-primary-hover: #4a5a7a;
  --color-text: #555;
  --color-heading: #111;
  --color-link: #777;
  --shadow-hover: 0 0.5em 0.5em -0.4em rgba(107, 124, 154, 0.8);
  --transition-smooth: all 0.25s ease;
}

/* ------------------------------------------------------------------------------
   Reset & Base Styles
------------------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
}

body {
  font-family: "inter", Verdana, sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: #555;
}

body.no-scroll,
body.menu-open {
  overflow: hidden;
}

a {
  font-weight: 400;
  color: #777;
  text-decoration: none;
}

ul,
ol {
  margin: 0 0 10px 0;
  padding: 0;
  list-style: none;
}

ul ul,
ol ul,
ul ol,
ol ol {
  margin-top: 5px;
  margin-bottom: 0;
}

ul li,
ol li {
  margin-bottom: 5px;
  outline: 0;
}

ul li:last-child,
ol li:last-child {
  margin-bottom: 0;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  outline: 0;
}

figure {
  margin: 0;
}

img {
  display: inline-block;
  border: 0;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

::selection {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  text-shadow: none;
}

::-moz-selection {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  text-shadow: none;
}

/* ------------------------------------------------------------------------------
   Custom Scrollbar
------------------------------------------------------------------------------ */
body::-webkit-scrollbar,
textarea::-webkit-scrollbar {
  width: 14px;
}

body::-webkit-scrollbar-track,
textarea::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb,
textarea::-webkit-scrollbar-thumb {
  background-color: #34435a;
  border-radius: 10px;
  border: 3px solid #fff;
  transition: background-color 0.3s ease;
}

body::-webkit-scrollbar-thumb:hover,
textarea::-webkit-scrollbar-thumb:hover {
  background-color: #4a5a7a;
}

/* ------------------------------------------------------------------------------
   Typography
------------------------------------------------------------------------------ */
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  line-height: 1.2;
  color: #111;
}

h1,
h2,
h3 {
  margin: 0 0 25px;
}

h1,
.h1 {
  font-size: 2.5em;
  line-height: 1.4;
}

h2,
.h2 {
  font-size: 1.5em;
  line-height: 1.4;
}

h3,
.h3 {
  font-size: 1.4em;
  line-height: 1.4;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  font-weight: inherit;
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 20px 0;
  line-height: 2;
}

p:empty {
  display: none;
}

h2.section-subtitle {
  font-family: "Cormorant SC", Georgia, serif;
  font-size: 1.6em;
  font-weight: 400;
  line-height: 1;
}

h2.section-subtitle.liner {
  position: relative;
  padding-left: 30px;
}

h2.section-subtitle.liner:before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 22px;
  border-bottom: 3px solid #34435a;
}

h3.section-title {
  font-family: "Jost", Georgia, serif;
  font-size: 2.6em;
  font-weight: 600;
  line-height: 1.5;
  text-transform: none;
}

/* ------------------------------------------------------------------------------
   Utility Classes
------------------------------------------------------------------------------ */
.align-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  justify-content: center;
}

.container {
  max-width: 1421px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.inner-content {
  width: 100%;
  padding: 0 20px;
}

/* ------------------------------------------------------------------------------
   Button Styles
------------------------------------------------------------------------------ */
button {
  font-size: 1em;
  font-weight: 600;
  border: none;
  height: 65px;
  cursor: pointer;
  background: transparent;
}

.btn-wrap {
  margin-top: 70px;
}

.btn-wrap a {
  font-weight: 500;
  text-transform: uppercase;
}

.btn-wrap.banner-buttons {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.btn-wrap.banner-buttons .btn-accent {
  flex: 0 0 auto;
}

.btn-accent {
  background-color: #34435a;
  color: #fff;
  padding: 20px 30px;
  transition: all 0.25s ease;
  position: relative;
  height: 65px;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}

.btn-accent:focus {
  background-color: #34435a;
  color: #fff;
  box-shadow: none;
  transform: translateY(0);
}

@media (hover: hover) {
  .btn-accent:hover {
    background-color: #4a5a7a;
    transform: translateY(-0.25em);
  }
}

.btn-accent.btn-outline-cv {
  background-color: transparent;
  color: #34435a;
  border: 2px solid #34435a;
  padding: 18px 30px;
  transition: all 0.25s ease;
}

.btn-accent.btn-outline-cv:hover,
.btn-accent.btn-outline-cv:focus {
  background-color: #4a5a7a;
  color: #fff;
  border-color: #4a5a7a;
  box-shadow: 0 0.5em 0.5em -0.4em rgba(107, 124, 154, 0.8);
  transform: translateY(-0.25em);
}

.btn-accent.btn-outline-cv:active {
  transform: translateY(0);
}

.btn-hvr-effect {
  position: relative;
  margin: 0;
  padding: 0 22px;
  transition: all .2s ease;
}

.btn-hvr-effect:before {
  content: "";
  position: absolute;
  top: -10px;
  right: 5px;
  display: block;
  border-radius: 28px;
  background: rgb(243 197 34);
  width: 35px;
  height: 35px;
  transition: all .3s ease;
}

.btn-hvr-effect:hover:before {
  width: 100%;
}

.btn-hvr-effect span {
  position: relative;
  font-size: 18px;
}

.btn-hvr-effect:hover span,
.btn-hvr-effect:hover i.icon {
  color: #000;
}

.btn-hvr-effect i.icon {
  position: relative;
  top: 0;
  margin-left: 10px;
  fill: none;
  transform: translateX(-5px);
  transition: all .3s ease;
}

.btn-hvr-effect i.icon:active {
  transform: scale(0.96);
}

/* ------------------------------------------------------------------------------
   Image & Pattern Styles
------------------------------------------------------------------------------ */
img.single-image {
  width: 100%;
  height: 700px;
  object-fit: cover;
  border-radius: 15px;
}

.image-hvr-effect {
  display: flex;
  overflow: hidden;
  cursor: pointer;
}

.image-hvr-effect img {
  transform: scale(1);
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

.image-hvr-effect:hover img {
  transform: scale(1.2);
}

.hvr-grayscale:hover img {
  cursor: pointer;
}

.pattern-overlay {
  position: relative;
}

.pattern-overlay:before {
  content: "";
  position: absolute;
  left: -110px;
  top: 0;
  width: 424px;
  height: 500px;
}

/* ------------------------------------------------------------------------------
   Header & Navigation
------------------------------------------------------------------------------ */
header#header {
  padding: 30px 65px;
  background-color: #fff;
}

header#header .grid {
  align-items: center;
}

header#header ul.menu-list {
  display: flex;
}

nav#navbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 15px;
}

.main-logo img {
  height: 40px;
  width: auto;
}

.main-menu ul.menu-list a {
  font-size: 16px;
  font-weight: 400;
  color: #555;
  padding: 0 25px;
}

.main-menu ul.menu-list li:last-child a {
  padding-right: 0;
}

.main-menu ul.menu-list a:hover {
  color: #111;
}

.main-menu .hamburger {
  display: none;
}

.header-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* ------------------------------------------------------------------------------
   Home Section
------------------------------------------------------------------------------ */
#home {
  padding: 130px 65px;
  background: #fff;
}

#home .detail-entry h3.banner-title {
  font-family: "Jost", Georgia, serif;
  font-size: 3.4em;
  line-height: 1.2;
  font-weight: 600;
  color: #111;
}

#home figure,
#about figure {
  width: 45%;
}

#home .detail-entry,
#about .detail-entry {
  width: 45%;
}

#home .detail-entry .detail-wrap,
#about .detail-entry .detail-wrap {
  width: 85%;
}

#home .company-detail .grid,
#about .company-detail .grid {
  align-items: center;
}

#home figure img.single-image {
  height: auto;
}

/* ------------------------------------------------------------------------------
   About Section
------------------------------------------------------------------------------ */
#about {
  padding: 130px 65px;
  background: #f7f9fd;
}

/* ------------------------------------------------------------------------------
   Projects Section
------------------------------------------------------------------------------ */
#projects {
  background-color: #f7f9fd;
  padding: 130px 65px;
  position: relative;
  overflow: hidden;
}

#projects .inner-content>.grid {
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#projects .grid.project-grid {
  flex-direction: row;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  padding-bottom: 0;
  gap: 25px;
}

#projects .section-header {
  text-align: center;
  width: 100%;
}

#projects .section-header h2.section-subtitle {
  margin-bottom: 25px;
}

#projects .section-header h2.section-subtitle.liner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 0;
  gap: 8px;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

#projects .section-header h2.section-subtitle.liner:before {
  position: relative;
  left: auto;
  top: auto;
  width: 22px;
  border-bottom: 3px solid #34435a;
  content: "";
  transform: none;
  flex-shrink: 0;
}

#projects .section-header h3.section-title {
  margin-bottom: 25px;
}

/* Project Items */
#projects .project-style {
  width: calc((100% - 50px) / 3);
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: pointer;
}

#projects .project-style img.project-item {
  transform: scale(1);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

#projects .project-style:hover img.project-item {
  transform: scale(1.1);
}

#projects .project-style figcaption {
  display: flex;
  background: #fff;
  padding: 30px 20px;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

#projects .project-style h3 {
  font-family: "Jost", Verdana, sans-serif;
  font-weight: 600;
  font-size: 1.3em;
  color: #111;
  text-transform: capitalize;
  margin: 0;
}

#projects .project-style h3 a {
  color: #111;
}

#projects .project-style h3 a.no-capitalize {
  text-transform: none;
}

#projects .project-style figcaption h3 a:hover {
  color: inherit;
}

#projects .category-title {
  font-size: 15px;
  color: #555;
}

/* Project Tabs */
#projects .tabs {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  justify-content: center;
  margin-left: 0;
  margin-bottom: 40px;
  width: 100%;
}

#projects .tabs .tab {
  padding: 0 25px;
  margin: 5px 0;
  position: relative;
  color: #555;
  cursor: pointer;
  transition: color 0.2s ease;
}

#projects .tabs .tab:first-child {
  padding-left: 0;
}

#projects .tabs .tab:last-child {
  padding-right: 0;
  margin-right: 0;
}

#projects .tabs .tab.active,
#projects .tabs .tab:hover {
  color: #111;
}

/* Project Animations */
.project-style.hidden {
  display: none;
}

@keyframes scaleOut {
  from {
    transform: scale(1);
    opacity: 1;
  }

  to {
    transform: scale(0);
    opacity: 0;
  }
}

.project-style.animate-out {
  animation: scaleOut 0.3s ease forwards;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.project-style.animate-in {
  animation: scaleIn 0.3s ease forwards;
}

/* ------------------------------------------------------------------------------
   Skills Section
------------------------------------------------------------------------------ */
#skills {
  background: #fff;
  padding: 130px 65px;
  margin-bottom: 0;
}

#skills .section-header {
  margin-bottom: 0;
}

#skills .section-header h2.section-subtitle {
  margin-bottom: 25px;
}

#skills .section-header h3.section-title {
  margin-bottom: 25px;
}

#skills .detail-wrap {
  width: 50%;
  margin: 0 auto 70px;
  text-align: center;
}

#skills .detail-wrap p {
  color: #555;
  margin: 0;
}

#skills .section-header h2.section-subtitle.liner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 0;
  gap: 8px;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

#skills .section-header h2.section-subtitle.liner:before {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  content: "";
  width: 22px;
  border-bottom: 3px solid #34435a;
  flex-shrink: 0;
}

#skills .top-grid-item {
  margin-top: 0;
}

#skills .skills-item {
  width: 16.666%;
  padding: 40px 30px;
  border-right: 1px solid #e7ebf1;
  border-bottom: 1px solid #e7ebf1;
  text-align: center;
  transition: all 0.3s ease;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

#skills .bottom-grid-item .skills-item {
  border-bottom: none;
}

#skills .skills-item:last-child {
  border-right: none;
}

#skills .skills-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

#skills .skills-item .title {
  font-family: "Jost", Verdana, sans-serif;
  font-size: 1.3em;
  font-weight: 600;
  color: #111;
  transition: color 0.3s ease;
}

/* ------------------------------------------------------------------------------
   Footer Section
------------------------------------------------------------------------------ */
#footer {
  background-color: #fff;
  padding: 130px 65px;
}

#footer ul.menu-list li {
  margin-bottom: 20px;
  outline: 0;
}

#footer ul.menu-list li a {
  color: #777;
}

#footer .footer-menu {
  width: 16%;
}

#footer .footer-menu h3 {
  color: #111;
}

#footer strong {
  font-weight: 800;
  display: block;
  padding-bottom: 5px;
}

#footer .footer-item {
  margin-left: 0;
  width: 45%;
}

#footer .footer-item.contact-form-container {
  width: 45%;
}

#animation-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-right: 0;
}

#anim {
  width: 80%;
}

/* Contact Form */
.contact-form-container {
  padding: 0;
}

.contact-form-container h2.section-subtitle {
  font-family: "Cormorant SC", Georgia, serif;
  font-size: 1.6em;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 25px;
}

.contact-form-container h3.section-title {
  font-family: "Jost", Georgia, serif;
  font-size: 2.6em;
  font-weight: 600;
  line-height: 1.5;
  text-transform: none;
  margin-bottom: 25px;
}

.contact-form-container p {
  color: #555;
  font-size: 16px;
  line-height: 2;
  margin: 0 0 40px 0;
}

.contact-form {
  width: 100%;
}

.form-group {
  margin-bottom: 25px;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
  height: 65px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 18px 20px;
  background-color: transparent;
  border: 2px solid #34435a;
  border-radius: 0;
  color: #111;
  font-size: 16px;
  font-family: "inter", Verdana, sans-serif;
  font-weight: 300;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form textarea::placeholder {
  color: #555;
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  font-family: "inter", Verdana, sans-serif;
  line-height: 2;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4a5a7a;
}

.contact-form textarea {
  resize: none;
  min-height: 120px;
  line-height: 1.5;
  vertical-align: top;
}

.contact-form .btn-accent.btn-submit {
  width: 100%;
  background-color: #34435a;
  color: #fff;
  padding: 20px 30px;
  border: none;
  font-size: 1em;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.25s ease;
  position: relative;
  justify-content: center;
}

.contact-form .btn-accent.btn-submit:hover,
.contact-form .btn-accent.btn-submit:focus {
  background-color: #4a5a7a;
  color: #fff;
  box-shadow: 0 0.5em 0.5em -0.4em rgba(107, 124, 154, 0.8);
  transform: translateY(-0.25em);
}

#form-success-message {
  color: #34435a;
  margin-top: 20px;
  font-weight: 600;
  font-size: 1.1em;
  text-align: center;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease, margin-top 0.4s ease;
}

#form-success-message.visible {
  opacity: 1;
  max-height: 50px;
  margin-top: 20px;
}

/* Footer Bottom */
#footer-bottom {
  border-top: 1px solid #e7ebf1;
  background: #fff;
  padding: 60px 65px;
}

#footer-bottom .grid {
  align-items: center;
}

#footer-bottom ul {
  display: flex;
  gap: 15px;
  margin: 0;
}

#footer-bottom li {
  padding-left: 0;
}

#footer-bottom .copyright p {
  color: #555;
  margin: 0;
}

#footer-bottom .copyright a {
  color: #777;
}

#footer-bottom .copyright a:hover {
  color: #777;
}

#footer-bottom .social-links a {
  display: inline-flex;
  align-items: center;
  color: #555;
  transition: color 0.25s ease;
}

#footer-bottom .social-links a:hover {
  color: #111;
}

#footer-bottom .social-links i {
  font-size: 20px;
  line-height: 1;
}

/* ------------------------------------------------------------------------------
   Scroll To Top Button
------------------------------------------------------------------------------ */
#scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 65px;
  height: 65px;
  background-color: #34435a;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.5em 0.5em -0.4em rgba(107, 124, 154, 0.8);
  z-index: 1000;
  overflow: visible;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.25s ease, background-color 0.25s ease;
}

#scrollToTopBtn.visible {
  opacity: 1;
  visibility: visible;
}

#scrollToTopBtn:hover {
  background-color: #4a5a7a;
  box-shadow: 0 0.5em 0.5em -0.4em rgba(107, 124, 154, 0.8);
  transform: translateY(-0.25em);
}

#scrollToTopBtn.clicked {
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

#scrollToTopBtn.clicked .arrow {
  opacity: 0;
}

#scrollToTopBtn.clicked .rocket-container {
  opacity: 1;
}

#scrollToTopBtn.launching {
  animation: launch 2s ease-in forwards;
}

.arrow {
  color: white;
  font-size: 32px;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.arrow svg {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.rocket-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  width: 60px;
  height: 120px;
  pointer-events: none;
}

@keyframes launch {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(-150vh);
    opacity: 1;
  }
}

.flame {
  opacity: 0;
  transition: opacity 0.3s ease;
}

#scrollToTopBtn.launching .flame {
  opacity: 1;
  animation: flicker 0.1s infinite;
}

@keyframes flicker {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* ------------------------------------------------------------------------------
   Project Modal
------------------------------------------------------------------------------ */
#project-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#project-modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}

#project-modal-content {
  background: #fff;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
  border-radius: 8px;
}

#project-modal-content::-webkit-scrollbar {
  width: 10px;
}

#project-modal-content::-webkit-scrollbar-track {
  background: transparent;
}

#project-modal-content::-webkit-scrollbar-thumb {
  background-color: #34435a;
  border-radius: 10px;
  border: 2px solid #fff;
}

#project-modal-overlay.visible #project-modal-content {
  opacity: 1;
  transform: scale(1);
}

#project-modal-close {
  position: absolute;
  top: 15px;
  right: 25px;
  background: transparent;
  border: none;
  width: 30px;
  height: 30px;
  cursor: pointer;
  padding: 0;
  z-index: 2010;
  color: #777;
  transition: color 0.25s ease, transform 0.25s ease;
}

#project-modal-close svg {
  width: 100%;
  height: 100%;
  stroke-width: 2;
}

#project-modal-close:hover {
  color: #111;
  transform: rotate(90deg);
}

.modal-carousel-container {
  position: relative;
  padding: 40px 80px 20px 80px;
  max-width: 100%;
}

.modal-image-carousel {
  width: 100%;
  height: 450px;
  overflow: hidden;
  position: relative;
  background-color: #f0f0f0;
  max-width: 740px;
  margin: 0 auto;
}

.modal-image-carousel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 0;
}

.modal-image-carousel img.active {
  opacity: 1;
  z-index: 1;
}

.modal-image-carousel video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  background: #000;
  z-index: 1;
  accent-color: #34435a;
}

video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display {
  display: none;
}

.modal-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: #34435a;
  color: #fff;
  transition: all 0.25s ease;
  z-index: 5;
}

.modal-nav-arrow.prev {
  left: 15px;
}

.modal-nav-arrow.next {
  right: 15px;
}

.modal-nav-arrow svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.modal-nav-arrow:hover {
  background-color: #4a5a7a;
  box-shadow: 0 0.5em 0.5em -0.4em rgba(107, 124, 154, 0.8);
  transform: translateY(-50%) translateY(-0.25em);
}

.modal-nav-arrow:active {
  transform: translateY(-50%);
}

.modal-pagination {
  text-align: center;
  padding: 0 0 15px 0;
  display: none;
}

.modal-pagination .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: #ccc;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.modal-pagination .dot.active {
  background: #34435a;
  width: 25px;
  border-radius: 5px;
}

.modal-pagination .dot:not(.active):hover {
  background-color: #777;
}

.modal-pagination .dot.active:hover {
  background-color: #4a5a7a;
}

.modal-description {
  padding: 25px 80px 40px 80px;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
}

.modal-description .category {
  font-size: 0.9em;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 20px 0;
}

.modal-description .title {
  font-family: "Jost", Georgia, serif;
  font-size: 2em;
  font-weight: 600;
  color: #111;
  margin: 0 0 20px 0;
}

.modal-description .desc {
  font-size: 1em;
  color: #555;
  line-height: 1.8;
  margin: 0;
  white-space: pre-line;
}

/* ------------------------------------------------------------------------------
   Comparison Slider
------------------------------------------------------------------------------ */
.comparison-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.comparison-container img {
  opacity: 1 !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  padding: 0;
  border-radius: 0;
  z-index: 1;
}

.comparison-container .comp-img-back {
  z-index: 1;
}

.comparison-container .comp-img-front-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  border-right: 3px solid #fff;
  box-sizing: border-box;
}

.comparison-container .comp-img-front-wrapper img.comp-img-front {
  width: 100vw;
  height: 100%;
  max-width: none;
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
}

.comparison-container .comp-slider-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
  -webkit-appearance: none;
}

.comparison-container .comp-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  background: #34435a;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.comparison-container .comp-slider-handle svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
  display: block;
}

.comparison-container .comp-slider-input:hover~.comp-slider-handle,
.comparison-container .comp-slider-handle:hover {
  background-color: #4a5a7a;
  box-shadow: 0 0.5em 0.5em -0.4em rgba(107, 124, 154, 0.8);
  transform: translate(-50%, -50%) translateY(-0.25em);
}

/* ------------------------------------------------------------------------------
   Language Selector
------------------------------------------------------------------------------ */
.language-selector-wrapper {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  margin-left: 0;
  margin-top: -5px;
  transform: translateY(0);
}

.language-selector {
  position: relative;
  cursor: pointer;
  user-select: none;
  padding: 0 0 0 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.selected-lang {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-flag {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  transition: opacity 0.25s ease, transform 0.25s ease;
  opacity: 1;
  transform: scale(1);
}

.selected-lang .lang-flag.changing {
  opacity: 0;
  transform: scale(0.5);
}

.lang-arrow {
  width: 12px;
  height: 12px;
  stroke: #555;
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.language-selector:hover .lang-arrow,
.language-selector.active .lang-arrow {
  stroke: #111;
}

.language-selector.active .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: 140%;
  left: 50%;
  right: auto;
  transform: translate(-50%, 10px);
  min-width: max-content;
  background: #fff;
  border-radius: 8px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  box-shadow: 0 0.5em 0.5em -0.4em rgba(107, 124, 154, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 100;
}

.language-selector.active .lang-dropdown {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.lang-dropdown li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-bottom: 0;
}

.lang-dropdown li:hover {
  background-color: transparent;
}

.lang-dropdown li .lang-flag {
  margin-right: 10px;
  flex-shrink: 0;
}

.lang-dropdown li span {
  font-size: 15px;
  color: #555;
  font-weight: 400;
  transition: color 0.2s ease;
  position: relative;
  display: inline-block;
}

.lang-dropdown li:hover span,
.lang-dropdown li.active span {
  color: #111;
}

.lang-dropdown li span::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: #4a5a7a;
  transition: transform 0.25s ease-out;
  transform-origin: bottom center;
}

.lang-dropdown li:hover span::after,
.lang-dropdown li.active span::after {
  transform: scaleX(1);
}

/* ------------------------------------------------------------------------------
   Touch Device Hover State Prevention
------------------------------------------------------------------------------ */
@media (hover: none) {

  .btn-accent:hover,
  .btn-accent:focus {
    background-color: #34435a;
    transform: none;
    box-shadow: none;
  }

  .btn-accent:active {
    background-color: #4a5a7a;
    transform: translateY(-0.1em);
  }

  .btn-accent.btn-outline-cv:hover,
  .btn-accent.btn-outline-cv:focus {
    background-color: transparent;
    color: #34435a;
    border-color: #34435a;
    transform: none;
    box-shadow: none;
  }

  .btn-accent.btn-outline-cv:active {
    background-color: #4a5a7a;
    color: #fff;
    border-color: #4a5a7a;
  }

  #footer-bottom .social-links a:hover {
    color: #555;
  }

  #footer-bottom .social-links a:active {
    color: #111;
  }

  .main-menu ul.menu-list a:hover::after {
    transform: scaleX(0);
  }

  #projects .tabs .tab:hover {
    color: #555;
  }

  #projects .tabs .tab:active {
    color: #111;
  }
}

/* ------------------------------------------------------------------------------
   Desktop Menu Hover Effects (min-width: 1181px)
------------------------------------------------------------------------------ */
@media only screen and (min-width: 1181px) {
  .main-menu ul.menu-list a {
    position: relative;
  }

  .main-menu ul.menu-list a::after {
    content: "";
    position: absolute;
    width: calc(100% - 50px);
    transform: scaleX(0);
    height: 2px;
    bottom: -5px;
    left: 25px;
    background-color: #4a5a7a;
    transition: transform 0.25s ease-out;
    transform-origin: bottom center;
  }

  .main-menu ul.menu-list a:hover::after {
    transform: scaleX(1);
  }

  .main-menu ul.menu-list li:last-child a::after {
    width: calc(100% - 25px);
  }

  #projects .tabs .tab {
    position: relative;
  }

  #projects .tabs .tab::after {
    content: "";
    position: absolute;
    width: calc(100% - 50px);
    transform: scaleX(0);
    height: 2px;
    bottom: -5px;
    left: 25px;
    background-color: #4a5a7a;
    transition: transform 0.25s ease-out;
    transform-origin: bottom center;
  }

  #projects .tabs .tab:first-child::after {
    left: 0;
    width: calc(100% - 25px);
  }

  #projects .tabs .tab:last-child::after {
    width: calc(100% - 25px);
  }

  #projects .tabs .tab.active::after,
  #projects .tabs .tab:hover::after {
    transform: scaleX(1);
  }
}

/* ------------------------------------------------------------------------------
   Laptop (max-width: 1400px)
------------------------------------------------------------------------------ */
@media only screen and (max-width: 1400px) {
  #projects .project-style h3 {
    font-size: 1em;
  }
}

/* ------------------------------------------------------------------------------
   Disable hover effects on mobile and tablet for specified elements
------------------------------------------------------------------------------ */
@media only screen and (max-width: 1024px) {

  .btn-accent:hover,
  .btn-accent:focus {
    background-color: #34435a;
    color: #fff;
    box-shadow: none;
    transform: none;
  }

  .btn-accent.btn-outline-cv:hover,
  .btn-accent.btn-outline-cv:focus {
    background-color: transparent;
    color: #34435a;
    border-color: #34435a;
    box-shadow: none;
    transform: none;
  }

  #scrollToTopBtn:hover {
    background-color: #34435a;
    box-shadow: none;
    transform: none;
  }

  #scrollToTopBtn.clicked {
    background-color: transparent !important;
    box-shadow: none !important;
  }

  #scrollToTopBtn.launching {
    animation: launch 2s ease-in forwards !important;
  }

  .comparison-container .comp-slider-input:hover~.comp-slider-handle,
  .comparison-container .comp-slider-handle:hover {
    background-color: #34435a;
    box-shadow: none;
    transform: translate(-50%, -50%);
  }

  .contact-form .btn-accent.btn-submit:hover,
  .contact-form .btn-accent.btn-submit:focus {
    background-color: #34435a;
    color: #fff;
    box-shadow: none;
    transform: none;
  }

  #footer-bottom .social-links a:hover {
    color: #555;
  }

  .main-menu ul.menu-list a:hover {
    color: #555 !important;
  }

  .main-menu ul.menu-list a:hover::after {
    transform: scaleX(0) !important;
  }

  #navbar .menu-list.responsive a:hover {
    color: #555 !important;
  }

  #navbar .menu-list.responsive a:hover::after {
    transform: scaleX(0) !important;
  }
}

/* ------------------------------------------------------------------------------
   Mobile (max-width: 767px)
------------------------------------------------------------------------------ */
@media only screen and (max-width: 767px) {

  /* Section Padding */
  #home,
  #about,
  #projects,
  #skills,
  #footer {
    padding: 80px 20px;
  }

  header#header {
    padding: 30px 20px;
    position: relative;
    z-index: 1000;
  }

  header#header .grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  #footer-bottom {
    padding: 60px 20px;
  }

  /* Typography */
  h1,
  .h1,
  .banner-content h3.banner-title,
  #home .detail-entry h3.banner-title {
    font-size: 2.4em;
    word-wrap: break-word;
  }

  h2.section-subtitle {
    font-size: 1.4em;
  }

  h2.section-subtitle.liner:before {
    top: 50%;
    transform: translateY(-50%);
  }

  h3.section-title {
    font-size: 2em;
  }

  /* Navigation */
  nav#navbar {
    order: 2;
    display: flex;
    width: auto;
    margin: 0;
    justify-content: flex-end;
    position: static;
  }

  .main-logo {
    order: 1;
    z-index: 1001;
    margin: 0;
    text-align: left;
    flex-shrink: 0;
  }

  .main-menu {
    display: flex;
    align-items: center;
  }

  .main-menu .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
    padding: 0;
    cursor: pointer;
    z-index: 1002;
    border: none;
    width: 40px;
    height: 40px;
    margin: 0;
  }

  .main-menu .hamburger svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  .hamburger .line {
    fill: none;
    stroke: #000000;
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .hamburger .line1 {
    stroke-dasharray: 60 207;
  }

  .hamburger .line2 {
    stroke-dasharray: 60 60;
  }

  .hamburger .line3 {
    stroke-dasharray: 60 207;
  }

  .hamburger.opened .line1,
  .hamburger.active .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
  }

  .hamburger.opened .line2,
  .hamburger.active .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
  }

  .hamburger.opened .line3,
  .hamburger.active .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
  }

  .header-buttons {
    display: none;
  }

  #navbar .btn-hvr-effect {
    display: none;
  }

  /* Buttons */
  .btn-wrap.banner-buttons {
    flex-direction: column;
    gap: 20px;
  }

  .btn-wrap.banner-buttons .btn-accent {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  @media (hover: hover) {
    .btn-wrap.banner-buttons .btn-accent:hover {
      background-color: #4a5a7a;
      transform: translateY(-0.25em);
    }
  }

  /* Mobile Menu */
  header#header .grid:has(.menu-list.active) .main-logo,
  header#header .grid:has(.menu-list.responsive) .main-logo {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 1001;
    position: relative;
  }

  .main-menu ul.menu-list {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff !important;
    flex-direction: column;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0s linear 0.4s;
    opacity: 0;
    visibility: hidden;
    padding: 0;
    z-index: 999;
    display: flex;
  }

  .main-menu ul.menu-list.responsive,
  .main-menu ul.menu-list.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0s linear 0s;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 180px 40px;
    text-align: center;
  }

  .main-menu ul.menu-list li {
    margin: 15px 0 !important;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease;
  }

  .main-menu ul.menu-list li.language-selector-wrapper {
    margin: 0 !important;
  }

  .main-menu ul.menu-list.active li {
    opacity: 1;
    transform: translateY(0);
  }

  .main-menu ul.menu-list.active li:nth-child(1) {
    transition-delay: 0.5s;
  }

  .main-menu ul.menu-list.active li:nth-child(2) {
    transition-delay: 0.6s;
  }

  .main-menu ul.menu-list.active li:nth-child(3) {
    transition-delay: 0.7s;
  }

  .main-menu ul.menu-list.active li:nth-child(4) {
    transition-delay: 0.8s;
  }

  .main-menu ul.menu-list.active li:nth-child(5) {
    transition-delay: 0.9s;
  }

  .main-menu ul.menu-list.active li:nth-child(6) {
    transition-delay: 1.0s;
  }

  .main-menu ul.menu-list:not(.active) li {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.2s ease;
    transition-delay: 0s;
  }

  #navbar .menu-list.responsive a,
  .main-menu ul.menu-list a {
    font-family: "inter", Verdana, sans-serif;
    font-size: 1em !important;
    font-weight: 400;
    color: #555 !important;
    text-align: center;
    display: inline-block;
    padding: 8px 0;
    letter-spacing: 0.3px;
    text-decoration: none;
    border: none;
    position: relative;
    transition: color 0.25s ease;
  }

  #navbar .menu-list.responsive a::after,
  .main-menu ul.menu-list a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 3px;
    left: 0;
    background-color: #4a5a7a;
    transform: scaleX(0);
    transition: transform 0.25s ease-out;
    transform-origin: bottom center;
  }

  #navbar .menu-list.responsive a:hover::after,
  .main-menu ul.menu-list a:hover::after {
    transform: scaleX(1);
  }

  .main-menu ul.menu-list li.active a {
    color: #111 !important;
  }

  .main-menu ul.menu-list li.active a::after {
    transform: scaleX(1);
  }

  /* Mobile Language Selector */
  .main-menu ul.menu-list .language-selector-wrapper {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 40px 40px 0 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: none !important;
  }

  .main-menu ul.menu-list.active .language-selector-wrapper {
    opacity: 1;
    transition-delay: 0.4s;
  }

  .main-menu ul.menu-list:not(.active) .language-selector-wrapper {
    opacity: 0;
    transition-delay: 0s;
  }

  .language-selector-wrapper::before {
    content: "";
    display: none;
  }

  .language-selector {
    padding: 0;
    justify-content: center;
    display: flex;
    width: 100%;
  }

  .language-selector .selected-lang {
    display: none;
  }

  .lang-dropdown {
    position: static;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 25px;
    min-width: auto;
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: none;
    transform: none !important;
    transition: none;
  }

  .lang-dropdown li {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.25s ease;
    margin-bottom: 0;
    border-radius: 0;
    background: transparent;
  }

  .lang-dropdown li:hover {
    opacity: 0.6;
    background-color: transparent;
  }

  .lang-dropdown li .lang-flag {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 0;
    margin-bottom: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #fff;
    object-fit: cover;
    transition: all 0.25s ease;
  }

  .lang-dropdown li.active .lang-flag {
    border-color: #34435a;
    box-shadow: 0 2px 12px rgba(52, 67, 90, 0.3);
    transform: scale(1.05);
  }

  .lang-dropdown li span {
    font-size: 10px;
    color: #555;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "inter", Verdana, sans-serif;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.25s ease;
  }

  .lang-dropdown li.active span {
    color: #111;
    font-weight: 400;
  }

  .lang-dropdown li:hover span {
    color: #111;
  }

  .lang-dropdown li span::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #4a5a7a;
    transform: scaleX(0);
    transition: transform 0.25s ease-out;
    transform-origin: bottom center;
  }

  .lang-dropdown li.active span::after,
  .lang-dropdown li:hover span::after {
    transform: scaleX(1);
  }

  /* Home & About Sections */
  #home .company-detail .grid,
  #about .company-detail .grid {
    display: flex;
    flex-direction: column;
  }

  #home figure,
  #home .detail-entry,
  #about figure,
  #about .detail-entry {
    width: 100%;
    margin-right: 0;
    margin-bottom: 0px;
    order: 1;
  }

  #home .detail-entry .detail-wrap,
  #about .detail-entry .detail-wrap {
    width: 100%;
  }

  #home figure {
    display: none;
  }

  #about figure {
    order: -1;
    margin-bottom: 40px;
  }

  img.single-image,
  #about img.single-image {
    height: auto;
    max-height: 500px;
    aspect-ratio: auto;
    object-position: top center;
  }

  /* Projects Section */
  #projects .inner-content>.grid {
    align-items: flex-start !important;
    text-align: left !important;
  }

  #projects .section-header {
    text-align: left !important;
    width: 100% !important;
    margin-left: 0 !important;
  }

  #projects .section-header h2.section-subtitle.liner {
    display: inline-block !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 30px !important;
    text-align: left !important;
  }

  #projects .section-header h2.section-subtitle.liner:before {
    position: absolute !important;
    left: 0 !important;
    top: 12px !important;
    transform: none !important;
    margin: 0 !important;
  }

  #projects .section-header h3.section-title {
    text-align: left !important;
    margin-left: 0 !important;
  }

  #projects .tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start !important;
    gap: 20px;
    margin-left: 0;
    margin-bottom: 70px;
    width: 100%;
  }

  #projects .tabs .tab {
    border-radius: 0 !important;
    border: 2px solid #34435a !important;
    background: transparent !important;
    color: #34435a !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    padding: 8px 20px !important;
    margin: 0 !important;
    position: relative !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
  }

  #projects .tabs .tab::after {
    display: none !important;
  }

  #projects .tabs .tab.active,
  #projects .tabs .tab:hover {
    background-color: #4a5a7a !important;
    border-color: #4a5a7a !important;
    color: #fff !important;
    box-shadow: 0 0.5em 0.5em -0.4em rgba(107, 124, 154, 0.8) !important;
    transform: translateY(-0.25em) !important;
  }

  #projects .project-style {
    width: 100%;
    margin-bottom: 0px;
  }

  #projects .grid.project-grid {
    gap: 20px;
  }

  #projects .project-style figcaption {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 20px;
  }

  #projects .project-style h3 {
    font-size: 1.0em;
    margin-bottom: 0;
    width: 100%;
    font-weight: 600;
  }

  #projects .category-title {
    font-size: 0.85em;
    width: 100%;
    margin-top: 0;
    color: #777;
  }

  /* Skills Section */
  #skills .section-header.align-center {
    text-align: left;
    display: block;
    width: 100%;
    margin-bottom: 25px;
  }

  #skills .detail-wrap {
    width: 100%;
    text-align: left;
    margin: 0 0 70px 0;
  }

  #skills .detail-wrap p {
    margin: 0 0 0px 0;
  }

  #skills .section-header h2.section-subtitle.liner {
    display: block;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 30px;
    text-align: left;
    position: relative;
    font-size: 1.4em;
    margin-bottom: 25px;
  }

  #skills .section-header h2.section-subtitle.liner:before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 22px;
    border-bottom: 3px solid #34435a;
  }

  #skills .section-header h3.section-title {
    text-align: left;
    margin-bottom: 25px;
  }

  #skills .grid {
    justify-content: center;
    flex-wrap: wrap;
  }

  #skills .skills-item {
    width: 50%;
    padding: 30px 20px;
    border-right: 1px solid #e7ebf1;
    border-bottom: 1px solid #e7ebf1;
  }

  #skills .skills-item:nth-child(even) {
    border-right: none;
  }

  #skills .bottom-grid-item .skills-item {
    border-bottom: 1px solid #e7ebf1;
  }

  #skills .bottom-grid-item .skills-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  #skills .skills-item img {
    width: 60px;
    height: 60px;
  }

  #skills .skills-item .title {
    font-size: 1.0em;
  }

  /* Footer Section */
  #footer .footer-menu-list .grid {
    flex-direction: column;
    align-items: center;
  }

  #footer .footer-menu,
  #footer .footer-item {
    width: 100%;
    text-align: center;
    margin: 0 0 40px 0;
    padding-right: 0;
    margin-left: 0;
  }

  #footer .footer-item.contact-form-container {
    width: 100%;
    margin-bottom: 0;
  }

  #footer .footer-menu h3 {
    margin-bottom: 15px;
  }

  #footer .contact-form-container h2.section-subtitle.liner {
    display: block;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 30px;
    text-align: left;
    position: relative;
    font-size: 1.4em;
    margin-bottom: 25px;
  }

  #footer .contact-form-container h2.section-subtitle.liner:before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 22px;
    border-bottom: 3px solid #34435a;
  }

  #footer .contact-form-container h3.section-title {
    text-align: left;
    font-size: 2em;
    margin-bottom: 25px;
  }

  #footer .contact-form-container p {
    text-align: left;
    margin: 0 0 70px 0;
    line-height: 2;
  }

  #animation-container {
    display: none !important;
  }

  #footer-bottom .grid {
    flex-direction: column;
    gap: 20px;
    justify-content: center;
  }

  #footer-bottom ul {
    justify-content: center;
    margin-top: 15px;
  }

  #footer-bottom p {
    text-align: center;
  }

  /* Modal */
  #project-modal-overlay {
    padding: 0;
  }

  #project-modal-content {
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  #project-modal-content::-webkit-scrollbar,
  .modal-description::-webkit-scrollbar {
    display: none;
  }

  #project-modal-content,
  .modal-description {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .modal-carousel-container {
    padding: 60px 15px 20px 15px;
    display: flex;
    flex-direction: column;
  }

  .modal-image-carousel {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    background: transparent;
    margin-bottom: 0;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
  }

  .modal-image-carousel:active {
    cursor: grabbing;
  }

  .modal-image-carousel video,
  .modal-image-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .modal-description {
    padding: 25px 20px 30px 20px;
    background: #fff;
    flex-shrink: 0;
    max-height: none;
    overflow-y: visible;
  }

  .modal-description .category {
    font-size: 0.85em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .modal-description .title {
    font-size: 1.6em;
    margin-bottom: 20px;
    line-height: 1.3;
  }

  .modal-description .desc {
    font-size: 0.95em;
    line-height: 1.7;
  }

  .modal-description .desc:last-child {
    margin-bottom: 0;
  }

  .modal-nav-arrow {
    display: none !important;
  }

  .modal-pagination {
    padding: 15px 0 10px 0;
  }

  .modal-pagination .dot {
    width: 10px;
    height: 10px;
  }

  .modal-pagination .dot.active {
    width: 25px;
  }

  #project-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    padding: 0;
    z-index: 2020;
    color: #777;
    transition: color 0.25s ease, transform 0.25s ease;
    border-radius: 0;
    box-shadow: none;
  }

  #project-modal-close svg {
    width: 100%;
    height: 100%;
    stroke-width: 2;
    stroke: currentColor;
  }

  #project-modal-close:hover {
    color: #111;
    transform: rotate(90deg);
    background: transparent;
  }

  .comparison-container .comp-slider-handle {
    width: 45px;
    height: 45px;
  }

  .comparison-container .comp-slider-handle svg {
    width: 22px;
    height: 22px;
  }

  /* Form Adjustments */
  #about .detail-wrap p:last-child {
    margin-bottom: 0;
  }

  #home .detail-entry .detail-wrap p {
    margin-bottom: 0;
  }

  .form-group {
    margin-bottom: 20px;
  }

  /* Scroll Button */
  #scrollToTopBtn {
    width: 55px;
    height: 55px;
    right: 30px;
    bottom: 30px;
  }

  #scrollToTopBtn .arrow {
    font-size: 28px;
  }
}

/* ------------------------------------------------------------------------------
   Tablet (768px - 1024px)
------------------------------------------------------------------------------ */
@media only screen and (min-width: 768px) and (max-width: 1024px) {

  /* Base & Typography */
  body {
    font-size: 15px;
  }

  h1,
  .h1 {
    font-size: 2.2em;
  }

  h2,
  .h2 {
    font-size: 1.4em;
  }

  h3,
  .h3 {
    font-size: 1.3em;
  }

  h2.section-subtitle {
    font-size: 1.5em;
  }

  h2.section-subtitle.liner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    gap: 8px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  h2.section-subtitle.liner:before {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 22px;
    flex-shrink: 0;
  }

  h3.section-title {
    font-size: 2em;
    line-height: 1.4;
  }

  p {
    line-height: 1.9;
    margin: 0 0 18px 0;
  }

  /* Layout & Container */
  .container {
    max-width: 100%;
    padding-left: 30px;
    padding-right: 30px;
  }

  .inner-content {
    padding: 0 15px;
  }

  /* Header & Navigation */
  header#header {
    padding: 25px 30px;
  }

  .main-logo img {
    height: 36px;
  }

  .main-menu ul.menu-list a {
    font-size: 14px;
    padding: 0 12px;
    position: relative;
  }

  .main-menu ul.menu-list a::after {
    content: "";
    position: absolute;
    width: calc(100% - 24px);
    height: 2px;
    bottom: -5px;
    left: 12px;
    background-color: #4a5a7a;
    transform: scaleX(0);
    transition: transform 0.25s ease-out;
    transform-origin: bottom center;
  }

  .main-menu ul.menu-list a:hover::after {
    transform: scaleX(1);
  }

  .main-menu ul.menu-list li:last-child a::after {
    width: calc(100% - 12px);
  }

  nav#navbar {
    margin-top: 10px;
  }

  .main-menu .hamburger {
    display: none;
  }

  .header-buttons {
    gap: 12px;
  }

  .language-selector {
    padding: 0 0 0 12px;
  }

  .lang-flag {
    width: 22px;
    height: 22px;
  }

  /* Buttons */
  .btn-accent {
    padding: 16px 24px;
    height: 58px;
    font-size: 0.95em;
    justify-content: center;
    line-height: 1.2;
    text-align: center;
  }

  .btn-accent.btn-outline-cv {
    padding: 14px 24px;
  }

  .btn-wrap {
    margin-top: 50px;
  }

  .btn-wrap.banner-buttons {
    gap: 20px;
    flex-direction: row;
  }

  .btn-hvr-effect {
    padding: 0 18px;
  }

  .btn-hvr-effect:before {
    width: 30px;
    height: 30px;
    top: -8px;
  }

  .btn-hvr-effect span {
    font-size: 16px;
  }

  /* Home Section */
  #home {
    padding: 60px 30px 80px;
  }

  #home .company-detail .grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }

  #home figure {
    width: 100%;
    max-width: 500px;
    order: 1;
    display: block;
  }

  #home figure img.single-image {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    object-position: center;
  }

  #home .detail-entry {
    width: 90%;
    max-width: none;
    order: 2;
    text-align: center;
    margin: 0 auto;
  }

  #home .detail-entry h3.banner-title {
    font-size: 2.2em;
    line-height: 1.25;
    text-align: center;
  }

  #home .detail-entry .detail-wrap {
    width: 100%;
  }

  #home .detail-entry .detail-wrap p {
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
  }

  #home .detail-entry .detail-wrap p[data-i18n="hero_desc"] {
    margin: 0;
  }

  #home .btn-wrap.banner-buttons {
    justify-content: center;
  }

  /* About Section */
  #about {
    padding: 80px 30px;
  }

  #about .company-detail .grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }

  #about figure {
    width: 100%;
    max-width: 500px;
    order: 1;
  }

  #about figure img.single-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 4;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
  }

  #about .detail-entry {
    width: 90%;
    max-width: none;
    order: 2;
    text-align: center;
    margin: 0 auto;
  }

  #about .detail-entry h2.section-subtitle,
  #about .detail-entry h3.section-title {
    text-align: center;
  }

  #about .detail-entry .detail-wrap {
    width: 100%;
  }

  #about .detail-entry .detail-wrap p {
    font-size: 16px;
    text-align: center;
  }

  #about .detail-entry .detail-wrap p[data-i18n="about_text_2"] {
    margin: 0;
  }

  /* Projects Section */
  #projects {
    padding: 80px 30px;
  }

  #projects .section-header h3.section-title {
    margin-bottom: 25px;
  }

  #projects .section-header p {
    font-size: 16px;
  }

  #projects .tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-left: 0;
    margin-bottom: 50px;
    width: 100%;
  }

  #projects .tabs .tab {
    border-radius: 0 !important;
    border: 2px solid #34435a !important;
    background: transparent !important;
    color: #34435a !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    padding: 10px 22px !important;
    margin: 0 !important;
    position: relative !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
  }

  #projects .tabs .tab::after {
    display: none !important;
  }

  #projects .tabs .tab.active,
  #projects .tabs .tab:hover {
    background-color: #4a5a7a !important;
    border-color: #4a5a7a !important;
    color: #fff !important;
    box-shadow: 0 0.5em 0.5em -0.4em rgba(107, 124, 154, 0.8) !important;
    transform: translateY(-0.25em) !important;
  }

  #projects .grid.project-grid {
    gap: 20px;
  }

  #projects .project-style {
    width: calc((100% - 20px) / 2);
  }

  #projects .project-style img.project-item {
    aspect-ratio: 3 / 2;
  }

  #projects .project-style figcaption {
    padding: 22px 18px;
  }

  #projects .project-style h3 {
    font-size: 1.1em;
  }

  #projects .category-title {
    font-size: 13px;
  }

  /* Skills Section */
  #skills {
    padding: 80px 30px;
  }

  #skills .section-header h3.section-title {
    margin-bottom: 25px;
  }

  #skills .section-header p {
    font-size: 16px;
  }

  #skills .detail-wrap {
    width: 85%;
    margin: 0 auto 50px;
  }

  #skills .detail-wrap p {
    font-size: 15px;
  }

  #skills .skills-item {
    width: 33.333%;
    padding: 25px 15px;
    border-right: 1px solid #e7ebf1;
    border-bottom: 1px solid #e7ebf1;
  }

  #skills .skills-item:nth-child(3n) {
    border-right: none;
  }

  #skills .bottom-grid-item .skills-item:nth-last-child(-n + 3) {
    border-bottom: none;
  }

  #skills .bottom-grid-item .skills-item {
    border-bottom: 1px solid #e7ebf1;
  }

  #skills .skills-item img {
    width: 55px;
    height: 55px;
  }

  #skills .skills-item .title {
    font-size: 1.1em;
  }

  /* Footer Section */
  #footer {
    padding: 80px 30px;
  }

  #footer .footer-menu-list .grid {
    flex-wrap: wrap;
    gap: 30px 20px;
  }

  #footer .footer-menu {
    width: 30%;
  }

  #footer .footer-menu h3 {
    font-size: 1.1em;
    margin-bottom: 18px;
  }

  #footer ul.menu-list li {
    margin-bottom: 15px;
  }

  #footer ul.menu-list li a {
    font-size: 14px;
  }

  #footer .footer-item {
    width: 40%;
    margin-left: 0;
  }

  #footer .footer-item.contact-form-container {
    width: 90%;
    margin: 0 auto;
    text-align: center;
  }

  .contact-form-container h2.section-subtitle.liner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    gap: 8px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-form-container h2.section-subtitle {
    font-size: 1.4em;
    margin-bottom: 20px;
    text-align: center;
  }

  .contact-form-container h3.section-title {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
  }

  .contact-form-container p {
    font-size: 16px;
    margin: 0 0 50px 0;
    text-align: center;
  }

  .contact-form {
    width: calc(100% / 0.9);
    max-width: none;
    margin-left: calc(-5% / 0.9);
    text-align: left;
  }

  #animation-container {
    display: none;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"] {
    height: 58px;
    padding: 15px 18px;
    font-size: 15px;
  }

  .contact-form textarea {
    min-height: 100px;
    padding: 15px 18px;
    font-size: 15px;
  }

  .contact-form .btn-accent.btn-submit {
    padding: 16px 24px;
    font-size: 0.95em;
  }

  /* Footer Bottom */
  #footer-bottom {
    padding: 45px 30px;
  }

  #footer-bottom .copyright p {
    font-size: 14px;
  }

  #footer-bottom .social-links i {
    font-size: 18px;
  }

  #footer-bottom ul {
    gap: 12px;
  }

  /* Scroll Button */
  #scrollToTopBtn {
    width: 55px;
    height: 55px;
    bottom: 30px;
    right: 30px;
  }

  #scrollToTopBtn .arrow {
    font-size: 28px;
  }

  /* Modal */
  #project-modal-overlay {
    padding: 30px;
  }

  #project-modal-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
  }

  #project-modal-content::-webkit-scrollbar {
    display: none;
  }

  #project-modal-close {
    width: 35px;
    height: 35px;
    top: 15px;
    right: 15px;
    z-index: 100;
    position: absolute;
  }

  .modal-carousel-container {
    padding: 30px 20px 20px 20px;
    position: relative;
  }

  .modal-image-carousel {
    height: 350px;
    margin-top: 30px;
  }

  .modal-image-carousel button,
  .modal-image-carousel .slick-arrow,
  .modal-carousel-container button:not(#project-modal-close),
  .modal-carousel-container .nav-arrow,
  .modal-carousel-container [class*="arrow"],
  .modal-carousel-container [class*="prev"],
  .modal-carousel-container [class*="next"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .modal-description {
    padding: 25px 30px 30px 30px;
  }

  .modal-description .category {
    font-size: 0.9em;
    margin-bottom: 20px;
  }

  .modal-description .title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .modal-description .desc {
    font-size: 0.95em;
    line-height: 1.75;
    margin-bottom: 20px;
  }

  .modal-description .desc:last-child {
    margin-bottom: 0;
  }

  .modal-nav-arrow {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .modal-pagination .dot {
    width: 10px;
    height: 10px;
  }

  .modal-pagination .dot.active {
    width: 28px;
  }
}