/* =========================================
   Google Fonts
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&family=Manrope:wght@200..800&display=swap');

/* =========================================
   CSS Variables
========================================= */
:root {
  /* ========== Main colors (HSL - hue, saturation, and lightness) ========== */

  /* Blue - hsl(217, 85%, 74%); */
  /* Purple - hsl(245, 54%, 74%); */
  /* Teal - hsl(181, 47%, 49%); */
  /* Yellow - hsl(65, 60%, 70%); */
  /* Green - hsl(162, 60%, 65%); */
  /* Red - hsl(356, 67%, 70%); */
  /* Pink - hsl(330, 73%, 72%); */

  --hue: 217;
  --sat: 85%;
  --light: 74%;

  --primary-color: hsl(var(--hue), var(--sat), var(--light));
  /* primary */
  --white-color: hsl(var(--hue), 45%, 98%);
  /* white */
  --dark-color: hsl(var(--hue), 26%, 12%);
  /* dark */

  /* ======= Changeable colors for dark/light themes ======= */
  --color-01: hsl(var(--hue), var(--sat), var(--light));
  /* primary to dark */
  --color-02: hsl(var(--hue), 45%, 98%);
  /* white to dark */
  --color-03: hsl(var(--hue), 26%, 12%);
  /* dark to white */
  --color-04: hsl(var(--hue), 0%, 62%);
  /* light-graygray to dark-gray */
  --color-05: hsl(var(--hue), 26%, 12%);
  /* dark to primary */

  --body-color: hsl(250, 26%, 12%);
  /* dark to white */
  --hover-color: hsl(var(--hue), var(--sat), calc(var(--light) - 7%));

  /* ======= Background colors ======= */
  --bottom-nav-bg: hsl(var(--hue), 32%, 25%, 0.65);

  --card-bg: linear-gradient(120deg,
      hsl(var(--hue), 54%, 74%, 0.15),
      hsl(var(--hue), 54%, 74%, 0.1));
  --modal-backdrop-bg: hsl(var(--hue), 54%, 74%, 0.1);
  --footer-bg: linear-gradient(360deg,
      hsl(var(--hue), 54%, 74%, 0.15),
      hsl(var(--hue), 54%, 74%, 0.1));

  --scrollbar-color: hsl(var(--hue), 25%, 20%);
  --scrollbar-thumb: hsl(var(--hue), var(--sat), var(--light));
  --scrollbar-thumb-hover: hsl(var(--hue), var(--sat), calc(var(--light) - 7%));

  /* ======= Font and typography ======= */
  --body-font-family: 'Inter', sans-serif;

  /* ======= Font sizes ======= */
  --h1-font-size: 2.85rem;
  --h2-font-size: 2.25rem;
  --h3-font-size: 1.97rem;
  --h4-font-size: 1.43rem;
  --h5-font-size: 1.13rem;

  --xlarge-font-size: 1.48rem;
  --large-font-size: 1.23rem;
  --medium-font-size: 1.18rem;
  --base-font-size: 1.1rem;
  --small-font-size: 1.07rem;
  --tiny-font-size: 0.98rem;

  /* ======= Font weights ======= */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /* ======= Layering order(z-index) ======= */
  --z-minus: -1;
  --z-base: 0;
  --z-low: 1;
  --z-high: 10;
  --z-content: 100;
  --z-tooltip: 1000;
  --z-fixed: 1100;
  --z-overlay: 1110;
  --z-modal: 1990;
  --z-max: 9999;
}

/* ======= Light theme ======= */
.light-theme {
  /* ======= Changeable colors for dark/light themes ======= */
  --color-01: hsl(var(--hue), 26%, 12%);
  /* primary to dark */
  --color-02: hsl(var(--hue), 26%, 12%);
  /* white to dark */
  --color-03: hsl(var(--hue), 45%, 98%);
  /* dark to white */
  --color-04: hsl(var(--hue), 9%, 46%);
  /* light-graygray to dark-gray */
  --color-05: hsl(var(--hue), var(--sat), var(--light));
  /* dark to primary */

  --body-color: hsl(var(--hue), 45%, 98%);
  /* dark to white */

  /* ======= Background colors ======= */
  --bottom-nav-bg: hsl(var(--hue), 32%, 85%, 0.8);

  --card-bg: hsl(0 0% 100%);
  --modal-backdrop-bg: hsl(var(--hue), 50%, 12%, 0.5);
  --footer-bg: linear-gradient(360deg,
      hsl(var(--hue), var(--sat), var(--light)),
      hsl(var(--hue), var(--sat), var(--light), 0.75));

  --scrollbar-color: hsl(var(--hue), 9%, 60%);
  --scrollbar-thumb: hsl(var(--hue), 9%, 25%);
  --scrollbar-thumb-hover: hsl(var(--hue), 9%, 17%);

  .bottom-nav .menu-hide-btn {
    box-shadow: 0 2px 4px hsl(0, 0%, 1%, 0.25);
  }

  .pro-card,
  .skill-card,
  .service-card,
  .portfolio-card,
  .contact-form-body {
    box-shadow: 0 2px 8px hsl(0, 0%, 1%, 0.05);
  }

  .contact-icon,
  .contact-social-links li {
    box-shadow: 0 2px 4px hsl(0, 0%, 1%, 0.1);
  }

  .sue-footer .copy-right {
    color: hsl(var(--hue), 26%, 30%);
  }

  .sue-footer .copy-right a {
    color: hsl(var(--hue), 26%, 30%);
  }

  .sue-footer .copy-right a:hover {
    color: hsl(var(--hue), 0%, 0%);
  }

  .to-top-btn {
    background: hsl(var(--hue), 26%, 12%, 0.2);
  }
}

/* =========================================
   Reset / Normalize
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--body-font-family);
}

ul,
li {
  list-style: none;
}

a {
  color: var(--color-04);
  text-decoration: none;
  cursor: pointer;
}

/* =========================================
   Base Styles
========================================= */
html {
  scroll-behavior: smooth;
}

body {
  color: var(--color-04);
  background: var(--body-color);
  transition: 0.3s;
}

/* =========================================
   Reusable Styles
========================================= */
.sue-section {
  position: relative;
  overflow: hidden;
}

.sue-container {
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
}

.sue-sub-container {
  padding-top: 7em;
  padding-bottom: 5em;
}

.sue-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.section-title {
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  margin-bottom: 95px;
}

.section-title h3 {
  color: var(--color-01);
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--color-04);
  font-size: var(--base-font-size);
  font-weight: var(--font-regular);
}

.section-content {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 75px;
}

/* =========================================
   Components
========================================= */

/* ========== Page scroll bar ========== */
::-webkit-scrollbar {
  width: 10px;
  background: var(--scrollbar-color);
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 25px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

/* ========== Customized cursor ========== */

/* ========== To top button with scroll indicator bar ========== */
.to-top-btn {
  z-index: var(--z-fixed);
  position: fixed;
  background: hsl(var(--hue), 54%, 74%, 0.2);
  width: 2px;
  height: 100px;
  bottom: 25px;
  right: -30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.to-top-btn.active {
  right: 30px;
}

.to-top-btn a {
  color: var(--color-01);
  transition: 0.3s ease;
}

.to-top-btn:hover a {
  color: var(--hover-color);
}

.to-top-btn a span {
  position: absolute;
  left: 0;
  bottom: 155px;
  transform: rotateZ(90deg);
  transform-origin: left;
  font-size: 0.85rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.scroll-indicator-bar {
  position: absolute;
  background: var(--color-01);
  width: 2px;
  height: auto;
  opacity: 0.5;
}

/* ========== Buttons ========== */
.sue-main-btn {
  width: fit-content;
  padding: 14px 30px;
  border-radius: 35px;
  cursor: pointer;
  transition: 0.3s;
}

.sue-main-btn:hover {
  color: var(--white-color);
  background: var(--hover-color);
  border: 2px solid var(--hover-color);
}

.sue-main-btn a {
  color: var(--color-01);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  transition: 0.3s;
}

.sue-main-btn:hover a {
  color: var(--white-color);
}

.border-btn {
  border: 2px solid var(--color-01);
}

.fill-btn {
  background: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.fill-btn a {
  color: var(--dark-color);
}

/* =========================================
   Header
========================================= */
.sue-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 0;
  z-index: var(--z-fixed);
  transition: 0.3s ease;
}

.sue-header.shrink {
  background: var(--body-color);
  padding: 12px 0;
  box-shadow: 0 0 10px hsl(var(--hue), 4%, 15%, 0.1);
}

.sue-header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.legacy-site-link {
  color: var(--color-02);
}


.sue-logo {
  color: var(--color-02);

}

.sue-logo a {
  font-size: 1.6rem;
  font-weight: var(--font-bold);
  letter-spacing: -3px;
  transition: 0.3s ease;
}

.sue-logo a:hover {
  color: var(--hover-color);
}

.sue-logo a span {
  font-weight: var(--font-light);
}

.header-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 25px;
}

.lets-talk-icon {
  display: none;
  color: var(--color-01);
  font-size: var(--h3-font-size);
  cursor: pointer;
  transition: 0.3s ease;
}

.lets-talk-icon:hover {
  color: var(--hover-color);
}

/* ========== Dark/Light theme buttons ========== */
.theme-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 27px;
  cursor: pointer;
  transition: 0.3s ease;
}

.theme-btn i {
  position: absolute;
  color: var(--color-01);
  font-size: var(--h3-font-size);
  cursor: pointer;
  transition: 0.3s ease;
}

.theme-btn:hover i {
  color: var(--hover-color);
  transform: rotate(-15deg);
}

/* .theme-btn .moon-icon {
  display: none;
  opacity: 0;
} */

.theme-btn.active-sun-icon .moon-icon,
.theme-btn .sun-icon {
  opacity: 1;
  transition: 0.3s ease;
}

.theme-btn.active-sun-icon .sun-icon,
.theme-btn .moon-icon {
  opacity: 0;
  transition: 0.3s ease;
}

/* =========================================
   Bottom navigation menu
========================================= */
.bottom-nav-container {
  position: relative;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-fixed);
  /* bottom: 50px; */
  bottom: -75px;
  opacity: 0;
  transition: 0.5s ease, 0.3s ease;
  transition-property: bottom, opacity;
}

.bottom-nav.active {
  bottom: 50px;
  opacity: 1;
  transition: 0.5s ease, 0.3s ease;
  transition-property: bottom, opacity;
}

.bottom-nav-inner {
  position: relative;
}

.bottom-nav .menu {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 25px;
  background: var(--bottom-nav-bg);
  backdrop-filter: blur(10px);
  padding: 16px 35px;
  border-bottom: 1px solid hsl(var(--hue), 45%, 98%, 0.1);
  border-left: 1px solid hsl(var(--hue), 45%, 98%, 0.1);
  border-radius: 50px;
  /* display: none; */
}

.bottom-nav .menu li a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.bottom-nav .menu li a i {
  color: var(--color-02);
  font-size: var(--h4-font-size);
  padding: 10px;
  border-radius: 50%;
  transition: 0.3s ease;
}

.bottom-nav .menu li:hover a i {
  color: var(--white-color);
  background: var(--hover-color);
}

.bottom-nav .menu .current i {
  color: var(--dark-color);
  background: var(--primary-color);
}

.bottom-nav .menu li a span {
  position: absolute;
  z-index: var(--z-tooltip);
  color: var(--dark-color);
  background: var(--primary-color);
  font-size: var(--tiny-font-size);
  font-weight: var(--font-medium);
  padding: 3px 10px;
  border-radius: 5px;
  transform: translateY(-53px);
  pointer-events: none;
  opacity: 0;
}

.bottom-nav .menu li:hover a span {
  opacity: 1;
}

.bottom-nav .menu li a span::before {
  content: '';
  position: absolute;
  z-index: var(--z-minus);
  background: var(--primary-color);
  width: 10px;
  height: 10px;
  left: 50%;
  bottom: -8px;
  transform: rotate(45deg) translateX(-50%);
}

.bottom-nav .menu-hide-btn {
  position: absolute;
  padding: 2px;
  top: -5%;
  right: 0;
  z-index: var(--z-fixed);
  color: var(--dark-color);
  font-size: var(--h4-font-size);
  background: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease;
  pointer-events: none;
  opacity: 0;
}

.menu-hide-btn.active {
  pointer-events: all;
  opacity: 1;
}

.bottom-nav .menu-hide-btn:hover {
  color: var(--white-color);
  background: var(--hover-color);
}

.menu-show-btn {
  position: fixed;
  z-index: var(--z-fixed);
  background: var(--bottom-nav-bg);
  backdrop-filter: blur(10px);
  width: 85px;
  height: 50px;
  border-bottom: 1px solid hsl(var(--hue), 45%, 98%, 0.1);
  border-left: 1px solid hsl(var(--hue), 45%, 98%, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 5px;
  translate: -50% 0;
  left: 50%;
  /* bottom: 50px; */
  bottom: -75px;
  opacity: 0;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.5s ease, 0.3s ease;
  transition-property: bottom, opacity;
  overflow: hidden;
  animation: wiggle 2s linear infinite;
  animation-delay: 1s;
}

.menu-show-btn.active {
  bottom: 50px;
  opacity: 1;
  transition: 0.5s ease, 0.3s ease;
  transition-property: bottom, opacity;
}

@keyframes wiggle {

  0%,
  5% {
    transform: rotateZ(0);
  }

  15% {
    transform: rotateZ(-15deg);
  }

  20% {
    transform: rotateZ(10deg);
  }

  25% {
    transform: rotateZ(-10deg);
  }

  30% {
    transform: rotateZ(6deg);
  }

  35% {
    transform: rotateZ(-4deg);
  }

  40%,
  100% {
    transform: rotateZ(0);
  }
}

.menu-show-btn .bar-01,
.menu-show-btn .bar-02 {
  width: 40px;
  height: 4px;
  background: var(--primary-color);
  transition: 0.15s ease;
}

.menu-show-btn:hover .bar-01,
.menu-show-btn:hover .bar-02 {
  background: var(--hover-color);
}

/* =========================================
   Home
========================================= */
.home-container {
  height: 100vh;
}

.home-container .sue-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 25px;
}

.avatar-img {
  position: relative;
  width: 425px;
  height: 425px;
}

.avatar-img img {
  position: absolute;
  border-radius: 12px;
  width: 100%;
}

.home-social {
  position: absolute;
  left: 0;
}

.home-social span {
  position: absolute;
  left: 10px;
  color: var(--color-01);
  font-size: var(--tiny-font-size);
  white-space: nowrap;
  transform: rotateZ(-90deg);
  transform-origin: left;
}

.home-social .social-line {
  position: absolute;
  width: 1px;
  height: 100%;
  background: var(--color-01);
  margin-top: 37px;
  margin-bottom: 25px;
  margin-left: 10px;
}

.home-social .social-icons {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.home-social .social-icons li a {
  color: var(--color-01);
  font-size: var(--xlarge-font-size);
  transition: 0.3s ease;
}

.home-social .social-icons li a:hover {
  color: var(--hover-color);
}

.avatar-container .hire-btn-01 {
  display: none;
}

.avatar-info {
  position: relative;
}

.avatar-info .text-content {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.avatar-info .hello-text {
  font-size: var(--base-font-size);
  font-weight: var(--font-semi-bold);
}

.avatar-info .my-name {
  color: var(--color-02);
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
}

.avatar-info .what-i-do {
  font-size: var(--base-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 35px;
}

.home-scroll-btn {
  position: absolute;
  right: -5px;
  color: var(--color-01);
  display: grid;
  justify-items: center;
  row-gap: 3px;
  animation: up-down 1.5s linear infinite;
  animation-delay: 1.85s;
}

@keyframes up-down {
  0% {
    transform: translateY(8px);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(8px);
  }
}

.home-scroll-btn:hover {
  color: var(--hover-color);
}

.home-scroll-btn div {
  font-size: var(--tiny-font-size);
  font-weight: var(--font-regular);
  writing-mode: vertical-lr;
  text-orientation: mixed;
  white-space: nowrap;
  transform: rotate(180deg);
  margin-top: 7px;
}

.home-scroll-btn i {
  font-size: var(--h2-font-size);
}

/* =========================================
   About Me
========================================= */
.about-img {
  position: relative;
  width: 35%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.about-img img {
  width: 100%;
  border-radius: 15px;
}

.about-details {
  width: 65%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.about-info .iam {
  color: var(--color-02);
  font-size: var(--h4-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 30px;
}

.about-description {
  font-size: var(--base-font-size);
  font-weight: var(--font-regular);
  line-height: 25px;
}

.pro-list {
  position: relative;
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  column-gap: 10px;
  row-gap: 12px;
  margin: 38px 0;
}

.pro-card {
  background: var(--card-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 10px;
  padding: 35px 25px;
  text-align: left;
  border-radius: 5px;
}

.pro-card span {
  color: var(--primary-color);
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
}

.pro-card p {
  color: var(--color-02);
  font-size: var(--tiny-font-size);
  font-weight: var(--font-regular);
  line-height: 20px;
  max-width: 100px;
}

.about-buttons {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 25px;
}

/* =========================================
   My Resume
========================================= */
.resume-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  column-gap: 30px;
  row-gap: 30px;
  margin-bottom: 100px;
}

.resume-tabs .tab-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 5px;
  font-size: var(--medium-font-size);
  font-weight: var(--font-medium);
  color: var(--color-01);
  padding: 12px 0;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s ease;
}

.resume-tabs .tab-btn:hover {
  color: var(--hover-color);
}

.resume-tabs .tab-btn i {
  font-size: var(--xlarge-font-size);
  margin-right: 3px;
}

.resume-tabs .tab-btn.active {
  color: var(--dark-color);
  background: var(--primary-color);
  padding: 12px 15px;
}

.resume-tabs .tab-btn.active:hover {
  color: var(--white-color);
  background: var(--hover-color);
}

.resume-tab-content {
  position: relative;
  /* display: flex; */
  justify-content: center;
  width: 100%;
  margin-bottom: 25px;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.resume-tab-content.active {
  display: flex;
  opacity: 1;
}

.education .resume-line {
  background: var(--primary-color);
  width: 2px;
  height: 380px;
}

.resume-items {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 125px;
}

.resume-items .item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.resume-items .item:before {
  content: '';
  position: absolute;
  background: var(--primary-color);
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.resume-items .item .info {
  position: absolute;
  display: flex;
  align-items: center;

  column-gap: 25px;
}

.resume-items .item-left .info {
  right: 35px;
}

.resume-items .item-right .info {
  left: 50px;
}

.resume-items .item .info i {
  color: var(--primary-color);
  font-size: var(--h2-font-size);
}

.resume-items .item .info h5 {
  color: var(--color-02);
  font-size: var(--h5-font-size);
  font-weight: var(--font-semi-bold);
  white-space: break-spaces;
  margin-bottom: 10px;
  margin-top: 10px;
}

.resume-items .item .info p {
  color: var(--color-04);
  font-size: var(--small-font-size);
  white-space: nowrap;
  margin-bottom: 18px;
}

.resume-items .item .info span {
  position: relative;
  background: var(--primary-color);
  color: var(--dark-color);
  font-size: var(--font-medium);
  padding: 3px 12px;
  border-radius: 3px;
}

.experience .resume-line {
  background: var(--primary-color);
  width: 2px;
  height: 250px;
}

.education .experience {
  transform: translateX(35px);
}

.skill-container {
  max-width: 100%;
  display: grid;
  place-items: start;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 50px;
  row-gap: 50px;
}

.skill-card {
  position: relative;
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px 25px;
  border-bottom: 5px solid var(--primary-color);
  border-radius: 10px;
}

.skill-title {
  display: flex;
  align-items: center;
  column-gap: 10px;
  margin-bottom: 50px;
}

.skill-title i {
  font-size: var(--xlarge-font-size);
  color: var(--primary-color);
}

.skill-title span {
  color: var(--color-02);
  font-size: var(--medium-font-size);
  font-weight: var(--font-semi-bold);
}

.skill-categories {
  display: grid;
  place-items: center;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 65px;
  row-gap: 35px;
  padding: 0 50px;
}

.skill {
  display: flex;
  column-gap: 15px;
}

.skill-info {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
}

.skill i {
  color: var(--primary-color);
  font-size: var(--xlarge-font-size);
}

.skill-info h5 {
  color: var(--color-02);
  font-size: var(--h5-font-size);
  font-weight: var(--font-semi-bold);
}

.skill-info span {
  color: var(--color-04);
  font-size: var(--tiny-font-size);
}

/* =========================================
   Services
========================================= */
.service-container {
  display: grid;
  place-items: center;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 35px;
  row-gap: 38px;
}

.service-card {
  position: relative;
  background: var(--card-bg);
  width: 275px;
  height: 285px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px;
  border-bottom: 5px solid var(--primary-color);
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
}

.service-icon {
  color: var(--primary-color);
  font-size: 4.15rem;
}

.service-info {
  color: var(--color-02);
  font-size: var(--h4-font-size);
  font-weight: var(--font-semi-bold);
  white-space: nowrap;
  max-width: 150px;
  margin-top: 20px;
  margin-bottom: 25px;
}

.service-info-certificate {
  position: relative;
  max-width: 250px;
  width: 100%;
}

.service-info-certificate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.service-see-more {
  font-size: var(--base-font-size);
  color: var(--color-01);
  cursor: pointer;
  transition: 0.3s;
}

.service-see-more:hover {
  color: var(--hover-color);
}

.service-see-more i {
  font-size: var(--base-font-size);
  transition: margin-left 0.3s ease;
}

.service-see-more:hover i {
  margin-left: 3px;
}

.service-modal-backdrop {
  position: fixed;
  top: 100px;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--modal-backdrop-bg);
  backdrop-filter: blur(10px);
  z-index: var(--z-overlay);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-modal-backdrop.active {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.service-modal {
  position: relative;
  background: var(--color-03);
  width: 825px;
  height: fit-content;
  margin: 75px 25px;
  padding: 50px 25px 50px 45px;
  border-bottom: 5px solid var(--primary-color);
  border-radius: 15px;
  overflow: hidden;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.service-modal.active {
  transform: scale(1);
  opacity: 1;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.modal-close-btn {
  position: absolute;
  top: 0;
  right: 0;
  margin: 15px;
  color: var(--color-01);
  font-size: var(--large-font-size);
  cursor: pointer;
  transition: 0.3s ease;
}

.modal-close-btn:hover {
  color: var(--hover-color);
}

.service-modal .modal-content {
  display: flex;
  flex-direction: column;
  row-gap: 25px;
  max-height: 500px;
  margin-top: 50px;
  padding: 10px;
  overflow-y: auto;
}

.modal-content::-webkit-scrollbar {
  background: hsl(var(--hue), 25%, 20%);
  width: 5px;
  border-radius: 5px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--hover-color);
}

.service-modal .modal-title {
  max-width: 600px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.service-modal .modal-title h3 {
  color: var(--color-01);
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
}

.service-modal .modal-title p {
  color: var(--color-04);
  font-size: var(--small-font-size);
  font-weight: var(--font-regular);
  margin-top: 30px;
  margin-bottom: 20px;
}

.service-modal .modal-content h4 {
  color: var(--color-02);
  font-size: var(--h4-font-size);
  font-weight: var(--font-semi-bold);
  margin-top: 15px;
}

.modal-content .my-services li {
  display: flex;
  margin-bottom: 25px;
}

.modal-content .my-services li i {
  color: var(--primary-color);
  font-size: var(--base-font-size);
  margin-right: 10px;
}

.modal-content .my-services li p {
  color: var(--color-02);
  font-size: var(--base-font-size);
  line-height: 22px;
}

/* =========================================
   Portfolio
========================================= */
.portfolio-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 30px;
  row-gap: 15px;
  margin-bottom: 85px;
}

.portfolio-tabs .tab-btn {
  color: var(--color-01);
  font-size: var(--medium-font-size);
  font-weight: var(--font-medium);
  padding: 12px 0;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s ease;
}

.portfolio-tabs .tab-btn:hover {
  color: var(--hover-color);
}

.portfolio-tabs .tab-btn.active {
  color: var(--dark-color);
  background: var(--primary-color);
  padding: 12px 25px;
}

.portfolio-tabs .tab-btn.active:hover {
  color: var(--white-color);
  background: var(--hover-color);
}

.portfolio-container {
  display: grid;
  place-items: center;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 50px;
  row-gap: 55px;
}

.portfolio-container .card-with-modal {
  display: block;
}

.portfolio-container .card-with-modal.hidden {
  display: none;
}

.portfolio-card {
  position: relative;
  background: var(--card-bg);
  width: 350px;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s ease;
}

.portfolio-card .card-img {
  width: 100%;
}

.portfolio-card .card-img img {
  width: 100%;
}

.portfolio-card .card-info {
  position: relative;
  padding: 10px 15px 20px 20px;
}

.portfolio-card .card-info h4 {
  color: var(--color-02);
  font-size: var(--medium-font-size);
  font-weight: var(--font-medium);
  margin-top: 5px;
}

.portfolio-card .card-info span {
  color: var(--color-04);
  font-size: var(--tiny-font-size);
  font-weight: var(--font-regular);
  text-transform: uppercase;
}

.portfolio-card .card-info i {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 15px;
  color: var(--primary-color);
  font-size: var(--large-font-size);
  transform: scale(0);
  transition: 0.3s ease;
}

.portfolio-card:hover .card-info i {
  transform: scale(1);
}

.portfolio-modal-backdrop {
  z-index: var(--z-overlay);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--modal-backdrop-bg);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-modal-backdrop.active {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.portfolio-modal-backdrop::-webkit-scrollbar {
  background: hsl(var(--hue), 25%, 20%);
  width: 8px;
  border-radius: 5px;
}

.portfolio-modal-backdrop::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

.portfolio-modal-backdrop::-webkit-scrollbar-thumb:hover {
  background: var(--hover-color);
}

.portfolio-modal {
  position: relative;
  top: 100px;
  background: var(--color-03);
  max-width: 900px;
  height: fit-content;
  margin: 75px 25px;
  padding: 50px 45px;
  border-radius: 15px;
  transform: scale(0);
  opacity: 0;
  transition: 0.3s ease;
}

.portfolio-modal.active {
  transform: scale(1);
  opacity: 1;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.portfolio-modal .modal-content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  row-gap: 25px;
}

.portfolio-modal .modal-img {
  width: 100%;
}

.portfolio-modal .modal-img img {
  width: 100%;
  border-radius: 10px;
}

.portfolio-modal .modal-content .modal-title {
  color: var(--color-02);
  font-size: var(--h4-font-size);
  font-weight: var(--font-semi-bold);
}

.portfolio-modal .modal-content .description {
  color: var(--color-04);
  font-size: var(--base-font-size);
  font-weight: var(--font-regular);
}

/* =========================================
   Testimonials
========================================= */
.testimonials {
  position: relative;
  width: 100%;
  margin-top: 12em;
}

.swiper {
  width: 100%;
  max-width: 1050px;
  height: 275px;
}

.swiper-slide {
  text-align: center;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 45px;
}

.swiper-slide .client-img {
  width: 185px;
}

.swiper-slide .client-img img {
  width: 100%;
  border-radius: 10px;
}

.swiper-slide .client-details {
  max-width: 500px;
  text-align: left;
}

.swiper-slide .client-details h4 {
  color: var(--color-02);
  font-size: var(--xlarge-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 5px;
}

.swiper-slide .client-details span {
  font-size: var(--small-font-size);
  font-weight: var(--font-regular);
}

.swiper-slide .client-details p {
  color: var(--color-02);
  font-size: var(--base-font-size);
  font-weight: var(--font-regular);
  margin-top: 15px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  display: none;
}

.swiper-button-next i,
.swiper-button-prev i {
  font-size: var(--h1-font-size);
  color: var(--primary-color);
  transition: 0.3s ease;
}

.swiper-button-next i:hover,
.swiper-button-prev i:hover {
  color: var(--hover-color);
}

.swiper-pagination-bullet,
.swiper-pagination-bullet-active {
  background: var(--primary-color);
}

/* =========================================
   Contact Me
========================================= */
.contact-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 60px;
}

.contact-info h3 {
  color: var(--color-02);
  font-size: var(--base-font-size);
  font-weight: var(--medium-font-si ze);
  text-transform: uppercase;
  margin-bottom: 48px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  row-gap: 60px;
  margin-bottom: 50px;
}

.contact-item {
  display: flex;
  align-items: center;
  column-gap: 25px;
}

.contact-icon {
  color: var(--primary-color);
  font-size: var(--h3-font-size);
  background: var(--card-bg);
  width: 75px;
  height: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  transition: 0.3s ease;
}

.contact-method {
  display: flex;
  flex-direction: column;
  row-gap: 7px;
}

.contact-method span {
  font-size: var(--tiny-font-size);
  text-transform: uppercase;
}

.contact-method h4 {
  color: var(--color-02);
  font-size: var(--base-font-size);
  font-weight: var(--medium-font-size);
}

.contact-method a {
  color: var(--primary-color);
  transition: 0.3s ease;
}

.contact-method a:hover {
  color: var(--hover-color);
}

.contact-method a span {
  font-size: var(--small-font-size);
  text-transform: none;
}

.contact-method a i {
  font-size: var(--medium-font-size);
}

.contact-social-links {
  width: 100%;
  display: flex;
  column-gap: 20px;
}

.contact-social-links li {
  font-size: var(--h3-font-size);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background: var(--card-bg);
  cursor: pointer;
  border-radius: 50%;
  transition: 0.3s ease;
}

.contact-social-links li a {
  color: var(--primary-color);
  transition: 0.3s ease;
}

.contact-social-links li:hover a {
  color: var(--hover-color);
}

.contact-form-container {
  position: relative;
  background: var(--card-bg);
  width: 100%;
  padding: 50px;
  border-radius: 50px;
  transition: 0.3s ease;
}

.contact-form-container h2 {
  color: var(--color-02);
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  margin-bottom: 30px;
}

.contact-form-container h2 span {
  color: var(--primary-color);
}

.contact-form-container p {
  font-size: var(--tiny-font-size);
  margin-bottom: 45px;
}

.contact-form-container form {
  display: flex;
  flex-direction: column;
  row-gap: 15px;
}

.contact-form-container form .input-group input,
.contact-form-container form .input-group textarea {
  width: 100%;
  color: var(--color-02);
  font-size: var(--small-font-size);
  background: hsl(var(--hue), 54%, 74%, 0.1);
  width: 100%;
  border: none;
  outline: none;
  padding: 17px 20px;
  border-radius: 10px;
}

.contact-form-container form .input-group textarea {
  resize: none;
  height: 185px;
}

.contact-form-container form .send-message {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.contact-form-container .input-group button {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  width: 200px;
  padding: 16px 30px;
  transition: 0.3s ease;
}

.contact-form-alert {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.contact-form-alert.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  cursor: pointer;
}


.contact-form-alert span {
  color: var(--color-02);
  font-size: var(--tiny-font-size);
  font-weight: var(--font-regular);
}

.contact-form-alert i {
  color: var(--primary-color);
  font-size: var(--h3-font-size);
}

/* =========================================
   Footer
========================================= */
.sue-footer {
  background: var(--footer-bg);
  padding-top: 100px;
  padding-bottom: 165px;
}

.sue-footer .sue-container .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  row-gap: 40px;
}

.footer-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 22px;
  row-gap: 22px;
}

.footer-menu .menu-item a {
  color: var(--color-01);
  font-size: calc(var(--base-font-size) - 0.07rem);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 15px;
  transition: 0.3s ease;
}

.footer-menu .menu-item a:hover {
  color: var(--color-03);
  background: var(--color-01);
}

.sue-footer .copy-right {
  color: var(--color-04);
  font-size: var(--small-font-size);
  margin-top: 10px;
}

.sue-footer .copy-right a:hover {
  color: var(--color-01);
  transition: 0.3s ease;
}

/* =========================================
   Media Queries (max-width: 1600px)
========================================= */
@media screen and (max-width: 1600px) {
  .sue-container {
    max-width: 1075px;
  }

  .avatar-img {
    width: 385px;
    height: 385px;
  }
}

/* =========================================
   Media Queries (max-width: 1200px)
========================================= */
@media screen and (max-width: 1200px) {
  .sue-container {
    max-width: 100%;
    margin-left: 50px;
    margin-right: 50px;
  }

  .section-content {
    flex-direction: column;
    column-gap: 0;
    row-gap: 50px;
  }

  .about-img {
    width: 375px;
  }

  .about-details {
    width: unset;
  }

  .about-info {
    display: grid;
    place-items: center;
  }

  .about-description {
    max-width: 100%;
  }

  .about-buttons {
    width: 100%;
    justify-content: center;
  }

  .skill-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .portfolio-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================
   Media Queries (max-width: 992px)
========================================= */
@media screen and (max-width: 992px) {
  .avatar-container {
    flex-direction: column-reverse;
    row-gap: 10px;
  }

  .avatar-container .hire-btn-01 {
    display: block;
  }

  .avatar-container .hire-btn-03 {
    display: none;
  }

  .avatar-img {
    width: 350px;
  }

  .avatar-info .text-content {
    align-items: center;
  }

  .service-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .swiper {
    max-width: 700px;
    height: 450px;
  }

  .swiper-slide {
    flex-direction: column;
  }

  .swiper-slide .client-img {
    margin-bottom: 35px;
  }

  .swiper-slide .client-details {
    text-align: center;
  }

  .contact-container {
    flex-direction: column;
    row-gap: 75px;
  }

  .contact-info {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .contact-social-links {
    justify-content: center;
  }
}

/* =========================================
   Media Queries (max-width: 768px)
========================================= */
@media screen and (max-width: 768px) {
  :root {
    /* ======= Font sizes ======= */
    --h1-font-size: 2.3rem;
    --h2-font-size: 1.97rem;
    --h3-font-size: 1.75rem;
    --h4-font-size: 1.3rem;
    --h5-font-size: 1.05rem;

    --xlarge-font-size: 1.28rem;
    --large-font-size: 1.13rem;
    --medium-font-size: 1.06rem;
    --base-font-size: 1rem;
    --small-font-size: 0.93rem;
    --tiny-font-size: 0.88rem;
  }

  .sue-container {
    margin-left: 25px;
    margin-right: 25px;
  }

  .sue-logo {
    font-size: 2.35rem;
  }

  .lets-talk-btn {
    display: none;
  }

  .lets-talk-icon {
    display: block;
    font-size: 1.6rem;
  }

  .theme-btn {
    font-size: 1.6rem;
  }

  .bottom-nav {
    bottom: -30px;
  }

  .bottom-nav.active {
    bottom: 30px;
  }

  .bottom-nav .menu li a i {
    font-size: var(--xlarge-font-size);
  }

  .home-social .social-line {
    margin-top: 32px;
    margin-bottom: 20px;
  }

  .resume-items .item .info {

    column-gap: 15px;
  }

  .resume-items .item-left .info {
    right: 25px;
  }

  .resume-items .item-right .info {
    right: 75px;
  }

  .resume-items .item .info i {
    display: none;
  }

  .skill-card {
    padding: 50px 0;
  }

  .skill i {
    font-size: var(--large-font-size);
  }

  .service-container {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 30px;
  }

  .service-card {
    width: 245px;
    height: 250px;
  }

  .service-icon {
    font-size: 3.25rem;
  }

  .service-info h4 {
    white-space: wrap;
    max-width: unset;
  }

  .service-modal {
    padding: 50px 20px;
  }

  .portfolio-container {
    row-gap: 35px;
  }

  .portfolio-modal {
    padding: 50px 20px;
  }

  .swiper-button-next i,
  .swiper-button-prev i {
    font-size: 4rem;
  }

  .contact-form-body {
    padding: 35px;
    border-radius: 10px;
  }

  .footer-menu {
    column-gap: 10px;
  }

  .to-top-btn.active {
    right: 20px;
  }
}

/* =========================================
   Media Queries (max-width: 480px)
========================================= */
@media screen and (max-width: 480px) {
  :root {
    /* ======= Font sizes ======= */
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.9rem;
    --h3-font-size: 1.65rem;
    --h4-font-size: 1.25rem;
    --h5-font-size: 1.02rem;

    --xlarge-font-size: 1.25rem;
    --large-font-size: 1.1rem;
    --medium-font-size: 1.03rem;
    --base-font-size: 1rem;
    --small-font-size: 0.9rem;
    --tiny-font-size: 0.85rem;
  }

  .sue-container {
    margin-left: 15px;
    margin-right: 15px;
  }

  .sue-header {
    padding: 15px 0;
  }

  .header-btns {
    column-gap: 15px;
  }

  .home-container .sue-wrapper {
    flex-direction: column-reverse;
    top: 120px;
  }

  .home-social {
    position: relative;
  }

  .home-social span {
    display: none;
  }

  .home-social .social-line {
    display: none;
  }

  .home-social .social-icons {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 35px;
  }

  /* .home-scroll-btn {
    display: none;
  } */

  .avatar-img {
    width: 85%;
    height: fit-content;
    padding-bottom: 94%;
  }

  .bottom-nav {
    width: 100%;
    padding: 0 20px;
  }

  .bottom-nav .menu {
    padding: 17px 25px;
    justify-content: space-between;
    column-gap: 7px;
    width: 100%;
  }

  .bottom-nav .menu li a i {
    font-size: var(--large-font-size);
    padding: 7px;
  }

  .bottom-nav .menu-hide-btn {
    font-size: var(--large-font-size);
  }

  .menu-show-btn {
    width: 75px;
    height: 45px;
    row-gap: 4px;
    bottom: -30px;
  }

  .menu-show-btn.active {
    bottom: 30px;
  }

  .menu-show-btn .bar-01,
  .menu-show-btn .bar-02 {
    width: 37px;
    height: 3px;
  }

  .about-img {
    width: 100%;
    max-width: 375px;
  }

  .pro-list {
    grid-template-columns: repeat(auto-fill, minmax(160px, 2fr));
  }

  .pro-card {
    flex-direction: column;
    row-gap: 3px;
  }

  .pro-card span {
    font-size: var(--h3-font-size);
  }

  .pro-card p {
    text-align: center;
  }

  .about-buttons {
    column-gap: 15px;
  }

  .resume-tabs {
    flex-wrap: wrap;
    row-gap: 20px;
  }

  .resume-items .item .info {
    width: 140px;
  }

  .resume-items .item-left .info {
    right: 20px;
  }

  .resume-items .item-right .info {
    left: 45px;
  }

  .resume-items .item .info p {
    white-space: break-spaces;
  }

  .skill-container {
    row-gap: 35px;
  }

  .skill-card {
    padding: 35px 0;
  }

  .skill-title {
    margin-bottom: 35px;
  }

  .skill-categories {
    column-gap: 35px;
    padding: 0 25px;
  }

  .service-container {
    width: 100%;
  }

  .card-with-modal {
    width: 100%;
  }

  .service-card {
    margin: 0 auto;
  }

  .service-modal {
    padding: 50px 15px;
  }

  .portfolio-container {
    row-gap: 25px;
    width: 100%;
  }

  .portfolio-card {
    width: 100%;
  }

  .portfolio-modal {
    padding: 65px 20px;
  }

  .contact-details {
    row-gap: 35px;
  }

  .contact-social-links li {
    font-size: var(--large-font-size);
    width: 75px;
    height: 75px;
  }

  .contact-form-body {
    padding: 35px 20px;
  }

  .contact-form-body h2 {
    text-align: center;
  }

  .contact-form-body .input-group {
    display: grid;
    place-items: center;
  }

  /* .to-top-btn {
    display: none;
  } */
}

/* =========================================
   Media Queries (max-width: 768px)
========================================= */
@media screen and (max-width: 768px) {
  .home-container .sue-wrapper {
    top: 120px;
  }

  .avatar-info {
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}