/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #272829; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #4f1787; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #b80045; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Color Theme Mode */
:root {
  --toggleHeight: 16em;
  --toggleWidth: 30em;
  --toggleBtnRadius: 10em;

  --bgColor--night: #423966;
  --toggleBtn-bgColor--night: var(--bgColor--night);
  --mooncolor: #d9fbff;
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff; /* The default color of the main navmenu links */
  --nav-hover-color: #eb3678; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #180161; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #180161; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #ffffff; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #eb3678; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the same color scheme. */

.light-background {
  --background-color: #f4fafd;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #180161;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #180161;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/* Scrollbar */
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: var(--background-color);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--accent-color);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 0 15px;
  width: 300px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 997;
  border-right: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.header .profile-img img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.header .logo {
  line-height: 1;
  margin-bottom: 15px;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h2 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .social-links {
  margin: 0 0 20px 0;
}

.header .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  margin: 0 2px;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

.header .social-links a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

@media (min-width: 1200px) {
  .header ~ main,
  .header ~ #footer {
    margin-left: 300px;
  }
}

@media (max-width: 1199px) {
  .header {
    left: -100%;
  }
}

.header.header-show {
  left: 0;
}

.header .header-toggle {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
  transition: background-color 0.3s;
}

.header .header-toggle:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/* HIRE ME BUTTON */
.header .c-call-to-action-container .container {
  position: relative;
}

.header #svg {
  width: 100%;
  max-height: 120px;
}

.header .btn {
  position: relative;
  padding: 5px 10px;
  font-size: 16px;
  border: none;
  outline: none;
  color: #fff;
  filter: url("#gooey");
  background-color: var(--accent-color);
  cursor: pointer;
  display: flex;
  justify-content: center;
}

.header .btn:hover {
  color: #fff;
}

.header .btn:active {
  color: #fff;
}

.header .btn:focus {
  color: #fff;
}

.header .btn-title {
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.header .bubbles {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.header .bubble {
  width: 35px;
  height: 35px;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  background-color: var(--accent-color);
  border-radius: 100%;
}

.header .bubble:nth-child(1) {
  left: 80%;
  animation: move1 3s infinite;
  animation-delay: 0.2s;
}

.header .bubble:nth-child(2) {
  left: 35%;
  animation: move2 3.04s infinite;
  animation-delay: 0.4s;
}

.header .bubble:nth-child(3) {
  left: 45%;
  animation: move3 3.06s infinite;
  animation-delay: 0.6s;
}

.header .bubble:nth-child(4) {
  left: 20%;
  animation: move4 3.08s infinite;
  animation-delay: 0.8s;
}

.header .bubble:nth-child(5) {
  left: 15%;
  animation: move5 3.1s infinite;
  animation-delay: 1s;
}

.header .bubble:nth-child(6) {
  left: 25%;
  animation: move6 3.12s infinite;
  animation-delay: 1.2s;
}

.header .bubble:nth-child(7) {
  left: 70%;
  animation: move7 3.14s infinite;
  animation-delay: 1.4s;
}

.header .bubble:nth-child(8) {
  left: 60%;
  animation: move8 3.16s infinite;
  animation-delay: 1.6s;
}

.header .bubble:nth-child(9) {
  left: 5%;
  animation: move9 3.18s infinite;
  animation-delay: 1.8s;
}

.header .bubble:nth-child(10) {
  left: 55%;
  animation: move10 3.2s infinite;
  animation-delay: 2s;
}

@keyframes move1 {
  0% {
    transform: translate(0, 0);
  }
  99% {
    transform: translate(0, -105px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}

@keyframes move2 {
  0% {
    transform: translate(0, 0);
  }
  99% {
    transform: translate(0, -95px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}

@keyframes move3 {
  0% {
    transform: translate(0, 0);
  }
  99% {
    transform: translate(0, -60px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}

@keyframes move4 {
  0% {
    transform: translate(0, 0);
  }
  99% {
    transform: translate(0, -90px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}

@keyframes move5 {
  0% {
    transform: translate(0, 0);
  }
  99% {
    transform: translate(0, -95px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}

@keyframes move6 {
  0% {
    transform: translate(0, 0);
  }
  99% {
    transform: translate(0, -65px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}

@keyframes move7 {
  0% {
    transform: translate(0, 0);
  }
  99% {
    transform: translate(0, -110px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}

@keyframes move8 {
  0% {
    transform: translate(0, 0);
  }
  99% {
    transform: translate(0, -85px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}

@keyframes move9 {
  0% {
    transform: translate(0, 0);
  }
  99% {
    transform: translate(0, -80px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}

@keyframes move10 {
  0% {
    transform: translate(0, 0);
  }
  99% {
    transform: translate(0, -125px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}

/* Color theme mode */
.c-color-theme-mode .tdnn {
  margin: 0 auto;
  font-size: 13%;
  position: relative;
  height: var(--toggleHeight);
  width: var(--toggleWidth);
  border-radius: var(--toggleHeight);
  transition: all 500ms ease-in-out;
  background: var(--bgColor--night);
  cursor: pointer;
}

.c-color-theme-mode .day {
  background: #ffbf71;
}

.c-color-theme-mode .moon {
  position: absolute;
  display: block;
  border-radius: 50%;
  transition: all 400ms ease-in-out;
  top: 3em;
  left: 3em;
  transform: rotate(-75deg);
  width: var(--toggleBtnRadius);
  height: var(--toggleBtnRadius);
  background: var(--bgColor--night);
  box-shadow: 3em 2.5em 0 0em var(--mooncolor) inset,
    rgba(255, 255, 255, 0.1) 0em -7em 0 -4.5em,
    rgba(255, 255, 255, 0.1) 3em 7em 0 -4.5em,
    rgba(255, 255, 255, 0.1) 2em 13em 0 -4em,
    rgba(255, 255, 255, 0.1) 6em 2em 0 -4.1em,
    rgba(255, 255, 255, 0.1) 8em 8em 0 -4.5em,
    rgba(255, 255, 255, 0.1) 6em 13em 0 -4.5em,
    rgba(255, 255, 255, 0.1) -4em 7em 0 -4.5em,
    rgba(255, 255, 255, 0.1) -1em 10em 0 -4.5em;
}

.c-color-theme-mode .sun {
  top: 4.5em;
  left: 18em;
  transform: rotate(0deg);
  width: 7em;
  height: 7em;
  background: #fff;
  box-shadow: 3em 3em 0 5em #fff inset, 0 -5em 0 -2.7em #fff,
    3.5em -3.5em 0 -3em #fff, 5em 0 0 -2.7em #fff, 3.5em 3.5em 0 -3em #fff,
    0 5em 0 -2.7em #fff, -3.5em 3.5em 0 -3em #fff, -5em 0 0 -2.7em #fff,
    -3.5em -3.5em 0 -3em #fff;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.mobile-nav-toggle {
  display: none;
}

.navmenu {
  padding: 0;
  z-index: 9997;
}

.navmenu ul {
  list-style: none;
  padding: 0 0 20px 0;
  margin: 0;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  padding: 15px 10px;
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: 0.3s;
  width: 100%;
}

.navmenu a .navicon,
.navmenu a:focus .navicon {
  font-size: 20px;
  margin-right: 10px;
}

.navmenu a .toggle-dropdown,
.navmenu a:focus .toggle-dropdown {
  font-size: 12px;
  line-height: 0;
  margin-left: auto;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  flex-shrink: 0;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.navmenu a .toggle-dropdown:hover,
.navmenu a:focus .toggle-dropdown:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.navmenu a:not(.btn):hover,
.navmenu .active:not(.btn),
.navmenu .active:not(.btn):focus {
  color: var(--nav-hover-color);
}

.navmenu a:hover .navicon,
.navmenu .active .navicon,
.navmenu .active:focus .navicon {
  color: var(--accent-color);
}

.navmenu .active .toggle-dropdown,
.navmenu .active:focus .toggle-dropdown {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(180deg);
}

.navmenu .dropdown {
  display: block;
}

.navmenu .dropdown a,
.navmenu .dropdown a:focus {
  color: var(--nav-dropdown-color);
}

.navmenu .dropdown a:hover,
.navmenu .dropdown .active,
.navmenu .dropdown .active:focus {
  color: var(--nav-dropdown-hover-color);
}

.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 5px 10px;
  margin: 5px 10px;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: none;
  transition: all 0.5s ease-in-out;
}

.navmenu .dropdown ul ul {
  background-color: rgba(33, 37, 41, 0.1);
}

.navmenu .dropdown > .dropdown-active {
  display: block;
  background-color: rgba(33, 37, 41, 0.03);
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 4px;
  font-size: 13px;
  text-align: center;
}

.footer .credits a { 
  color: var(--accent-color);
  text-decoration: underline;
  font-weight: 600;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

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

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

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li + li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 50px;
  position: relative;
}

@media (max-width: 768px) {
  section,
  .section {
    padding: 30px 20px;
  }

  .section-title {
    padding-bottom: 25px;
  }
}

@media (max-width: 375px) {
  .section {
    padding: 15px 3px;
  }
}

@media (max-width: 320px) {
  .section {
    padding: 15px 0;
  }
}

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

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

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

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .hero-text {
  margin-bottom: 170px;
  text-align: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 70%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h1 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
}

.hero p {
  margin: 5px 0 0 0;
  font-size: 26px;
}

.hero p span {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-color);
}

.hero .social-links {
  margin-top: 25px;
}

.hero .social-links a {
  font-size: 24px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
}

.hero .social-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 24px;
}

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

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

.about .c-featured-image {
  display: block;
  max-width: 400px;
  max-height: 450px;
  width: auto;
  height: auto;
  margin-right: auto;
  margin-left: auto;
  padding: 2px;
  border-image: linear-gradient(to right, #4f1787 0%, var(--accent-color) 100%)
    1;
  border-radius: 0 0 0 0;
  -moz-border-radius: 0 0 0 0;
  -webkit-border-radius: 0 0 0 0;
  border-style: solid;
  border-width: 20px;
  background-color: #fff;
}

@media (max-width: 1024px) {
  .about .content {
    padding-left: 50px;
  }
}

@media (max-width: 768px) {
  .about .content {
    padding-left: 0;
  }
}

@media (max-width: 375px) {
  .about .content {
    padding-left: 13px;
  }
}

@media (max-width: 320px) {
  .about .container .col-lg-4 {
    padding: 0;
  }
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item i {
  color: var(--accent-color);
  display: block;
  font-size: 44px;
  float: left;
  line-height: 0;
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  margin-left: 60px;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: var(--heading-font);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills h3 {
  color: var(--heading-color);
  font-size: 24px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

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

.skills .progress .skill {
  color: var(--heading-color);
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
}

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

.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-title {
  color: var(--heading-color);
  font-size: 24px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid var(--accent-color);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  padding: 5px 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item h5.company {
  color: var(--nav-hover-color);
}

.resume .resume-item ul {
  padding-left: 20px;
  list-style: none;
  padding: 0;
}

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

.resume ul li i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

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

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: var(--background-color);
  border: 2px solid var(--accent-color);
}

.resume .download-buttons a {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.resume .download-buttons a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.resume .download-buttons a:first-of-type {
  margin-right: 20px;
}

@media (max-width: 768px) {
  .resume .download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .resume .download-buttons .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
  }

  .resume .download-buttons a:first-of-type {
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .resume .download-buttons .btn {
    padding: 10px 15px;
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Affiliation Section
--------------------------------------------------------------*/
.affiliation ul {
  padding-left: 20px;
  list-style: none;
  padding: 0;
}

.affiliation ul li i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
# Non-Technical Skills Section
--------------------------------------------------------------*/
.non-technical-skills ul {
  padding-left: 20px;
  list-style: none;
  padding: 0;
}

.non-technical-skills ul li i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
# Personal Qualities Section
--------------------------------------------------------------*/
.personal-qualities ul {
  padding-left: 20px;
  list-style: none;
  padding: 0;
}

.personal-qualities ul li i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
# Tools I Used Section
--------------------------------------------------------------*/
.tools-use .wrapper {
  padding-bottom: 35px;
}

.tools-use span {
  padding: 0;
  margin-top: 6px;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
}

.tools-use .c-tools-item {
  animation: fadein 1s;
  background: #fff;
  box-shadow: 0 15px 45px rgba(16, 30, 54, 0.08);
  padding: 37px 40px 37px 30px;
  position: relative;
  transition: 0.2s;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.tools-use .c-tools-item:hover {
  box-shadow: 0 5px 35px 0 rgba(0, 0, 0, 0.13);
  transform: translateY(-0.25em);
  cursor: pointer;
}

.tools-use .c-tools-item img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.tools-use h3 {
  color: var(--heading-color);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  margin-top: 25px;
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  margin: 0 10px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

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

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h3 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: 46%;
  font-size: 26px;
  top: 44%;
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  position: relative;
  cursor: pointer;
}

.services .service-item .icon {
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid var(--accent-color);
  margin-right: 20px;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 24px;
  line-height: 0;
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
}

.services .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .service-item .title a {
  color: var(--heading-color);
}

.services .service-item .title a:hover {
  color: var(--accent-color);
}

.services .service-item .description {
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

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

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 15px 15px;
  padding: 20px;
  background-color: var(--surface-color);
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid var(--surface-color);
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

.testimonials .swiper-wrapper {
  height: auto;
}

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

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Dev Diary Section
--------------------------------------------------------------*/
#dev-diary .flip-book {
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
  display: block;
  background-size: cover;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background-image: url("../img/dev-diary/background.jpg");
}

#dev-diary .page {
  padding: 20px;
  background-color: hsl(35, 55%, 98%);
  color: hsl(35, 35%, 35%);
  border: solid 1px hsl(35, 20%, 70%);
  overflow: hidden;
}

#dev-diary .page .page-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}

#dev-diary .page .page-content .page-header {
  height: 30px;
  font-size: 100%;
  text-transform: uppercase;
  text-align: center;
}

#dev-diary .page .page-content .page-image {
  height: 100%;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

#dev-diary .page .page-content .page-text {
  height: 100%;
  flex-grow: 1;
  font-size: 80%;
  text-align: justify;
  margin-top: 10px;
  padding-top: 10px;
  box-sizing: border-box;
  border-top: solid 1px hsl(35, 55%, 90%);
}

#dev-diary .page .page-text strong {
  color: #eb3578;
}

#dev-diary .page .page-content .page-footer {
  height: 30px;
  border-top: solid 1px hsl(35, 55%, 90%);
  font-size: 80%;
  color: hsl(35, 20%, 50%);
}

/* Left page styles */
#dev-diary .page.--left {
  border-right: 0;
  box-shadow: inset -7px 0 30px -7px rgba(0, 0, 0, 0.4);
}

/* Right page styles */
#dev-diary .page.--right {
  border-left: 0;
  box-shadow: inset 7px 0 30px -7px rgba(0, 0, 0, 0.4);
}

#dev-diary .page.--right .page-footer {
  text-align: right;
}

/* Hard page styles */
#dev-diary .page.hard {
  background-color: hsl(35, 50%, 90%);
  border: solid 1px hsl(35, 20%, 50%);
}

/* Cover page styles - Synced with website theme */
#dev-diary .page.page-cover {
  background: linear-gradient(135deg, var(--heading-color) 0%, #180161 100%);
  color: var(--contrast-color);
  border: none;
  position: relative;
  overflow: hidden;
}

#dev-diary .page.page-cover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

#dev-diary .page.page-cover .cover-background {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

#dev-diary .page.page-cover .cover-content {
  text-align: center;
  max-width: 80%;
}

#dev-diary .page.page-cover .cover-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  color: var(--accent-color);
  animation: float 3s ease-in-out infinite;
}

#dev-diary .page.page-cover .cover-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
  color: var(--contrast-color);
}

#dev-diary .page.page-cover .cover-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--accent-color);
}

#dev-diary .page.page-cover .cover-author {
  font-size: 1.1rem;
  margin-bottom: 10px;
  opacity: 0.8;
  font-weight: 500;
  color: var(--contrast-color);
}

#dev-diary .page.page-cover .cover-date {
  font-size: 1rem;
  opacity: 0.7;
  margin-bottom: 40px;
  color: var(--contrast-color);
}

#dev-diary .page.page-cover .cover-decoration {
  margin-top: 30px;
}

#dev-diary .page.page-cover .code-snippet {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 15px;
  text-align: left;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  border: 1px solid var(--accent-color);
}

#dev-diary .page.page-cover .code-line {
  display: block;
  margin-bottom: 5px;
  color: #a8e6cf;
}

#dev-diary .page.page-cover .code-line:last-child {
  margin-bottom: 0;
  color: var(--accent-color);
}

/* Animation for the icon */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Enhanced shadow for the cover */
#dev-diary .page.page-cover.page-cover-top {
  box-shadow: inset 0px 0 30px 0px rgba(0, 0, 0, 0.3),
    -2px 0 15px 2px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.2);
}

#dev-diary .page.page-cover.page-cover-bottom {
  box-shadow: inset 0px 0 30px 0px rgba(0, 0, 0, 0.3),
    10px 0 15px 0px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Additional existing styles for book container */
#dev-diary .book-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

#dev-diary .book-nav {
  text-align: center;
}

#dev-diary .book-nav button {
  margin: 0 10px;
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

#dev-diary .book-nav button:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

#dev-diary .book-nav button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

#dev-diary .page-jump {
  text-align: center;
  margin: 10px 0;
}

#dev-diary .page-jump input {
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 3px;
  text-align: center;
}

#dev-diary .page-jump button {
  padding: 5px 10px;
  background: #6c757d;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s;
}

#dev-diary .page-jump button:hover {
  background: #545b62;
}

/* Loading animation */
#dev-diary .book-loading {
  text-align: center;
  padding: 40px;
  color: #666;
}

#dev-diary .book-loading::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#dev-diary .page.page-cover.page-cover-bottom .back-cover-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--accent-color);
}

#dev-diary .page.page-cover.page-cover-bottom .back-cover-text {
  color: var(--contrast-color);
  font-size: 1rem;
  margin-bottom: 20px;
}

#dev-diary .page.page-cover.page-cover-bottom .back-cover-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px 0;
}

#dev-diary .page.page-cover.page-cover-bottom .back-cover-list li {
  margin-bottom: 6px;
  font-size: 1rem;
  color: var(--contrast-color);
}

#dev-diary .page.page-cover.page-cover-bottom .back-cover-quote {
  font-style: italic;
  color: var(--accent-color);
  margin-top: 10px;
  margin-bottom: 20px;
}

#dev-diary .page.page-cover.page-cover-bottom .tech-stack {
  margin-top: 10px;
}

#dev-diary .page.page-cover.page-cover-bottom .tech-tag {
  display: inline-block;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 12px;
  padding: 3px 12px;
  margin: 0 5px 5px 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Code Editor Styling for Dev Diary */
#dev-diary .page .page-text code {
  display: block;
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 10px 30px 30px 15px;
  border-radius: 8px;
  font-family: "Courier New", "Monaco", "Consolas", monospace;
  font-size: 14px;
  line-height: 1.6; /* Increased for better readability */
  overflow-x: hidden; /* Hide horizontal scroll */
  border: 1px solid #404040;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  margin: 0;
  white-space: pre-wrap; /* Allow wrapping instead of scrolling */
  tab-size: 4; /* Sets tab width to 4 spaces */
  margin-bottom: 15px;
}

/* Syntax highlighting for PHP code */
#dev-diary .page .page-text code .keyword {
  color: #66d9ef; /* Light blue for keywords */
}

#dev-diary .page .page-text code .variable {
  color: #fd971f; /* Orange for variables */
}

#dev-diary .page .page-text code .string {
  color: #e6db74; /* Yellow for strings */
}

#dev-diary .page .page-text code .comment {
  color: #75715e; /* Muted gray for comments */
}

#dev-diary .page .page-text code .function {
  color: #a6e22e; /* Green for function names */
}

#dev-diary .page .page-text code .operator {
  color: #f8f8f2; /* White for operators */
}

/* Add a subtle glow effect */
#dev-diary .page .page-text code:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease;
}

@media (max-width: 1024px) {
  #dev-diary .page.page-cover .cover-background {
    padding: 20px;
  }

  #dev-diary .page.page-cover .cover-content {
    max-width: 100%;
  }

  #dev-diary .page.page-cover .cover-title {
    margin-bottom: 5px;
  }

  #dev-diary .page.page-cover .cover-icon {
    margin-bottom: 10px;
  }

  #dev-diary .page.page-cover .cover-subtitle {
    margin-bottom: 15px;
  }

  #dev-diary .page.page-cover .cover-author {
    margin-bottom: 5px;
  }

  #dev-diary .page.page-cover .cover-date {
    margin-bottom: 20px;
  }

  #dev-diary .page.page-cover .cover-decoration {
    margin-top: 15px;
  }

  #dev-diary .page.page-cover .code-snippet {
    padding: 7px;
  }

  #dev-diary .page .page-text code {
    padding: 5px 15px 15px 7px;
  }

  #dev-diary .page.page-cover.page-cover-bottom .back-cover-title {
    margin-bottom: 7px;
  }

  #dev-diary .page.page-cover.page-cover-bottom .back-cover-list {
    margin: 5px 0 10px 0;
  }

  #dev-diary .page.page-cover.page-cover-bottom .back-cover-quote {
    margin-bottom: 10px;
  }

  #dev-diary .page.page-cover.page-cover-bottom .back-cover-text {
    margin-bottom: 10px;
  }

  #dev-diary .page .page-text code {
    padding: 8px 12px 20px 8px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  #dev-diary .book-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 10px;
    margin-bottom: 20px;
  }

  #dev-diary .book-nav button {
    flex: 1;
    margin: 0 5px;
    padding: 12px 15px;
    font-size: 14px;
    min-width: 80px;
  }

  #dev-diary .book-nav .page-info {
    flex: 0 0 auto;
    margin: 0 10px;
    font-weight: 600;
    color: var(--heading-color);
    white-space: nowrap;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #dev-diary .page.page-cover .cover-title {
    font-size: 2.5rem;
  }

  #dev-diary .page.page-cover .cover-icon {
    font-size: 3rem;
  }

  #dev-diary .page.page-cover .cover-subtitle {
    font-size: 1rem;
  }

  #dev-diary .page.page-cover .cover-author {
    font-size: 1rem;
  }

  #dev-diary .page.page-cover .code-snippet {
    font-size: 11px;
  }

  #dev-diary .page.page-cover.page-cover-bottom .back-cover-title {
    font-size: 1.5rem;
  }

  #dev-diary .page.page-cover.page-cover-bottom .back-cover-text {
    font-size: 0.8rem;
  }

  #dev-diary .page.page-cover.page-cover-bottom .tech-tag {
    font-size: 0.6rem;
  }

  #dev-diary .page.page-cover.page-cover-bottom .back-cover-list li {
    font-size: 0.8rem;
  }

  #dev-diary .page .page-text code {
    white-space: pre-wrap;
    font-size: 9px;
    padding: 0 8px 7px 3px;
  }

  #dev-diary .book-nav button {
    font-size: 14px;
  }

  #dev-diary .book-nav .page-info {
    font-size: 14px;
  }

  #dev-diary .page .page-text h3 {
    font-size: 20px;
  }

  #dev-diary .page .page-text p {
    margin-bottom: 10px;
  }

  #dev-diary .book-nav button {
    padding: 10px 12px;
    font-size: 12px;
    margin: 0 3px;
  }

  #dev-diary .book-nav .page-info {
    font-size: 12px;
    margin: 0 5px;
  }

  #dev-diary .book-nav {
    padding: 0 5px;
  }
}

@media (max-width: 375px) {
  #dev-diary .page.page-cover .cover-title {
    font-size: 2rem;
  }

  #dev-diary .page.page-cover .cover-icon {
    font-size: 2.5rem;
  }

  #dev-diary .page.page-cover .cover-subtitle {
    font-size: 0.8rem;
  }

  #dev-diary .page.page-cover .cover-author {
    font-size: 0.8rem;
  }

  #dev-diary .page.page-cover .code-snippet {
    font-size: 8px;
  }

  #dev-diary .page.page-cover.page-cover-bottom .back-cover-title {
    font-size: 1.2rem;
  }

  #dev-diary .page.page-cover.page-cover-bottom .back-cover-text {
    font-size: 0.7rem;
  }

  #dev-diary .page.page-cover.page-cover-bottom .tech-tag {
    font-size: 0.6rem;
  }

  #dev-diary .page.page-cover.page-cover-bottom .back-cover-list li {
    font-size: 0.6rem;
  }

  #dev-diary .page .page-text code {
    font-size: 8px;
  }

  #dev-diary .book-nav button {
    font-size: 13px;
  }

  #dev-diary .book-nav .page-info {
    font-size: 13px;
  }

  #dev-diary .page .page-text h3 {
    font-size: 15px;
  }

  #dev-diary .page .page-text p {
    margin-bottom: 5px;
  }

  #dev-diary .book-nav button {
    font-size: 10px;
  }

  #dev-diary .book-nav .page-info {
    font-size: 10px;
  }

  #dev-diary .book-nav #pageInfo {
    font-size: 12px;
  }

  #dev-diary .book-nav {
    padding: 0 5px;
    margin-bottom: 25px !important;
  }
}

@media (max-width: 320px) {
  #dev-diary .book-nav #pageInfo {
    font-size: 12px;
  }

  #dev-diary .page.page-cover.page-cover-bottom .tech-tag {
    font-size: 0.4rem;
  }

  #dev-diary .container:nth-child(2) {
    padding-left: 3px;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type="text"]:focus,
.contact .php-email-form input[type="email"]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type="text"]::placeholder,
.contact .php-email-form input[type="email"]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type="submit"] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

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

.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

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

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 85%);
}

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

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

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

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

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid
    color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

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

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}