/*
Template Name: Nasaruddin Ahtamir - Backend Software Engineer Portfolio
Author: Codeefly
Author URI: http://themeforest.net/user/Codeefly
Description: Nasaruddin Ahtamir - Backend Software Engineer Portfolio
Version: 1.0
*/

/*------------------------------------------------------------------
[Table of contents]
      	+ General
		  - Miscellaneous
		  - Preloader
		  - Scroll Bar
		  - Title Section
		  - Buttons
        - Header
        + Sections
          - Home
		  + About
		  	- Infos
            - Skills
            - Resume
          - Facts
          - Portfolio
		  - Clients
		  - Contact
		  - Testimonials
		  - Blog
		  - Copyright
		- Blog Page
        - Responsive Design Styles
  
-------------------------------------------------------------------*/

/* [ GENERAL ] */
/*================================================== */

/*** Miscellaneous ***/

:root {
  --bg-color: #06DEF7;
}

body.dark-mode {
  --bg-color: #FFDD00;
}

html {
  height: 100%;
}

body {
  height: 100%;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 18px;
  background-color: var(--bg-color);
  margin: 0;
  color: #000;
}

#wrapper {
  width: 100%;
  overflow-x: auto;
}

main {
  display: flex;
}

section {
  position: relative;
  min-height: 100vh;
  height: 100vh;
}

.main-section {
  background-color: var(--bg-color);
}

.img-container {
  position: relative;
  overflow: hidden;
}

.img-container:after {
  content: " ";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  z-index: 2;
  transition: all 1s ease;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.z-1 {
  z-index: 1;
}

.separator {
  transform: translateX(calc(100% - 1px));
  height: 100vh;
}

.opposite-separator {
  height: 100vh;
}

/*** Preloader ***/

#preloader {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100%;
  z-index: 99999;
  display: flex;
  pointer-events: none;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: -1;
  background-color: var(--bg-color);
  -webkit-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

#preloader:after {
  left: auto;
  right: 0;
}

#preloader .line {
  margin: auto;
  width: 3px;
  border-radius: 4px;
  height: 250px;
  position: relative;
  overflow: hidden;
  -webkit-transition: all 0.8s ease 0s;
  -o-transition: all 0.8s ease 0s;
  transition: all 0.8s ease 0s;
}

.line:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-animation: animateline 1000ms ease-in-out 0s forwards;
  -o-animation: animateline 1000ms ease-in-out 0s forwards;
  animation: animateline 1000ms ease-in-out 0s forwards;
}

.line:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background-color: transparent;
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-animation: animatebgline 1200ms linear 0s infinite;
  -o-animation: animatebgline 1200ms linear 0s infinite;
  animation: animatebgline 1200ms linear 0s infinite;
  animation-delay: 2000ms;
}

@keyframes animateline {
  0% {
    height: 0;
  }

  100% {
    height: 100%;
  }
}

@keyframes animatebgline {
  0% {
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
  }

  100% {
    -webkit-transform: translateY(200%);
    -ms-transform: translateY(200%);
    -o-transform: translateY(200%);
    transform: translateY(200%);
  }
}

.preloaded .line:after {
  opacity: 0;
}

.preloaded .line {
  opacity: 0;
  height: 100% !important;
}

.preloaded:before,
.preloaded:after {
  -webkit-animation: finishanimation 500ms ease-in-out 500ms forwards;
  -o-animation: finishanimation 500ms ease-in-out 500ms forwards;
  animation: finishanimation 500ms ease-in-out 500ms forwards;
}

@keyframes finishanimation {
  0% {
    width: 50%;
  }

  100% {
    width: 0;
  }
}

/*** Scroll Bar ***/

.scroll-progress {
  display: flex;
  justify-content: space-between;
  position: fixed;
  bottom: 32px;
  z-index: 1;
  width: calc(100vw - 300px);
  margin: 0 auto;
  left: 0;
  right: 0;
}

.scroll-progress > div {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.scroll-progress > div > div {
  height: 8px;
  width: 100%;
  background-color: rgba(1, 49, 54, 0.12);
  border-radius: 0;
}

.mCSB_horizontal.mCSB_inside > .mCSB_container {
  margin-bottom: 0;
}

.mCSB_scrollTools.mCSB_scrollTools_horizontal {
  max-width: calc(100vw - 300px);
  margin: 0 auto;
  bottom: 32px;
  z-index: 11;
  opacity: 1;
}

.mCSB_dragger_bar {
  background: transparent !important;
}

.mCSB_dragger_bar:before {
  position: absolute;
  content: "";
  top: -4px;
  left: 0;
  width: 27px;
  height: 16px;
  border-radius: 0;
  background-color: #fff !important;
  transition: 0.3s;
}

.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger,
.mCS-dark-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  width: 27px !important;
}

.mCSB_dragger_bar:after {
  position: absolute;
  content: "";
  top: -26px;
  left: -4px;
  height: 22px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: #fff !important;
  transition: 0.3s;
}

.mCSB_dragger_bar:hover:before,
.mCSB_dragger_bar:hover:after {
  opacity: 1;
}

.mCSB_draggerRail {
  display: block;
  background-color: rgba(1, 49, 54, 0.12);
  height: 8px;
  border-radius: 0;
}


/*** Title Section ***/

.custom-title {
  margin-right: 150px;
  margin-left: 150px;
  text-align: center;
  writing-mode: vertical-rl;
  transform: scale(-1, -1);
  height: 100vh;
}

.custom-title h3 {
  font-size: 60px;
  line-height: 65px;
  font-weight: 800;
  white-space: nowrap;
  position: relative;
  margin: 0;
  letter-spacing: 2px;
}

.custom-title h3 > span,
.custom-title h3 > span > span {
  display: block;
}

/*** Buttons ***/

.custom-btn {
  box-shadow: none !important;
  border-radius: 40px;
  font-weight: 500;
  color: #000;
  padding: 14px 36px;
  outline: none !important;
  overflow: hidden;
  display: inline-block;
  position: relative;
  border: 0;
  font-weight: 500;
  text-transform: capitalize;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  background-color: var(--bg-color);
}

.custom-btn span {
  position: relative;
  z-index: 2;
}

.custom-btn:before {
  position: absolute;
  content: "";
  height: 130%;
  top: 0;
  right: 0;
  width: 0;
  transition-duration: 0.5s;
  z-index: 1;
}

.custom-btn:hover {
  color: #000;
}

.custom-btn:hover:before {
  width: calc(100% + 100px);
  left: 0;
}

.custom-btn i {
  margin-left: 10px;
}

.animated-btn {
  display: block;
  background-color: transparent;
  text-align: center;
  text-decoration: none;
  -webkit-transition: 1s;
  transition: 1s;
  height: 60px;
  width: 60px;
  margin: 0 auto;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  right: 60px;
  top: calc(50vh - 30px);
}

.animated-btn:hover span:before {
  left: 60px;
}

.animated-btn:hover span:after {
  left: 0;
}

.animated-btn:hover span {
  background: none;
}

.animated-btn span {
  display: block;
  -webkit-transition: 1s;
  transition: 1s;
  z-index: 1;
  margin-bottom: 0;
  width: 60px;
  height: 60px;
  background: none;
  position: relative;
  overflow: hidden;
}

.animated-btn span:before,
.animated-btn span:after {
  content: "\f178";
  font-family: FontAwesome;
  line-height: 60px;
  position: absolute;
  left: 0;
  width: 60px;
  text-align: center;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  font-size: 27px;
}

.animated-btn span:before {
  top: 0;
  left: 0;
}

.animated-btn span:after {
  left: -60px;
  color: #000;
}

/* [ HEADER ] */
/*================================================== */

header {
  position: fixed;
  z-index: 111;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

header .header-inner {
  display: flex;
  justify-content: space-between;
  padding: 30px;
  opacity: 0;
}

header .header-inner .menu ul {
  display: flex;
}

header .header-inner .menu ul li {
  font-size: 18px;
}

header .header-inner .menu ul li:not(:last-child) {
  margin-right: 35px;
}

header .header-inner .menu ul li span {
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  font-weight: 500;
  color: #000;
}

header .header-inner .menu ul li span.active {
  color: #fff !important;
}

header .header-inner .menu ul li span:hover {
  color: #fff !important;
}

header .header-inner .menu ul li span:before {
  position: absolute;
  width: 100%;
  height: 15px;
  content: "";
  top: -49px;
  border-radius: 0;
  transition: 0.3s;
}

header .header-inner .menu ul li span:hover:before,
header .header-inner .menu ul li span.active:before {
  top: -34px;
}

header .header-inner .mail p {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

header .mobile-menu {
  display: none;
}

.resume-anchor {
  text-decoration: none;
  color: inherit;

}

.resume-anchor:hover {
  text-decoration: none;
  color: inherit;
  
}

/* [ SECTIONS ] */
/*================================================== */

/*** HOME SECTION ***/

.home {
  min-width: 100vw;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home > div > div h1 {
  position: relative;
  z-index: 1;
  font-size: 150px;
  font-weight: 800;
  line-height: 150px;
  margin: 0;
}

.home > div > div h1 > span > span:not(.intro),
.home > div > div h1 > span {
  display: block;
  overflow: hidden;
}

.home > div > div h1 > span {
  padding: 0 200px;
  line-height: 0.88;
}

.home > div > div h1 > span > span:not(.intro) {
  transform: translate(-50%, -50%);
  letter-spacing: 0.05em;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 0px;
  -webkit-text-stroke-color: var(--bg-color);
  text-shadow: 8px 8px #000, 20px 20px var(--bg-color);
}

.home > div > div .intro {
  position: absolute;
  height: 170px;
  width: 200px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  left: 620px;
  top: 0px;
  color: #000;
  font-size: 18px;
  flex-direction: column;
  line-height: 30px;
  margin: 0;
  text-align: left;
  font-weight: normal;
}

.home .cta {
  position: absolute;
  right: 60px;
  top: calc(50vh - 30px);
  z-index: 1;
}

/*** ABOUT SECTION ***/

.about {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  width: auto;
  min-width: max-content;
  flex-shrink: 0;
}

/* Infos */

.about .info {
  display: flex;
  padding-left: 150px;
}

.about img.my-photo {
  width: 380px;
  height: 470px;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
}

.about h2 {
  align-self: flex-start;
  font-size: 70px;
  line-height: 80px;
  margin-top: 45px;
  margin-left: 40px;
  font-weight: 700;
  position: relative;
}

.about h2 span {
  display: block;
  overflow: hidden;
}

.about .infos {
  display: flex;
  margin: 45px 0 0 100px;
  white-space: nowrap;
}

.about .infos ul li {
  line-height: 44px;
  position: relative;
}

.about .infos ul li > span,
.about .infos ul li > span > span {
  overflow: hidden;
  display: block;
  white-space: nowrap;
  position: relative;
}

.about .infos ul li > span > span {
  padding-left: 30px;
}

.about .infos ul li > span > span:before {
  position: absolute;
  font-family: "FontAwesome";
  left: 0;
  top: 1px;
  font-size: 8px;
  content: "\f111";
}

.about .infos ul li > span > span span:first-child {
  color: rgba(0, 0, 0, 0.7);
  margin-right: 7px;
}

.about .infos ul li > span > span span:nth-child(2) {
  font-weight: 500;
}

.about .infos ul li > span > span span:nth-child(2) a {
  /* iOS fixes*/
  text-decoration: none !important;
  color: #000 !important;
}

.about .infos ul li:first-child > span > span {
  animation-delay: 0.1s;
}

.about .infos ul li:nth-child(2) > span > span {
  animation-delay: 0.2s;
}

.about .infos ul li:nth-child(3) > span > span {
  animation-delay: 0.3s;
}

.about .infos ul li:nth-child(4) > span > span {
  animation-delay: 0.4s;
}

.about .infos ul:nth-child(2) {
  margin-left: 75px;
}

/* Skills */

.about .skills {
  min-height: 460px;
  min-width: 700px;
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 80px;
}

.about .skills .skills-content {
  display: flex;
}

.about .skills > div > div {
  display: flex;
  flex-direction: column;
}

.about .skills > div > div:not(:first-child) {
  margin-left: 30px;
}

.about .skills > div > div > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about .skills > div > div > div:first-child {
  margin-bottom: 120px;
}

.about .skills > div > div > div span {
  width: auto;
  height: auto;
  display: flex;
  background-color: transparent;
  border-radius: 0;
  align-items: center;
  justify-content: center;
  transform: none;
}

.about .skills > div > div > div span i {
  font-size: 71px;
  transform: none;
  color: #000;
}

.about .skills > div > div > div h4 {
  margin: 12px 0 0;
  font-size: 18px;
  font-weight: 500;
}

/* Resume */

.about .resume {
  min-height: 460px;
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 150px;
}

.about .resume .custom-title {
  margin-right: 120px;
}

.about .timeline {
  white-space: nowrap;
}

.about .timeline ol {
  padding: 315px 0 315px 130px;
  transition: all 1s;
  margin: 0;
}

.about .timeline ol li {
  position: relative;
  display: inline-block;
  list-style-type: none;
  width: 160px;
  height: 3px;
  background: var(--bg-color);
}

.about .timeline ol li:first-child {
  background-color: transparent;
}

.about .timeline ol li:last-child {
  width: 140px;
  opacity: 0;
}

.about .timeline ol li:not(:first-child) {
  margin-left: 14px;
}

.about .timeline ol li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 3px);
  bottom: 0;
  width: 12px;
  height: 12px;
  transform: translateY(-50%) rotate(45deg);
  border-radius: 3px;
}

.about .timeline ol li > div {
  position: absolute;
  left: 18px;
  width: 300px;
  font-size: 1rem;
  white-space: normal;
  background: var(--bg-color);
  border-radius: 20px;
}

.about .timeline ol li > div::before {
  content: "";
  position: absolute;
  top: 100%;
  left: calc(50% - 15px);
  width: 0;
  height: 0;
  border-style: solid;
}

.about .timeline ol li > div > div {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px;
  overflow: hidden;
}

.about .timeline ol li > div > div:before {
  font-family: "FontAwesome";
  position: absolute;
  font-size: 90px;
  opacity: 0.05;
  height: 100%;
  display: flex;
  align-items: center;
  line-height: 100%;
}

.about .timeline ol li > div > div.experience:before {
  content: "\f0b1";
  right: -40px;
  top: 6px;
}

.about .timeline ol li > div > div.education:before {
  right: -40px;
  top: 6px;
  content: "\f19d";
}

.about .timeline ol li > div > div > h4 {
  font-size: 21px;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 20px;
}

.about .timeline ol li > div > div i {
  margin-right: 10px;
}

.about .timeline ol li > div > div > p {
  margin: 0 0 8px;
  color: #eee;
  font-size: 18px;
  font-weight: 500;
  text-transform: capitalize;
}

.about .timeline ol li > div > div > p:last-child {
  margin: 0;
}

.about .timeline ol li:nth-child(odd) > div {
  top: -40px;
  margin-top: calc(-100% - 16px);
}

.about .timeline ol li:nth-child(odd) > div::before {
  top: 100%;
  border-width: 16px;
  border-color: #06DEF7 transparent transparent transparent;
}

.about .timeline ol li:nth-child(even) > div {
  top: calc(100% + 34px);
}

.about .timeline ol li:nth-child(even) > div::before {
  top: -32px;
  border-width: 16px;
  border-color: transparent transparent transparent #06DEF7;
  transform: rotate(-90deg);
}

.about .timeline time {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
}

/*** FISHBONE TIMELINE ***/

.education-training {
  display: flex;
  align-items: center;
  padding: 60px 0;
}

/* Simple left-aligned education entry */
.education-simple {
  text-align: left;
  padding: 20px 0;
}

.education-simple h4 {
  font-size: 23px;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.education-simple p {
  font-size: 21px;
  margin: 0 0 2px 0;
  color: rgba(0, 0, 0, 0.7);
}

/* ── TEXT-BASED SKILLS PANEL ── */
.skills-text-panel {
  min-height: 460px;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-shrink: 0;
  padding: 0 80px;
  gap: 0;
}

.skills-text-panel .custom-title {
  margin-right: 120px;
  flex-shrink: 0;
}

.skills-text-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.skills-text-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skills-text-heading {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(0, 0, 0, 0.4);
  margin: 0 0 8px 0;
}

.skills-text-row {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 57px;
  font-size: 14px;
  line-height: 1.5;
}

.skills-label {
  font-weight: 600;
  color: #000;
  white-space: nowrap;
  width: 190px;
  flex-shrink: 0;
}

.skills-label::after {
  content: "";
}

.skills-value {
  color: rgba(0, 0, 0, 0.72);
  flex: 1;
}

/* Spine (horizontal line) */
.fishbone-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 160px 60px;
  position: relative;
  gap: 0;
}

/* The horizontal spine */
.fishbone-list::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #000;
  transform: translateY(-50%);
  z-index: 0;
}

/* Each bone */
.fishbone-item {
  position: relative;
  width: 190px;
  flex-shrink: 0;
  z-index: 1;
}

/* Vertical bone line */
.fishbone-item::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  background: #000;
  transform: translateX(-50%);
  z-index: 0;
}

/* Dot on spine */
.fishbone-item::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #000;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Bones going UP */
.fishbone-item--up::before {
  height: 80px;
  bottom: 50%;
  top: auto;
}

.fishbone-item--up .fishbone-content {
  position: absolute;
  bottom: calc(50% + 86px);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 170px;
}

/* Bones going DOWN */
.fishbone-item--down::before {
  height: 80px;
  top: 50%;
  bottom: auto;
}

.fishbone-item--down .fishbone-content {
  position: absolute;
  top: calc(50% + 86px);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 170px;
}

.fishbone-year {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.fishbone-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin: 0 0 6px;
  line-height: 1.3;
}

.fishbone-content p {
  font-size: 15px;
  color: #000;
  margin: 0;
  line-height: 1.4;
  opacity: 0.7;
}

/*** FACTS SECTION ***/

.facts {
  background-image: url(../assets/backgrounds/facts.jpg);
  background-attachment: fixed;
  position: relative;
  background-position: center;
  background-size: cover;
  display: flex;
}

.facts:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

.facts > div {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 210px;
}

.facts > div > div > div {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 40px;
  transform: rotate(45deg);
}

.facts > div > div:not(:first-child) > div {
  margin-left: 30px;
}

.facts > div > div:nth-child(odd) > div {
  margin-top: -200px;
}

.facts > div > div:nth-child(even) > div {
  margin-top: 200px;
}

.facts > div > div > div > div {
  transform: rotate(-45deg);
  backface-visibility: hidden;
}

.facts > div > div > div > div h3 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 7px;
}

.facts > div > div > div > div p {
  margin: 0;
  text-transform: capitalize;
  font-size: 20px;
  font-weight: 500;
}

.facts > div > div > div > div p span {
  display: block;
}

/*** PORTFOLIO SECTION ***/

.portfolio {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.swiper-portfolio {
  width: auto;
  height: 100vh;
  overflow: visible;
}

.portfolio .single-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100vh;
  width: 650px;
}

/* Portfolio list — flex row, tiap card berjejer horizontal */
.portfolio-list {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 80px;
  height: 100vh;
  padding: 0 60px;
  padding-top: calc((100vh - 550px) / 2);
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  width: 650px;
}

.portfolio-media {
  display: block;
  width: 650px;
  height: 450px;
  overflow: hidden;
  text-decoration: none;
  transition: opacity 0.2s;
}

.portfolio-media:hover {
  opacity: 0.85;
}

.portfolio-media img {
  width: 650px;
  height: 450px;
  object-fit: cover;
  display: block;
}

.portfolio-iframe {
  width: 1300px;
  height: 900px;
  border: none;
  display: block;
  transform: scale(0.5);
  transform-origin: top left;
  pointer-events: none;
}

.portfolio-iframe-wrapper {
  position: relative;
  width: 650px;
  height: 450px;
  overflow: hidden;
}

.portfolio-iframe-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: pointer;
}

.portfolio-info {
  margin-top: 14px;
  width: 650px;
  max-width: 650px;
  box-sizing: border-box;
}

.portfolio-info h4 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: normal;
  word-break: break-word;
  text-align: justify;
}

.portfolio-info ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.portfolio-info ul li {
  line-height: 1.7;
  font-size: 13px;
  text-align: justify;
}

.portfolio-info ul li i {
  margin-right: 6px;
}

.portfolio-info ul li > span:first-child {
  color: rgba(0, 0, 0, 0.6);
  margin-right: 6px;
}

.portfolio-info ul li > span:nth-child(2) {
  font-weight: 500;
}

.portfolio .single-item .swiper-pagination-clickable .swiper-pagination-bullet {
  background-color: rgba(255, 255, 255, 1);
  opacity: 1;
  width: 10px;
  height: 10px;
  margin: 0 6px !important;
  transition: 0.3s;
}

.portfolio
  .single-item
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 35px;
  border-radius: 6px;
}

.portfolio .single-item a.main-content {
  display: block;
  width: 650px;
  height: 450px;
  text-decoration: none;
  border-radius: 0;
  overflow: hidden;
  transition: opacity 0.2s;
}

.portfolio .single-item a.main-content:hover {
  opacity: 0.85;
}

.portfolio .single-item .main-content img {
  width: 650px;
  height: 450px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  display: block;
}

.portfolio-iframe-wrapper {
  position: relative;
  width: 650px;
  height: 450px;
  overflow: hidden;
}

.portfolio-iframe-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: pointer;
}

.portfolio .single-item .main-content {
  width: 650px;
  height: 450px;
}

.portfolio .single-item .details {
  margin-left: 0;
  margin-top: 14px;
  white-space: nowrap;
  width: 650px;
}

.portfolio .single-item .details h4 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  white-space: nowrap;
  margin-bottom: 4px;
}

.portfolio .single-item .details ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.portfolio .single-item .details ul li {
  line-height: 1.7;
  font-size: 13px;
}

.portfolio .single-item .details ul li i {
  margin-right: 6px;
}

.portfolio .single-item .details ul li > span:first-child {
  color: rgba(0, 0, 0, 0.6);
  margin-right: 6px;
}

.portfolio .single-item .details ul li > span:nth-child(2) {
  font-weight: 500;
}

.portfolio .single-item .main-content .external {
  display: block;
}

.videocontainer {
  position: relative;
  padding-bottom: calc(54.55% - 30px);
  padding-top: 0;
  height: 450px;
  max-width: 100%;
  overflow: hidden;
  width: 100%;
  display: block;
  border-radius: 20px;
}

.videocontainer iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.nav-item {
  position: absolute;
  right: 150px;
  z-index: 11;
  outline: none !important;
}

.next-item {
  top: calc(50vh - 75px);
}

.prev-item {
  top: calc(50vh + 15px);
}

.next-item.animated-btn span:before,
.next-item.animated-btn span:after {
  content: "\f176";
}

.next-item.animated-btn span:after {
  bottom: -60px;
  left: 0;
}

.next-item.animated-btn:hover span:before {
  top: -60px;
  left: 0;
}

.next-item.animated-btn:hover span:after {
  bottom: 0;
}

.prev-item.animated-btn span:before,
.prev-item.animated-btn span:after {
  content: "\f175";
}

.prev-item.animated-btn span:after {
  top: -60px;
  left: 0;
}

.prev-item.animated-btn:hover span:before {
  top: 60px;
  left: 0;
}

.prev-item.animated-btn:hover span:after {
  top: 0;
}

/*** CONTACT SECTION ***/

.contact {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  min-width: calc(100vw - 132px);
  width: calc(100vw - 132px);
  flex-shrink: 0;
}

.contact .custom-title {
  position: absolute;
  left: 0;
}

.contact .boxes {
  display: flex;
  margin-top: 18px;
}

.contact .boxes > div:not(:first-child) {
  margin-left: 40px;
}

.contact .boxes > div > div {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 55px 0 24px 0;
  border-radius: 20px;
  position: relative;
  min-width: 230px;
  min-height: 150px;
  background-color: var(--bg-color);
}

.contact .boxes > div > div:not(:last-child) {
  margin-bottom: 60px;
}

.contact .boxes > div > div > i {
  text-align: center;
  border-radius: 50%;
  font-size: 60px;
  color: #000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -48px;
  width: 94px;
  height: 94px;
  background: var(--bg-color);
  border: none;
}

.contact .boxes > div > div p {
  margin: 0;
  font-weight: 500;
  font-size: 17px;
}

.contact .boxes > div > div p a {
  /* iOS fixes*/
  text-decoration: none !important;
  color: #000 !important;
}

.contact .boxes > div > div span.small-text {
  color: rgba(0, 0, 0, 0.7);
  display: block;
  text-transform: capitalize;
  font-weight: 400;
  margin-bottom: 5px;
  font-size: 15px;
}

.contact .boxes .social {
  display: flex;
  margin-top: 3px;
}

.contact .boxes .social li a {
  width: 30px;
  height: 30px;
  color: #000;
  margin: 0 10px;
  transition: 0.3s;
}

.contact .separator {
  transform: translateX(calc(100% + 150px));
}

/*** CLIENTS SECTION ***/

.clients {
  background-image: url(../assets/backgrounds/clients.jpg);
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  background-position: center;
  display: flex;
}

.clients:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

.clients .clients-container {
  max-width: 1100px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  flex-direction: column;
  margin: 0 180px;
}

.clients .clients-container h3 {
  position: relative;
  font-size: 45px;
  line-height: 45px;
  margin-bottom: 50px;
  font-weight: 700;
  width: 850px;
  text-align: center;
}

.clients .swiper {
  width: 850px;
  height: 340px;
}

.clients .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 270px;
  flex-direction: column;
}

.clients .swiper-slide img {
  user-select: none;
}

.clients .swiper-slide > div {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  height: 120px;
  width: 250px;
  border-radius: 20px;
}

.clients .swiper-slide > div:first-child {
  margin-bottom: 30px;
}

.clients .swiper-pagination-clickable .swiper-pagination-bullet {
  background-color: rgba(255, 255, 255, 1);
  opacity: 1;
  width: 10px;
  height: 10px;
  margin: 0 6px !important;
  transition: 0.3s;
}

.clients .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 35px;
  border-radius: 6px;
}

/*** TESTIMONIALS SECTION ***/

.testimonials {
  background-image: url(../assets/backgrounds/testimonials.jpg);
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  background-position: center;
  display: flex;
}

.testimonials:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

.testimonials .testimonials-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  margin: 0 180px;
}

.testimonials .testimonials-container .quote-container:not(:first-child) {
  margin-left: 90px;
}

.testimonials .quote-container {
  padding: 40px;
}

.testimonials .quote-container > div {
  position: relative;
  width: 390px;
  min-height: 360px;
}

.testimonials .quote-container > div:before {
  content: "¡±";
  position: absolute;
  font-size: 69px;
  top: -100px;
  z-index: 1111;
  left: -30px;
  font-size: 210px;
}

.testimonials .quote-container > div p {
  margin: 0;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 360px;
}

.testimonials .quote-container > div p .quote {
  font-size: 20px;
  line-height: 40px;
  font-style: italic;
  margin-bottom: 30px;
}

.testimonials .quote-container > div p span {
  display: block;
}

.testimonials .quote-container > div p span.person {
  font-weight: 500;
  font-size: 16px;
  margin-top: auto;
  font-style: normal;
  margin-bottom: 6px;
}

.testimonials .quote-container > div p span.job {
  font-weight: 400;
  font-size: 14px;
  font-style: normal;
  color: rgba(0, 0, 0, 0.7);
}

.testimonials .quote-container > div img {
  max-width: 120px;
  position: absolute;
  bottom: -60px;
  right: -60px;
  border-radius: 50%;
  border: 4px solid #06DEF7;
}

/*** BLOG SECTION ***/

.blog {
  padding-right: 150px;
  min-height: 460px;
  position: relative;
  display: flex;
  align-items: center;
}

.blog .latestposts {
  display: flex;
}

.blog .latestposts > div {
  position: relative;
  border-radius: 20px;
  background: var(--bg-color);
}

.blog .latestposts > div:not(:first-child) {
  margin-left: 75px;
}

.blog .latestposts > div a {
  display: block;
  color: #000;
  position: relative;
  text-decoration: none;
  border-radius: 20px;
}

.blog .latestposts > div a .img-holder {
  overflow: hidden;
  display: block;
  border-radius: 20px 20px 0 0;
}

.blog .latestposts a img {
  width: 360px;
  height: 200px;
  object-fit: cover;
  object-position: center;
  transition: 0.5s;
  border-radius: 20px 20px 0 0;
}

.blog .latestposts a:hover img {
  transform: scale(1.2);
}

.blog .latestposts a .content {
  padding: 35px 30px 30px;
  position: relative;
  background-color: var(--bg-color);
  border-radius: 0 0 20px 20px;
  max-width: 360px;
}

.blog .latestposts a .content span.title {
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
  display: block;
}

.blog .latestposts a .content p {
  font-size: 16px;
  margin: 15px 0 0;
  line-height: 30px;
  opacity: 0.8;
}

.blog .category {
  position: absolute;
  top: -14px;
  text-transform: uppercase;
  font-size: 14px;
  padding: 3px 20px;
  border-radius: 20px;
  left: 30px;
  height: 28px;
  line-height: 23px;
  font-weight: 500;
}

.blog .meta {
  font-size: 12px;
  margin-top: 20px;
  opacity: 0.6;
}

.blog .meta > div i {
  margin-right: 6px;
}

.blog .meta > div:not(:first-child) {
  margin-left: 15px;
}

/*** COPYRIGHT SECTION ***/

.copyright {
  background-color: #000000;
  display: flex;
}

.copyright > div {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  text-align: center;
  min-width: 132px;
  max-width: 132px;
  font-weight: 500;
}

.copyright-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  min-width: 132px;
  max-width: 132px;
}

.copyright-text {
  font-size: 11px;
  color: var(--bg-color);
  font-weight: 500;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  line-height: 1.4;
}

.copyright > img {
  transform: translateX(calc(-100% + 1px));
  height: 100vh;
}

.copyright span {
  font-size: 16px;
  color: var(--bg-color);
  line-height: 32px;
  white-space: nowrap;
  display: block;
}

.copyright > div > span a {
  text-decoration: none;
}

.copyright ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.copyright ul li a {
  width: 30px;
  height: 30px;
  color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

/* [ BLOG PAGE ] */
/*================================================== */

.blog-page h1 {
  margin: 100px 0;
  font-size: 70px;
  text-align: center;
  font-weight: 700;
}

.blog-page .container {
  max-width: 1152px;
}

.blog-page .container .row > div:not(.pagination-container) {
  height: auto;
  margin-bottom: 30px;
}

.blog-page .blog-content {
  padding-bottom: 100px;
  padding-left: 15px;
  padding-right: 15px;
}

.blog-page .blog-content .post {
  position: relative;
  border-radius: 20px;
  height: 100%;
  background-color: var(--bg-color);
}

.blog-page .blog-content .post:not(:first-child) {
  margin-left: 75px;
}

.blog-page .blog-content .post a {
  display: block;
  color: #000;
  position: relative;
  text-decoration: none;
  border-radius: 20px;
}

.blog-page .blog-content .post a .img-holder {
  overflow: hidden;
  display: block;
  border-radius: 20px 20px 0 0;
}

.blog-page .blog-content .post a img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  transition: 0.5s;
  border-radius: 20px 20px 0 0;
}

.blog-page .blog-content .post a:hover img {
  transform: scale(1.2);
}

.blog-page .blog-content .post a .content {
  padding: 35px 30px 30px;
  position: relative;
  background-color: var(--bg-color);
  border-radius: 0 0 20px 20px;
}

.blog-page .blog-content .post a .content span.title {
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
  display: block;
}

.blog-page .blog-content .post a .content p {
  font-size: 16px;
  margin: 15px 0 0;
  line-height: 30px;
  opacity: 0.8;
}

.blog-page .blog-content .post .category {
  position: absolute;
  top: -14px;
  text-transform: uppercase;
  font-size: 14px;
  padding: 3px 20px;
  border-radius: 20px;
  left: 30px;
  height: 28px;
  line-height: 23px;
  font-weight: 500;
}

.blog-page .blog-content .meta {
  font-size: 14px;
  margin-top: 20px;
  opacity: 0.8;
  flex-wrap: wrap;
}

.blog-page .blog-content .meta > div i {
  margin-right: 6px;
}

.blog-page .blog-content .meta > div:not(:last-child) {
  margin-right: 15px;
}

.blog-page .pagination-container {
  margin-top: 30px;
}

.blog-page .pagination {
  margin-bottom: 30px;
}

.blog-page .page-link {
  color: #000;
  background-color: var(--bg-color);
  border: 1px solid #06DEF7;
  padding: 0;
  margin: 0 15px;
  border-radius: 50% !important;
  width: 43px;
  height: 43px;
  line-height: 43px;
  text-align: center;
  transition: 0.3s;
}

.page-item.active .page-link {
  border: 1px solid #06DEF7;
}

.blog-page .page-link:focus,
.blog-page .page-link:active {
  box-shadow: none !important;
}

.blog-page .page-link:hover {
  color: #000 !important;
}

.blog-page .main-post {
  max-width: 700px;
  margin: 0 auto;
  padding-right: 15px;
  padding-left: 15px;
}

.blog-page .main-post h3 {
  margin: 15px 0 30px;
  font-size: 40px;
  line-height: 50px;
  font-weight: 800;
}

.blog-page .main-post img {
  margin-bottom: 30px;
  border-radius: 10px;
  max-width: 100%;
  height: auto;
}

/* [ RESPONSIVE ] */
/*================================================== */

@media (min-width: 1025px) {
  body:not(.blog-page) {
    overflow: hidden;
  }

  .animated-layer,
  .animated-layer:before {
    opacity: 0;
  }

  .animated-layer.animated,
  .animated-layer.animated:before {
    opacity: 1;
  }

  body.body-safari .blog {
    padding-right: 686px;
  }

  body.body-safari .copyright {
    margin-left: -596px;
    width: 276px;
  }

  body.body-safari section.main-section.blog::after {
    display: none;
  }

  body.body-safari .testimonials .quote-container > div {
    width: 380px;
  }

  body.body-safari .blog .latestposts > div {
    width: 360px;
  }

  .hide-desktop {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  section {
    min-height: initial;
    height: auto;
  }

  .separator-mobile-down {
    transform: translateY(100%);
  }

  .separator-mobile-up {
    transform: translateY(-100%);
  }

  .about .infos ul li > span > span {
    animation-delay: initial !important;
  }

  header .mobile-menu {
    display: block;
  }

  .custom-btn {
    display: inline-flex;
  }

  .custom-btn:before {
    display: none;
  }

  .my-photo-container {
    width: 380px;
    height: 500px;
    margin: 0 auto;
    padding-top: 30px;
  }

  .my-photo-container.animated:after {
    display: none;
  }

  #menuToggle {
    display: inline-block;
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1111;
    user-select: none;
    padding: 19px 0 0 16px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--bg-color);
  }

  #menuToggle input {
    display: flex;
    width: 54px;
    height: 54px;
    position: absolute;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    top: 0;
    left: 0;
  }

  #menuToggle > span {
    display: flex;
    width: 23px;
    height: 2px;
    margin-bottom: 5px;
    position: relative;
    background: #000000;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 5px 0;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
      background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
  }

  #menuToggle > span:first-child {
    transform-origin: 0 0;
  }

  #menuToggle > span:nth-last-child(2) {
    transform-origin: 0 100%;
  }

  #menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(4px, 0);
    background: #fff;
  }

  #menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
  }

  #menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(2px, 4px);
  }

  #menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding-top: 60px;
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    transform-origin: 0 0;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  }

  #menuToggle input:checked ~ ul {
    transform: none;
  }

  #menu li {
    position: relative;
    padding-left: 30px;
  }

  #menu li:after {
    position: absolute;
    content: "";
    height: 1px;
    width: calc(100% - 60px);
    background: var(--bg-color);
    left: 30px;
  }

  #menu li:last-child:after,
  .home > div > div .intro {
    display: none;
  }

  #menu li a {
    color: #000;
    transition-delay: 2s;
    font-size: 26px;
    display: block;
    text-decoration: none;
    padding: 14px 0;
    position: relative;
  }

  #home .animated-layer {
    opacity: 0 !important;
  }

  #home .animated-layer.animated {
    opacity: 1 !important;
  }

  .home > div > div h1 > span {
    padding: 0;
    line-height: 120px;
  }

  .home > div > div h1 > span > span:not(.intro) {
    padding: 0 15px;
  }

  .home .animated-btn.cta {
    position: relative;
    margin-top: 40px;
    right: initial;
    top: initial;
  }

  .home .animated-btn.cta span:before {
    transform: rotate(90deg);
  }

  .home .animated-btn:hover span:before {
    left: 0;
  }

  .animated-btn span:after {
    display: none;
  }

  .about {
    padding: 0 30px 16px;
  }

  .about .info {
    padding: 0;
    width: 100%;
  }

  .about h2 {
    text-align: center;
    font-size: 55px;
    line-height: 65px;
    margin: 35px 0;
  }

  .about .infos {
    margin: 0 auto;
    justify-content: center;
    max-width: 538px;
  }

  .about .skills .skills-content {
    flex-wrap: wrap;
    justify-content: center;
  }

  .about .skills .custom-title {
    margin: 70px 0;
  }

  .about .skills > div > div {
    flex-direction: row;
    justify-content: space-between;
  }

  .about .skills > div > div:not(:first-child) {
    margin-left: 0;
  }

  .about .skills > div > div > div {
    margin: 0 20px;
  }

  .about .skills > div > div > div span {
    width: 90px;
    height: 90px;
  }

  .about .skills > div > div > div:first-child {
    margin-bottom: 50px;
  }

  .about .skills > div > div > div h4 {
    margin-top: 25px;
  }

  .about .resume {
    margin-right: 0;
  }

  .about .resume .custom-title {
    margin-bottom: 70px;
    margin-top: 20px;
  }

  .about .timeline ol,
  .about .timeline ol li {
    width: auto;
  }

  .about .timeline {
    width: 100%;
  }

  .about .timeline ol {
    padding: 0;
    transform: none !important;
  }

  .about .timeline ol li {
    display: block;
    height: auto;
    background: transparent;
  }

  .about .timeline ol li:not(:first-child) {
    margin-left: auto;
  }

  .about .timeline ol li div {
    width: 100%;
    height: auto !important;
    margin: 0 auto 50px;
  }

  .about .timeline ol li div {
    position: static;
  }

  .about .timeline ol li:nth-child(odd) div,
  .about .timeline ol li:nth-child(even) div {
    transform: none;
    margin-top: initial;
    top: initial;
    max-width: 538px;
  }

  .about .timeline ol li:nth-child(odd) > div::before,
  .about .timeline ol li:nth-child(even) > div::before {
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border: none;
    border-left: 4px solid #06DEF7;
    height: 50px;
  }

  .about .timeline ol li:last-child,
  .about .timeline ol li:nth-last-child(2) > div::before,
  .about .timeline ol li:not(:last-child)::after {
    display: none;
  }

  .facts > div {
    padding: 165px 0;
  }

  .facts > div > div:nth-child(odd) > div {
    margin-top: initial;
    margin-right: 200px;
  }

  .facts > div > div:nth-child(even) > div {
    margin-top: initial;
    margin-left: 200px;
  }

  .portfolio {
    padding: 85px 0;
  }

  .portfolio .custom-title {
    margin-bottom: 70px;
  }

  .swiper-portfolio {
    padding-right: 0;
    height: 100%;
    width: 768px;
  }

  .portfolio .single-item .main-content,
  .portfolio .single-item .main-content img {
    width: 538px;
    height: 372px;
  }

  .portfolio .single-item {
    flex-direction: column;
    height: 100%;
  }

  .next-item {
    top: calc(372px / 2 - 27px);
    right: 30px;
    transform: rotate(-90deg);
  }

  .next-item.animated-btn span:before {
    transform: rotate(180deg);
  }

  .next-item.animated-btn:hover span:before {
    left: 0px;
    top: 0;
  }

  .prev-item {
    top: calc(372px / 2 - 27px);
    left: 30px;
    margin: 0;
  }

  .prev-item.animated-btn span:before {
    transform: rotate(90deg);
  }

  .prev-item.animated-btn:hover span:before {
    top: 0;
  }

  .prev-item.animated-btn span:after,
  .next-item.animated-btn span:after {
    display: none;
  }

  .videocontainer {
    height: 372px;
  }

  .portfolio .single-item .details {
    margin: 30px 0 0;
    width: 538px;
    white-space: initial;
  }

  .clients {
    padding: 130px 30px 110px;
  }

  .clients .clients-container {
    margin: 0;
  }

  .clients .clients-container h3 {
    width: 100%;
    font-size: 55px;
    line-height: 65px;
    margin-bottom: 70px;
  }

  .contact {
    padding: 85px 30px;
  }

  .contact .custom-title {
    margin-bottom: 70px;
  }

  .contact .boxes {
    justify-content: space-between;
    width: 100%;
    max-width: 538px;
  }

  .contact .boxes > div > div {
    width: 244px;
    min-width: inherit;
  }

  .contact .boxes > div:not(:first-child) {
    margin: 0;
  }

  .testimonials {
    padding: 130px 30px;
  }

  .testimonials .testimonials-container .quote-container:not(:first-child) {
    margin-left: 0;
    margin-top: 50px;
  }

  .blog .latestposts > div:not(:first-child) {
    margin-left: 0;
    margin-top: 50px;
  }

  .blog {
    padding: 85px 30px;
  }

  .blog .custom-title {
    margin-bottom: 70px;
  }

  .blog .latestposts > div {
    width: 538px;
  }

  .blog .latestposts a img {
    width: 538px;
    height: 300px;
  }

  .blog .latestposts a .content span.title {
    font-size: 25px;
    line-height: 35px;
  }

  .copyright {
    min-height: auto;
    padding: 0 0 40px;
    justify-content: center;
  }

  .copyright > div {
    padding: 0;
  }

  .about .skills,
  .about .resume {
    width: 100%;
  }

  .custom-title {
    writing-mode: initial;
    transform: initial;
    height: initial;
    margin: 0;
  }

  .custom-title h3 {
    line-height: 55px;
  }

  .hide-mobile {
    display: none !important;
  }

  .flex-column-mobile {
    flex-direction: column;
  }

  .home > div {
    padding: 0;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
  }

  .home > div:before {
    background-color: initial;
  }

  .home > div > div {
    text-align: center;
  }

  .home {
    min-width: 100vw;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
  }

  .home > div > div h1 {
    font-size: 90px;
  }

  .home > div > div .intro {
    margin: 10px auto 25px;
  }

  .clients,
  .facts {
    display: block;
  }

  .clients .swiper {
    width: 100%;
    max-width: 538px;
  }

  .clients .swiper-slide > div {
    width: 100%;
  }

  .home .custom-btn i {
    transform: rotate(90deg);
  }

  .testimonials .quote-container > div,
  .testimonials .quote-container > div p {
    min-height: initial;
  }

  .blog .latestposts a .content {
    max-width: 100%;
  }
}

@media screen and (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .separator {
    display: none;
  }

  .custom-title h3 {
    font-size: 35px;
    line-height: 35px;
  }

  .portfolio .single-item .details h4 {
    font-size: 28px;
    line-height: 28px;
  }

  .home > div > div {
    text-align: left;
  }

  .home > div > div h1 {
    font-size: 45px;
  }

  .home > div > div .intro {
    line-height: 36px;
    margin: 15px 0 25px;
  }

  .home > div {
    padding: 0;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
  }

  .home > div > div h1 > span {
    padding: 0;
    line-height: 75px;
  }

  .about .my-photo-container {
    width: 100%;
    height: auto;
  }

  .about img.my-photo {
    width: 100%;
    height: auto;
    max-width: 400px;
  }

  .about h2 {
    font-size: 36px;
    line-height: 46px;
  }

  .about .infos,
  .contact .boxes {
    flex-direction: column;
  }

  .about .infos ul:nth-child(2) {
    margin-left: 0;
  }

  .facts > div {
    padding: 30px 0 130px;
  }

  .facts > div > div > div {
    margin: 100px 0 0 !important;
    width: 180px;
    height: 180px;
  }

  .facts > div > div > div > div h3 {
    font-size: 50px;
  }

  .facts > div > div > div > div p {
    font-size: 18px;
  }

  .swiper-portfolio {
    width: 100%;
    padding-left: 30px;
  }

  .portfolio .single-item .main-content,
  .portfolio .single-item .main-content img {
    width: 100%;
    height: 200px;
  }

  .portfolio .single-item .details {
    width: 100%;
  }

  .nav-item {
    display: none;
  }

  .videocontainer {
    height: 200px;
  }

  .portfolio .single-item {
    transition: 0.3s;
  }

  .portfolio .single-item:not(.swiper-slide-active) {
    opacity: 0.3;
  }

  .clients {
    padding: 110px 30px;
  }

  .clients .clients-container h3 {
    font-size: 35px;
    line-height: 35px;
  }

  .contact .boxes > div > div {
    width: 100%;
  }

  .contact {
    padding: 85px 30px 15px;
  }

  .contact .boxes > div > div {
    margin-bottom: 70px;
  }

  .testimonials .testimonials-container {
    margin: 0;
  }

  .testimonials .quote-container {
    padding: 0;
  }

  .testimonials .quote-container > div {
    height: 100%;
    min-width: auto;
    width: 100%;
  }

  .testimonials .quote-container > div:before {
    top: -72px;
    z-index: 1;
    left: 30px;
    font-size: 150px;
  }

  .testimonials .quote-container > div p {
    padding: 30px;
  }

  .testimonials .quote-container > div p .quote {
    font-size: 18px;
    line-height: 36px;
    margin-bottom: 0;
  }

  .testimonials .quote-container > div img {
    max-width: 80px;
    bottom: -40px;
    right: 30px;
    border: 2px solid #06DEF7;
  }

  .testimonials .quote-container > div p span.person {
    margin: 25px 0 5px;
  }

  .blog .latestposts > div {
    width: 100%;
  }

  .blog .latestposts a img {
    width: 100%;
    height: auto;
  }

  .blog .latestposts a .content span.title {
    font-size: 20px;
    line-height: 26px;
  }

  .testimonials .testimonials-container .quote-container:not(:first-child) {
    margin-top: 90px;
  }

  .blog-page h1 {
    margin: 70px 0;
    font-size: 35px;
  }

  .blog-page .blog-content {
    padding-bottom: 70px;
  }

  .blog-page .main-post h3 {
    font-size: 25px;
    line-height: 35px;
  }

  .copyright {
    padding: 20px 0 30px;
  }
}

/* =============================================
   ABOUT ¡ª Text-Only Layout
   ============================================= */

.about-text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 800px;
  flex-shrink: 0;
  padding: 80px 100px 80px 150px;
  height: 100%;
  box-sizing: border-box;
}

/* Section label */
.about-label {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 22px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: 16px;
}

/* Name heading */
.about-name {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 8px 0;
  color: #000;
  letter-spacing: -1px;
}

.about-name-suffix {
  font-weight: 400;
  font-style: italic;
  opacity: 0.6;
}

/* Thin accent divider */
.about-divider {
  width: 48px;
  height: 3px;
  background: #000;
  margin-bottom: 32px;
  border-radius: 2px;
}

/* Body paragraphs */
.about-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.about-para {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.39;
  color: rgba(0, 0, 0, 0.52);
  margin: 0;
  text-align: justify;
}

.about-highlight {
  font-weight: 700;
  color: #000;
  border-bottom: 2px solid currentColor;
  padding-bottom: 1px;
}

/* Quote block */
.about-quote {
  border-left: 3px solid #000;
  padding-left: 20px;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-quote-chinese {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #000;
  line-height: 1.4;
}

.about-quote-translation {
  font-size: 13px;
  font-style: italic;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.6;
}

/* Closing line */
.about-closing {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.65);
  margin: 0;
  line-height: 1.7;
}

.about-cta {
  font-weight: 800;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-text-wrapper {
    padding: 60px 60px 60px 80px;
    max-width: 100%;
  }
  .about-name {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .about-text-wrapper {
    padding: 50px 30px;
  }
  .about-name {
    font-size: 32px;
  }
  .about-para {
    font-size: 14px;
  }
}

/* =============================================
   TECH STACK PANEL
   ============================================= */

.techstack-panel {
  min-width: 600px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px;
  height: 100%;
  box-sizing: border-box;
}

.techstack-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}

.techstack-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.techstack-group-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(0, 0, 0, 0.5);
  border-left: 3px solid #000;
  padding-left: 10px;
  margin: 0;
}

.techstack-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.techstack-badges img {
  height: 26px;
  border-radius: 3px;
}

/* MENU INDICATOR BAR - override skin color to white            */
/* ============================================================ */
header .header-inner .menu ul li span:before {
  background-color: #fff !important;
}

/* ============================================================ */
/* THEME TOGGLE BUTTON                                          */
/* ============================================================ */
.theme-toggle {
  position: absolute;
  top: 18px;
  right: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 40px;
  color: #fff;
  padding: 8px 16px;
  line-height: 1;
  transition: opacity 0.2s;
  z-index: 100;
}

.theme-toggle:hover {
  opacity: 0.6;
}

/* ============================================================ */
/* HERO TEXT SHADOW - always follow --bg-color                  */
/* ============================================================ */
.home > div > div h1 > span:first-child span span {
  text-shadow: 8px 8px #000, 20px 20px var(--bg-color) !important;
}

/* ============================================================ */
/* SCROLLBAR - override skin color for dragger text & bar       */
/* ============================================================ */
.mCSB_dragger_bar:after {
  color: #fff !important;
}
.mCSB_dragger_bar:before {
  background-color: #fff !important;
}

/* ============================================================ */
/* RESPONSIVE — TABLET (≤1024px) & MOBILE (≤767px)             */
/* ============================================================ */

@media (max-width: 768px) {

  /* === LAYOUT === */
  #wrapper {
    overflow-x: hidden;
    overflow-y: auto;
  }

  main, main.flex-column-mobile {
    flex-direction: column !important;
    width: 100vw !important;
    height: auto !important;
  }

  section, section.main-section {
    min-width: 100vw !important;
    width: 100vw !important;
    height: auto !important;
    min-height: auto !important;
    padding: 50px 24px !important;
    box-sizing: border-box !important;
  }

  /* === SEPARATOR: hilangkan semua === */
  .separator,
  .separator-mobile-up,
  .separator-mobile-down,
  .hide-desktop {
    display: none !important;
  }

  /* === CUSTOM TITLE: vertikal → horizontal === */
  .custom-title {
    writing-mode: horizontal-tb !important;
    transform: none !important;
    height: auto !important;
    margin: 0 0 24px 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  .custom-title h3 {
    font-size: 30px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    letter-spacing: 1px !important;
  }

  /* === HOME === */
  .home {
    min-width: 100vw !important;
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .home > div > div h1 {
    font-size: 60px !important;
  }

  /* === ABOUT === */
  .about,
  .about .resume,
  .about .skills {
    flex-direction: column !important;
    min-width: 100vw !important;
    width: 100vw !important;
    min-height: auto !important;
    margin-right: 0 !important;
    align-items: flex-start !important;
  }

  .about-text-wrapper {
    width: 100% !important;
    padding: 20px 0 !important;
    box-sizing: border-box !important;
  }

  .about-name { font-size: 34px !important; }
  .about-para { font-size: 14px !important; }

  .about .resume {
    padding: 50px 24px !important;
  }

  .about .resume .custom-title {
    margin-bottom: 24px !important;
    margin-right: 0 !important;
  }

  /* Fishbone: scroll horizontal jika perlu */
  .education-training {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
  }

  .fishbone-list {
    padding: 110px 24px;
    min-width: max-content;
  }

  /* Skills grid */
  .skills-content {
    flex-wrap: wrap !important;
    gap: 16px !important;
  }

  /* === PORTFOLIO === */
  .portfolio {
    flex-direction: column !important;
    min-width: 100vw !important;
    width: 100vw !important;
  }

  .portfolio-list {
    flex-direction: column !important;
    height: auto !important;
    padding: 0 !important;
    gap: 48px !important;
    width: 100% !important;
  }

  .portfolio-card {
    width: 100% !important;
    flex-shrink: unset !important;
  }

  .portfolio-media {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
  }

  .portfolio-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }

  .portfolio-iframe-wrapper {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
  }

  .portfolio-iframe {
    width: 200% !important;
    height: 200% !important;
    transform: scale(0.5) !important;
    transform-origin: top left !important;
  }

  .portfolio-info {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* === CONTACT === */
  .contact {
    flex-direction: column !important;
    min-width: 100vw !important;
    width: 100vw !important;
  }

  .contact .boxes {
    flex-direction: column !important;
    width: 100% !important;
    margin-top: 0 !important;
  }

  .contact .boxes > div {
    width: 100% !important;
  }

  .contact .boxes > div:not(:first-child) {
    margin-left: 0 !important;
    margin-top: 60px !important;
  }

  .contact .boxes > div > div {
    min-width: unset !important;
    width: 100% !important;
  }

  /* === COPYRIGHT === */
  .copyright {
    min-width: 100vw !important;
    width: 100vw !important;
    padding: 30px 24px !important;
  }

  /* === HEADER === */
  .header-inner.hide-mobile {
    display: none !important;
  }

  .theme-toggle {
    display: none !important;
  }
}

/* === MOBILE KECIL (≤480px) === */
@media (max-width: 480px) {

  section, section.main-section {
    padding: 40px 16px !important;
  }

  .custom-title h3 {
    font-size: 24px !important;
  }

  .home > div > div h1 {
    font-size: 44px !important;
  }

  .about-name { font-size: 26px !important; }
  .about-para { font-size: 13px !important; }

  .portfolio-info h4 {
    font-size: 14px !important;
  }

  .portfolio-info ul li {
    font-size: 12px !important;
  }

  .fishbone-item {
    width: 130px !important;
  }

  .fishbone-item--up .fishbone-content,
  .fishbone-item--down .fishbone-content {
    width: 120px !important;
  }

  .fishbone-content h4 { font-size: 13px !important; }
  .fishbone-year       { font-size: 13px !important; }
  .fishbone-content p  { font-size: 11px !important; }

  .contact .boxes > div > div > i {
    font-size: 36px !important;
    width: 64px !important;
    height: 64px !important;
    top: -32px !important;
  }

  .contact .boxes > div > div p {
    font-size: 14px !important;
  }

  .contact .boxes > div > div span.small-text {
    font-size: 14px !important;
  }
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */

.gallery {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  min-width: 100vw;
  width: 100vw;
  flex-shrink: 0;
  flex-shrink: 0;
}

.gallery .custom-title {
  position: relative;
  left: -76px;
}

.gallery-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100vh;
  padding: 90px 80px 56px 0;
  box-sizing: border-box;
  gap: 0;
  flex-shrink: 0;
  margin-left: -114px;
  overflow: visible;
}

.gallery-tagline {
  font-size: 11px;  
  font-weight: 400;  
  white-space: nowrap;
  margin: 0 0 10px 0;
  flex-shrink: 0;
  line-height: 1.2;
}

/* Bento Grid 4 kolom × 2 baris */
.gallery-grid {
  --gap: 7px;
  --row: clamp(80px, calc((100vh - 310px) / 2), 210px);
  display: grid;
  grid-template-columns: calc(2 * var(--row) + var(--gap)) var(--row) var(--row) calc(2 * var(--row) + var(--gap));
  grid-template-rows: var(--row) var(--row);
  gap: var(--gap);
  flex-shrink: 0;
}

.gallery-item.bento-hero       { grid-column: 1;          grid-row: 1 / span 2; }
.gallery-item.bento-small-1    { grid-column: 2;          grid-row: 1; }
.gallery-item.bento-small-2    { grid-column: 3;          grid-row: 1; }
.gallery-item.bento-wide       { grid-column: 2 / span 2; grid-row: 2; }
.gallery-item.bento-hero-right { grid-column: 4;          grid-row: 1 / span 2; }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.08);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  display: flex;
  align-items: flex-end;
  padding: 10px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-caption {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.3;
  text-transform: uppercase;
  transform: translateY(6px);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

.gallery-pagination {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 14px;
  width: 100%;
  position: relative;
  z-index: 10;
}

/* Dot: 10px visual, hit area via padding */
.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  padding: 8px;
  background-clip: content-box;
  transition: background-color 0.25s ease, transform 0.2s ease;
  position: relative;
  z-index: 10;
  display: block;
  box-sizing: content-box;
}
.gallery-dot--active {
  background-color: #111111;
  transform: scale(1.3);
}
.gallery-dot:not(.gallery-dot--active):hover {
  background-color: rgba(0, 0, 0, 0.5);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lb-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lb-fadein 0.22s ease;
}
@keyframes lb-fadein { from { opacity: 0; } to { opacity: 1; } }

.lb-img-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 88vw;
  max-height: 88vh;
  gap: 10px;
}

.lb-img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  animation: lb-scalein 0.2s ease;
  user-select: none;
}
@keyframes lb-scalein {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.lb-caption {
  color: rgba(255,255,255,0.65);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
}

.lb-close {
  position: fixed;
  top: 18px; right: 22px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 1000001;
}
.lb-close:hover { background: rgba(255,255,255,0.22); }

.lb-counter {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  font-weight: 600;
  z-index: 1000001;
  pointer-events: none;
}

.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  width: 46px; height: 56px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 1000001;
}
.lb-nav:hover { background: rgba(255,255,255,0.2); }
.lb-nav--prev { left: 14px; }
.lb-nav--next { right: 14px; }

/* ============================================================
   GALLERY — Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .gallery {
    flex-direction: column;
    align-items: flex-start;
    padding: 85px 30px 60px;
    min-width: 100vw;
    width: 100vw;
    box-sizing: border-box;
    height: auto;
  }
  .gallery-content { height: auto; padding: 0; width: 100%; overflow: visible; gap: 12px; }
  .gallery-tagline { white-space: normal; }
  .gallery-grid {
    --gap: 6px;
    --row: clamp(80px, 24vw, 160px);
    grid-template-columns: calc(2 * var(--row) + var(--gap)) var(--row) var(--row);
    grid-template-rows: var(--row) var(--row);
    width: fit-content;
  }
}
@media (max-width: 600px) {
  .gallery { padding: 80px 16px 50px !important; }
  .gallery-grid { --gap: 5px; --row: clamp(72px, 22vw, 130px); }
  .lb-nav { display: none; }
}

/* ============================================================
   FULL GALLERY PAGE (/gallery)
   ============================================================ */
.full-gallery-page {
  min-height: 100vh;
  padding: 80px 60px 60px;
  box-sizing: border-box;
  background-color: var(--bg-color, #fff);
}
.full-gallery-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.full-gallery-back {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.6;
  color: inherit;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  text-decoration: none;
}
.full-gallery-back:hover { opacity: 1; }
.full-gallery-heading { text-align: center; flex: 1; }
.full-gallery-title { font-size: 28px; font-weight: 700; margin: 0 0 4px; letter-spacing: 1px; }
.full-gallery-tagline { font-size: 12px; font-style: italic; opacity: 0.55; margin: 0; }
.full-gallery-count { font-size: 12px; opacity: 0.45; white-space: nowrap; padding-top: 4px; }
.full-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
@media (max-width: 1024px) {
  .full-gallery-page { padding: 80px 30px 60px; }
  .full-gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; gap: 10px; }
}
@media (max-width: 768px) {
  .full-gallery-page { padding: 70px 20px 50px !important; }
  .full-gallery-topbar { flex-direction: column; align-items: flex-start; }
  .full-gallery-heading { text-align: left; }
  .full-gallery-grid { grid-template-columns: repeat(2, 1fr) !important; grid-auto-rows: 140px !important; gap: 8px !important; }
  .full-gallery-title { font-size: 22px; }
}
@media (max-width: 480px) {
  .full-gallery-grid { grid-auto-rows: 110px !important; gap: 6px !important; }
}
