/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --smokey-black: hsl(152, 35%, 5%);
  --eerie-black: hsl(154, 30%, 8%);
  --radical-red: hsl(150, 100%, 46%);
  --white_a9: hsla(0, 0%, 100%, 0.09);
  --white_a15: hsla(0, 0%, 100%, 0.15);
  --white_a25: hsla(0, 0%, 100%, 0.25);
  --white_a50: hsla(0, 0%, 100%, 0.5);
  --white_a70: hsla(0, 0%, 100%, 0.7);
  --white_a75: hsla(0, 0%, 100%, 0.75);
  --white_a80: hsla(0, 0%, 100%, 0.8);
  --jet-1: hsl(156, 22%, 13%);
  --jet-2: hsl(156, 19%, 10%);
  --white: hsl(145, 100%, 95%);
  --black: hsl(150, 35%, 4%);
  --accent-cyan: hsl(188, 100%, 58%);
  --accent-grid: hsla(150, 100%, 46%, 0.08);

  /**
   * gradient color
   */

  --gradient-1: linear-gradient(180deg, transparent, hsla(152, 42%, 5%, 0.95));
  --gradient-2: linear-gradient(180deg, hsla(152, 36%, 8%, 0.8) 22%, hsla(152, 42%, 4%, 0.96) 84%);

  /**
   * typography
   */

  --ff-recoleta: "Space Grotesk", "Recoleta", sans-serif;
  --ff-gordita: "JetBrains Mono", "Gordita", monospace;
  
  --fs-1: 6rem;
  --fs-2: 5rem;
  --fs-3: 3.8rem;
  --fs-4: 2.8rem;
  --fs-5: 2.6rem;
  --fs-6: 2.2rem;
  --fs-7: 2rem;
  --fs-8: 1.8rem;
  --fs-9: 1.5rem;
  --fs-10: 1.4rem;
  --fs-11: 1.2rem;
  
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;

  /**
   * spacing
   */

  --section-padding: 60px;

  /**
   * shadow
   */

  --shadow: 0 0 26px -10px hsla(150, 100%, 46%, 0.45);

  /**
   * border radius
   */

  --radius-circle: 50%;
  --radius-5: 5px;
  --radius-12: 12px;
  --radius-25: 25px;

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --transition-3: 1s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);

}

:root[data-theme="light"] {
  --smokey-black: hsl(156, 41%, 97%);
  --eerie-black: hsl(158, 39%, 93%);
  --white: hsl(0, 0%, 100%);
  --black: hsl(155, 52%, 11%);
  --jet-1: hsl(156, 33%, 92%);
  --jet-2: hsl(156, 30%, 88%);
  --white_a9: hsla(154, 43%, 16%, 0.09);
  --white_a15: hsla(154, 43%, 16%, 0.15);
  --white_a25: hsla(154, 43%, 16%, 0.25);
  --white_a50: hsla(154, 43%, 16%, 0.5);
  --white_a70: hsla(154, 43%, 16%, 0.7);
  --white_a75: hsla(154, 43%, 16%, 0.75);
  --white_a80: hsla(154, 43%, 16%, 0.8);
  --accent-cyan: hsl(188, 83%, 38%);
  --accent-grid: hsla(154, 65%, 24%, 0.08);
  --gradient-1: linear-gradient(180deg, transparent, hsla(156, 35%, 90%, 0.95));
  --gradient-2: linear-gradient(180deg, hsla(156, 35%, 93%, 0.75) 20%, hsla(156, 40%, 89%, 0.96) 86%);
}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a,
img,
span,
button,
ion-icon { display: block; }

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

img { height: auto; }

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

ion-icon { pointer-events: none; }

address { font-style: normal; }

html {
  font-family: var(--ff-gordita);
  font-size: 10px;
  scroll-behavior: smooth;
  /* Ensure native anchor jumps consider fixed header */
  scroll-padding-top: 90px;
}

/* Smooth scrolling enhancement for all anchor links */
a[href^="#"] {
  scroll-behavior: smooth;
}

body {
  background-color: var(--smokey-black);
  color: var(--white);
  font-size: 1.6rem;
  font-weight: var(--fw-400);
  line-height: 1.9;
  overflow-x: hidden;
  letter-spacing: 0.015em;
  background-image:
    radial-gradient(circle at 12% 18%, hsla(150, 100%, 46%, 0.14), transparent 34%),
    radial-gradient(circle at 82% 6%, hsla(188, 100%, 58%, 0.12), transparent 31%),
    repeating-linear-gradient(0deg, transparent 0 26px, var(--accent-grid) 26px 27px),
    linear-gradient(180deg, hsla(152, 40%, 5%, 0.98), hsla(152, 38%, 4%, 1));
}

body.active { overflow: hidden; }

:focus-visible { outline-offset: 4px; }

:focus-visible {
  outline: 2px solid var(--radical-red);
  box-shadow: 0 0 0 3px hsla(150, 100%, 46%, 0.25);
}

::-webkit-scrollbar { width: 5px; }

::-webkit-scrollbar-track { background-color: var(--white); }

::-webkit-scrollbar-thumb { background-color: var(--jet-2); }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 15px; }

.shape { display: none; }

.section { padding-block: var(--section-padding); }

.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--ff-recoleta);
  line-height: 1.2;
}

.h1 {
  font-size: var(--fs-1);
  font-weight: var(--fw-400);
}

.h2,
.h3,
.h4,
.h5,
.h6 { font-weight: var(--fw-300); }

.h2 { font-size: var(--fs-2); }

.h3 { font-size: var(--fs-3); }

.h4 { font-size: var(--fs-4); }

.h5 { font-size: var(--fs-5); }

.h6 { font-size: var(--fs-6); }

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--jet-1);
  overflow: hidden;
}

.has-before {
  position: relative;
  z-index: 1;
}

.has-before::before {
  content: "";
  position: absolute;
}

.img-holder.has-before::before {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-image: var(--gradient-1);
}

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

.btn-icon {
  --size: 55px;
  width: var(--size);
  height: var(--size);
  background-color: var(--bg-color, var(--white));
  border-radius: var(--border-radius, var(--radius-circle));
  display: grid;
  place-content: center;
  color: var(--black);
  transition: var(--transition-2);
}

.btn-icon:is(:hover, :focus-visible) {
  background-color: var(--hover-bg-color, var(--radical-red));
  color: var(--hover-text-color, var(--white));
}

.section-subtitle {
  color: var(--radical-red);
  font-size: var(--fs-8);
  text-transform: uppercase;
  letter-spacing: 2.2px;
}

.section-subtitle::before {
  content: "> ";
  color: var(--accent-cyan);
}

[data-reveal] {
  transform: translateY(50px);
  opacity: 0;
  transition: var(--transition-3);
}

[data-reveal="left"] { transform: translate(-50px, 0); }

[data-reveal="right"] { transform: translate(50px, 0); }

[data-reveal].revealed {
  transform: translate(0, 0);
  opacity: 1;
}

.button {
  position: relative;
  padding: 12px 30px;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(90deg, var(--radical-red), var(--accent-cyan));
  border: none;
  border-radius: var(--radius-5);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
  display: inline-block;
  text-align: center;
  box-shadow: 0 0 0 1px hsla(150, 100%, 46%, 0.35), 0 0 22px -8px hsla(150, 100%, 46%, 0.65);
}

.button:hover {
  background: linear-gradient(90deg, hsl(150, 100%, 52%), hsl(188, 100%, 62%));
  box-shadow: 0 0 0 1px hsla(150, 100%, 55%, 0.55), 0 0 26px -6px hsla(150, 100%, 55%, 0.75);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px hsla(346, 100%, 58%, 0.2);
}



/*-----------------------------------*\
  #LOADING
\*-----------------------------------*/

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--white);
  z-index: 5;
  transform-origin: bottom;
  transition: 0.5s var(--cubic-in);
  transition-delay: 0.5s;
}

.loading.loaded {
  transform: scaleY(0);
  pointer-events: none;
}

.loading > * {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: var(--transition-2);
}

.loading.loaded > * { opacity: 0; }

.loading .circle { animation: rotate360 1.5s linear infinite; }

@keyframes rotate360 {
  0% { transform: translate(-50%, -50%) rotate(0); }
  100% { transform: translate(-50%, -50%) rotate(1turn); }
}





/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 18px;
  transition: var(--transition-2);
  z-index: 4;
}

.header.active {
  background-color: var(--eerie-black);
  padding-block: 12px;
  box-shadow: var(--shadow);
}

.header .container,
.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Header container must be relative for centered absolute button */
.header .container { position: relative; align-items: center; }

.navbar {
  position: fixed;
  top: 0;
  right: -280px;
  background-color: var(--eerie-black);
  height: 100vh;
  max-width: 280px;
  width: 100%;
  padding: 25px;
  overflow-y: auto;
  z-index: 2;
  transition: 0.25s var(--cubic-out);
  visibility: hidden;
}

.navbar.active {
  visibility: visible;
  transform: translateX(-280px);
  transition-duration: 0.5s;
}

.navbar-top .logo .img { width: 130px; }

.nav-close-btn {
  width: 25px;
  height: 25px;
}

.nav-close-btn .span {
  background-color: var(--white_a80);
  width: 25px;
  height: 3px;
  border-radius: 5px;
  transition: var(--transition-1);
}

.nav-close-btn .one { transform: rotate(45deg) translate(2px, 2px); }

.nav-close-btn .two { transform: rotate(-45deg); }

.nav-close-btn:is(:hover, :focus-visible) .span { background-color: var(--radical-red); }

.navbar-list {
  text-align: center;
  padding-block: 40px;
}

.navbar-link {
  font-size: var(--fs-7);
  font-weight: var(--fw-400);
  padding-block: 2px;
  text-transform: capitalize;
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus-visible) { color: var(--radical-red); }

.login-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  width: 100%;
  background-color: var(--radical-red);
  color: var(--white);
  padding: 8px 30px;
  border-radius: var(--radius-5);
  margin-block-end: 50px;
  font-weight: var(--fw-500);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px hsla(346, 100%, 58%, 0.2);
}

.login-btn:hover {
  background-color: hsl(346, 100%, 68%);
  box-shadow: 0 5px 15px hsla(346, 100%, 58%, 0.4);
  transform: translateY(-2px);
}

.login-btn:active {
  transform: translateY(0);
}

.navbar-title {
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  line-height: 1;
  margin-block-end: 15px;
}

.navbar-text {
  color: var(--white_a75);
  font-weight: var(--fw-300);
  line-height: 1.6;
  margin-block-end: 15px;
}

.navbar .contact-link {
  color: var(--radical-red);
  font-size: var(--fs-6);
  font-weight: var(--fw-400);
}

.navbar .contact-link:is(:hover, :focus-visible) { text-decoration: underline; }

.overlay {
  position: fixed;
  inset: 0;
  background-color: var(--black);
  z-index: 1;
  transition: var(--transition-1);
  opacity: 0;
  pointer-events: none;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Theme toggle centered in header */
.theme-toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  border: 1px solid var(--white_a15);
  color: var(--white);
  z-index: 6;
  display: grid;
  place-items: center;
  background: transparent;
  transition: var(--transition-1);
}

.theme-toggle .moon-icon,
.theme-toggle .sun-icon {
  position: absolute;
  font-size: 20px;
  transition: var(--transition-1);
}

/* show correct icon by theme */
[data-theme="dark"] .moon-icon,
[data-theme="light"] .sun-icon { opacity: 0; pointer-events: none; }
[data-theme="light"] .moon-icon,
[data-theme="dark"] .sun-icon { opacity: 1; }

/* nav-open button to the right */
.nav-open-btn { margin-left: auto; z-index: 6; }

.theme-toggle:hover { background-color: var(--white_a15); }

.theme-toggle,
.shop-btn,
.tools-btn {
  box-shadow: inset 0 0 0 1px hsla(150, 100%, 46%, 0.2), 0 0 18px -10px hsla(150, 100%, 46%, 0.65);
}

.theme-toggle:is(:hover, :focus-visible),
.shop-btn:is(:hover, :focus-visible),
.tools-btn:is(:hover, :focus-visible) {
  color: var(--radical-red);
  border-color: hsla(150, 100%, 46%, 0.6);
  background-color: hsla(150, 100%, 46%, 0.08);
}

/* Shopping button */
.shop-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + 50px), -50%); /* Position it right of the theme toggle */
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  border: 1px solid var(--white_a15);
  color: var(--white);
  z-index: 6;
  display: grid;
  place-items: center;
  background: transparent;
  font-size: 20px; /* Adjust icon size */
  transition: var(--transition-1);
}

.shop-btn:hover {
  background-color: var(--white_a15);
}

/* Tools button */
.tools-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + 100px), -50%); /* Position it right of the shopping button */
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  border: 1px solid var(--white_a15);
  color: var(--white);
  z-index: 6;
  display: grid;
  place-items: center;
  background: transparent;
  font-size: 20px;
  transition: var(--transition-1);
}

.tools-btn:hover {
  background-color: var(--white_a15);
}

html[data-theme="light"] .shop-btn {
  color: var(--black);
  border-color: var(--white_a25);
}

html[data-theme="light"] .tools-btn {
  color: var(--black);
  border-color: var(--white_a25);
}



/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  padding-block-start: 120px;
  text-align: center;
}

.hero-banner {
  width: min(98vw, 540px);
  max-width: none;
  margin-inline: auto;
  margin-block-end: 40px;
}

.hero-title {
  font-weight: 700;
}

.hero .wrapper {
  position: relative;
  text-align: center;
  height: 1.2em;
  margin-block: 10px 25px;
  overflow: hidden;
}

.hero .wrapper .strong {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  font-weight: inherit;
  display: inline-flex;
  white-space: nowrap;
}

.hero-text {
  font-size: var(--fs-10);
  font-weight: var(--fw-300);
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: var(--radical-red);
}

.hero .wrapper .space { padding: 0.1em; }

.hero .wrapper :is(.in, .out) {
  opacity: 0;
  transform: scaleY(0);
}

.hero .strong.active .out {
  opacity: 1;
  transform: scaleY(1);
  animation: textWave 0.2s ease reverse forwards;
}

.hero .wrapper .in { animation: textWave 0.2s ease forwards; }

@keyframes textWave {
  0% {
    opacity: 0;
    transform: scaleY(0);
  }
  100% {
    opacity: 1;
    transform: scaleY(1);
  }
}



/*-----------------------------------*\
  #GALLERY
\*-----------------------------------*/

.gallery-list {
  display: grid;
  gap: 30px;
}

.gallery-item,
.gallery-card { position: relative; }

.gallery-card :is(.card-content, .btn-icon) {
  position: absolute;
  z-index: 1;
}

.gallery-card .card-content {
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 12px;
}

.gallery-card .card-tag {
  color: var(--white_a70);
  font-size: var(--fs-9);
  font-weight: var(--fw-300);
}

.gallery-card .card-title {
  font-weight: var(--fw-400);
  max-width: max-content;
  margin-block-end: 2px;
}

.gallery-card .card-title:is(:hover, :focus-visible) { text-decoration: underline; }

.gallery-card,
.service-card,
.portfolio-card,
.qualification-card,
.certification-card-link,
.skill-card,
.contact__card {
  border: 1px solid hsla(150, 100%, 46%, 0.18);
  box-shadow: 0 0 0 1px hsla(150, 100%, 46%, 0.08), 0 14px 34px -24px hsla(150, 100%, 46%, 0.75);
  backdrop-filter: blur(3px);
}

.gallery-card .btn-icon {
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  --border-radius: 0 0 0 var(--radius-25);
}

.gallery-card .btn-icon img {
  width: 25px;
  transform: rotate(-45deg);
}

.gallery-card .btn-icon:is(:hover, :focus-visible) {
  border-bottom-left-radius: var(--radius-5);
}

.gallery-card { animation: changeCard 10s linear infinite; }

.gallery-item .gallery-card:last-child {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  animation-delay: 5s;
}

@keyframes changeCard {
  0%,
  55%,
  100% {
    opacity: 0;
    visibility: hidden;
  }

  5%,
  50% {
    opacity: 1;
    visibility: visible;
  }
}

.gallery-item:is(:hover, :focus-within) .gallery-card { animation-play-state: paused; }

.gallery .scroll-down {
  width: 60px;
  height: 60px;
  display: grid;
  place-content: center;
  margin-inline: auto;
  margin-block-start: 55px;
  border: 1px solid var(--white_a15);
  border-radius: var(--radius-circle);
  transition: var(--transition-2);
  animation: scrollDown 2.5s linear infinite alternate;
}

.gallery .scroll-down img { width: 22px; }

.gallery .scroll-down:is(:hover, :focus-visible) {
  background-color: var(--radical-red);
  border-color: var(--radical-red);
}

@keyframes scrollDown {
  0% { transform: translateY(-12px); }
  100% { transform: translateY(12px); }
}

/* Make the listed titles smaller */
.wrapper.h2 .strong[data-letter-effect] {
  font-family: "JetBrains Mono", var(--ff-gordita);
  font-size: 4.2rem;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: var(--radical-red);
  text-shadow:
    0 0 8px hsla(150, 100%, 46%, 0.7),
    0 0 20px hsla(150, 100%, 46%, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}




/*-----------------------------------*\
  #CATEGORY
\*-----------------------------------*/

.category {
  --section-padding: 40px;
  border-block: 1px solid var(--white_a9);
}

.category-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 35px 10px;
}

.category-item { max-width: calc(50% - 5px); }

.category-card .card-title {
  color: var(--white_a25);
  margin-block-end: 10px;
  text-align: center;
  transition: var(--transition-2);
}

.category-card:is(:hover, :focus-visible) .card-title { color: var(--white); }





/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about .container {
  display: grid;
  gap: 45px;
}

.about .wrapper,
.about-banner { padding-inline-start: 45px; }

.about .section-title { margin-block-end: 35px; }

.about .section-text {
  font-size: var(--fs-6);
  color: var(--white_a70);
  font-weight: var(--fw-300);
  line-height: 1.7;
  margin-block-end: 35px;
}

.about .wrapper::before {
  top: 10px;
  left: 0;
  background-image: url("../images/about-quote.svg");
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
}

.about .section-text .em {
  color: var(--white);
  font-weight: var(--fw-400);
  text-decoration: underline;
}

.about-banner { position: relative; }

.about .shape-1 {
  display: block;
  position: absolute;
  bottom: 10%;
  left: 0;
  z-index: 1;
  width: 100px;
}


/*-----------------------------------*/
/* #SKILLS
/*-----------------------------------*/

.skills { padding-block: var(--section-padding); }

.skills-content { margin-bottom: 50px; }

.skills-toggle {
  background: var(--jet-2);
  position: relative;
  width: max-content;
  margin-inline: auto;
  display: flex;
  align-items: center;
  padding: 5px;
  border-radius: 100px;
  box-shadow: var(--shadow);
  z-index: 1;
}

.skills-toggle::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  bottom: 5px;
  width: calc(50% - 5px);
  background: var(--radical-red);
  border-radius: 100px;
  transition: var(--transition-1);
  z-index: -1;
}

.skills-toggle.active::before {
  left: calc(50% + 0px);
}

.toggle-btn {
  color: var(--white);
  padding: 8px 26px;
  transition: all 0.3s ease;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.toggle-btn:is(:hover, :focus-visible) {
  border-color: rgba(255,255,255,0.08);
  background-color: rgba(255,255,255,0.02);
  transform: translateY(-1px);
}

.toggle-btn.active {
  color: var(--white);
  background: transparent;
  border-color: transparent;
}

.skills-box.active .skills-list,
.skills-box .tools-list { display: none; }

.skills-box .skills-list,
.skills-box.active .tools-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.skill-card {
  position: relative;
  background: var(--jet-2);
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-12);
  box-shadow: var(--shadow);
  cursor: help;
}

.skill-card:hover .tooltip {
  transform: translateY(0);
  opacity: 1;
}

.tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  background: var(--radical-red);
  color: var(--white);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 1.2rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s var(--cubic-out), opacity 0.22s var(--cubic-out);
  box-shadow: var(--shadow);
  z-index: 2;
}

.skill-card .card-icon img {
  width: 36px;
  height: 36px;
  transition: transform 0.22s var(--cubic-out);
}

.skill-card:hover .tooltip,
.skill-card:focus-visible .tooltip,
.skill-card:focus-within .tooltip,
.skill-card.touched .tooltip {
  transform: translate(-50%, -8px);
  opacity: 1;
  pointer-events: auto;
}

.is-touch .skill-card.touched {
  box-shadow: 0 0 0 1px hsla(150, 100%, 46%, 0.55), 0 0 20px -8px hsla(150, 100%, 46%, 0.8);
}

.is-touch .skill-card.touched .tooltip {
  z-index: 5;
}

.skill-card:hover .card-icon img,
.skill-card:focus-visible .card-icon img,
.skill-card:focus-within .card-icon img,
.skill-card.touched .card-icon img {
  transform: scale(1.12);
}


/*-----------------------------------*\
  #SKILLS PAGE (Progress bars)
\*-----------------------------------*/

.skills-page {
  padding-block: var(--section-padding);
  background-color: var(--eerie-black);
}

.skills-wrapper {
  display: grid;
  gap: 40px;
}

.skill-category .h4 {
  margin-bottom: 20px;
  font-weight: 500;
}

.skill-progress-list {
  display: grid;
  gap: 15px;
}

.progress-item .label-wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: var(--fs-9);
  color: var(--white_a70);
}

.progress {
  height: 8px;
  background-color: var(--jet-1);
  border-radius: var(--radius-5);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--radical-red);
  border-radius: inherit;
  transition: width 0.8s ease; /* animate on scroll */
}

/*-----------------------------------*/
/* #EDUCATION
/*-----------------------------------*/

.education {
  position: relative;
  padding-block: var(--section-padding);
  border-block-start: 1px solid var(--white_a9);
  overflow: hidden;
}

.education .container {
  display: grid;
  gap: 30px;
}

.education-content {
  text-align: center;
  margin-bottom: 50px;
}

.education-toggle {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-block: 30px;
  position: relative;
}

.education-toggle .toggle-btn {
  color: var(--white_a70);
  font-size: var(--fs-7);
  font-weight: var(--fw-400);
  padding: 8px 24px;
  border-radius: 100px;
  transition: all 0.3s ease;
}

.education-toggle .toggle-btn:hover {
  color: var(--white);
  background-color: var(--white_a15);
  transform: translateY(-1px);
}

.education-toggle .toggle-btn.active {
  color: var(--white);
  font-weight: var(--fw-500);
  background-color: var(--radical-red);
  box-shadow: 0 3px 10px hsla(346, 100%, 58%, 0.3);
}

.qualification-list,
.certification-list {
  display: none;
  gap: 25px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.qualification-list.active,
.certification-list.active {
  display: grid;
  opacity: 1;
}

.qualification-list {
  grid-template-columns: 1fr;
}

.qualification-card {
  background: var(--eerie-black);
  padding: 25px;
  border-radius: var(--radius-12);
  border: 1px solid var(--white_a15);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px hsla(0, 0%, 0%, 0.15);
}

.qualification-card:hover {
  transform: translateY(-5px);
  background-color: var(--jet-1);
  box-shadow: 0 10px 25px hsla(0, 0%, 0%, 0.25);
  border-color: var(--white_a25);
}

.qualification-card .card-logo {
  width: 100%;
  max-width: 180px;
  margin-block-end: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.qualification-card .card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qualification-card .card-title {
  color: var(--white);
  margin-block-end: 8px;
}

.qualification-card .card-subtitle {
  color: var(--white_a70);
  font-size: var(--fs-8);
  margin-block-end: 15px;
}

.qualification-card .publish-date {
  color: var(--radical-red);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
  display: block;
}

.certification-list {
  grid-template-columns: 1fr;
  gap: 25px;
}

@media (min-width: 575px) {
  .certification-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.certification-card-link {
  background: var(--eerie-black);
  border-radius: var(--radius-12);
  border: 1px solid var(--white_a15);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px hsla(0, 0%, 0%, 0.15);
}

.certification-card-link:hover {
  transform: translateY(-5px);
  background-color: var(--jet-1);
  box-shadow: 0 10px 25px hsla(0, 0%, 0%, 0.25);
  border-color: var(--white_a25);
}

.certification-card-link .card-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.certification-card-link .card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.certification-card-link .card-content {
  padding: 20px;
  flex-grow: 1;
}

.certification-card-link .card-title {
  color: var(--white);
  font-size: var(--fs-8);
  margin-block-end: 8px;
  transition: var(--transition-1);
}

.certification-card-link .card-issuer {
  color: var(--white_a70);
  font-size: var(--fs-9);
}

.load-more {
  background-color: var(--eerie-black);
  color: var(--white);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
  padding: 12px 24px;
  border-radius: 6px;
  border: 1px solid var(--white_a15);
  margin-inline: auto;
  margin-block-start: 40px;
  transition: all 0.3s ease;
  display: none; /* Initially hidden */
  cursor: pointer;
  box-shadow: 0 2px 8px hsla(0, 0%, 0%, 0.1);
}

.load-more:hover {
  background-color: var(--radical-red);
  border-color: var(--radical-red);
  box-shadow: 0 5px 15px hsla(346, 100%, 58%, 0.3);
  transform: translateY(-2px);
}

.load-more:active {
  transform: translateY(0);
}

.certification-list .hidden-cert {
  display: none;
}

.certification-card-link .card-title {
  color: var(--white);
  font-size: var(--fs-8);
  margin-block-end: 8px;
  transition: color 0.3s ease;
}

.certification-card-link:hover .card-title {
  color: var(--radical-red);
}



/*-----------------------------------*\
  #SERVICES
\*-----------------------------------*/

.service { padding-inline: 15px; }

.service .section-subtitle {
  padding-inline: 10px;
  margin-block-end: 55px;
}

.service-card .img { display: none; }

.service-list > li:not(:last-child) { border-block-start: 1px solid var(--white_a9); }

.service-list > li:last-child { border-block: 1px solid var(--white_a9); }

.service-card { padding: 30px 10px; }

.service-card .card-subtitle {
  color: var(--white_a50);
  font-size: var(--fs-7);
  font-weight: var(--fw-300);
  line-height: 1.5;
  margin-block: 10px 25px;
}

.service-card .btn-icon {
  border: 1px solid var(--white);
  --bg-color: transparent;
}





/*-----------------------------------*\
  #PORTFOLIO
\*-----------------------------------*/

.portfolio { padding-block-end: 100px; }

.portfolio .section-title { margin-block-end: 60px; }

.portfolio-card {
  position: relative;
  margin-block-end: 50px;
}

.portfolio-card :is(.card-content, .btn-icon) {
  position: absolute;
  z-index: 1;
}

.portfolio-card .card-content {
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 15px;
}

.portfolio-card .card-tag {
  color: var(--white_a70);
  font-weight: var(--fw-300);
}

.portfolio-card .btn-icon {
  top: 20px;
  right: 20px;
  --size: 45px;
  color: var(--white);
  --bg-color: var(--black);
  --hover-bg-color: var(--radical-red);
}

.portfolio-card .btn-icon svg { width: 20px; }

.portfolio-card .card-title:is(:hover, :focus) { text-decoration: underline; }





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.footer .abs-img { display: none; }

.footer-top {
  padding-block: 100px 140px;
  border-block-start: 1px solid var(--white_a9);
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-top .section-title {
  margin-block: 20px 40px;
  line-height: normal;
}

.footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.footer-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, hsla(152, 42%, 6%, 0.28) 10%, hsla(152, 45%, 4%, 0.58) 88%);
  z-index: 1;
}

.footer-bg .img-cover { object-position: bottom; }

.footer-bg .img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-top,
.footer-bottom {
  background-color: transparent;
}

.footer-bottom { 
  padding: 40px 0;
  text-align: center; 
}

.footer-bottom .logo {
  margin-inline: auto;
  max-width: max-content;
  margin-block-end: 20px;
}

.social-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 20px;
}

.social-link { 
  font-weight: var(--fw-500);
  color: var(--white_a70);
}

.social-link:is(:hover, :focus-visible) { 
  text-decoration: underline;
  color: var(--white);
}

.copyright {
  font-weight: var(--fw-300);
  letter-spacing: 0.5px;
  color: var(--white_a70);
}

.copyright a {
  color: var(--white);
  display: inline;
}
.copyright a:hover {
  text-decoration: underline;
}


/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.contact__container {
  display: grid;
  gap: 3rem;
  padding-bottom: 3rem;
}

.contact__title {
  text-align: center;
  font-size: var(--fs-4);
  margin-bottom: 1.5rem;
  color: var(--white);
}

.contact__info {
  display: grid;
  gap: 1.5rem;
}

.contact__card {
  background-color: var(--eerie-black);
  padding: 1.8rem;
  border-radius: 1.5rem;
  text-align: center;
  border: 1px solid var(--white_a15);
}

.contact__card-icon {
  font-size: 2.5rem;
  color: var(--radical-red);
  margin-bottom: 0.75rem;
}

.contact__card-title,
.contact__card-data {
  font-size: var(--fs-9);
  color: var(--white);
}

.contact__card-title {
  font-weight: var(--fw-500);
}

.contact__card-data {
  display: block;
  margin-bottom: 1rem;
  color: var(--white_a70);
}

.contact__button {
  color: var(--radical-red);
  font-size: var(--fs-9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: var(--radius-5);
}

.contact__button:hover {
  background-color: var(--white_a9);
  transform: translateY(-1px);
}

.contact__button:hover .contact__button-icon {
  transform: translateX(0.25rem);
}

.contact__button-icon {
  font-size: 1rem;
  transition: 0.4s;
}

.contact__form-div {
  position: relative;
  margin-bottom: 2rem;
  height: auto;
}

.contact__form-input {
  display: block;
  width: 100%;
  min-height: 4.5rem;
  border: 1.5px solid var(--white_a25);
  background: transparent;
  border-radius: 0.75rem;
  padding: 1.5rem;
  font-size: var(--fs-9);
  color: var(--white);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.contact__form-input::placeholder { color: var(--white_a50); }

.contact__form-input:focus {
  border-color: var(--radical-red);
}

.contact__form-tag {
  position: absolute;
  top: -1rem;
  left: 1.25rem;
  font-size: var(--fs-11);
  padding: 0.25rem;
  background-color: var(--eerie-black);
  color: var(--white_a70);
  z-index: 10;
}

.contact__form-area {
  height: auto;
}

.contact__form-area .contact__form-input {
  height: 12rem;
  resize: vertical;
}



/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 30px;
  right: -70px;
  width: 70px;
  height: 70px;
  border: 1px dashed currentColor;
  color: var(--radical-red);
  font-size: var(--fs-11);
  border-radius: var(--radius-circle);
  display: grid;
  place-items: center;
  visibility: hidden;
  transition: var(--transition-2);
  z-index: 3;
}

.back-top-btn.show {
  transform: translateX(-100px);
  visibility: visible;
}

.back-top-btn:hover { color: var(--white); }

.back-top-btn {
  background: hsla(152, 40%, 7%, 0.7);
  border-color: hsla(150, 100%, 46%, 0.55);
  color: var(--radical-red);
  box-shadow: 0 0 18px -8px hsla(150, 100%, 46%, 0.75);
}

.back-top-btn:hover {
  color: var(--black);
  background: var(--radical-red);
}





/*-----------------------------------*\
  #CUSTOM CURSOR
\*-----------------------------------*/

.cursor { display: none; }





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for mobile screens (below 575px)
 */
@media (max-width: 574px) {
  :root {
    --fs-1: 4.2rem;
    --fs-2: 3.4rem;
    --fs-3: 2.7rem;
    --fs-4: 2.2rem;
    --fs-5: 2rem;
    --fs-6: 1.8rem;
    --fs-7: 1.6rem;
    --fs-8: 1.45rem;
    --fs-9: 1.3rem;
    --fs-10: 1.2rem;
    --fs-11: 1.05rem;
  }

  html { font-size: 9.2px; }

  body { line-height: 1.75; }

  .section-subtitle { letter-spacing: 1.5px; }

  .h1, .h2, .h3 { letter-spacing: 0.01em; }

  .hero-banner {
    width: 68vw;
    max-width: 240px;
    margin-inline: auto;
    margin-block-end: 16px;
  }

  .gallery-list {
    gap: 20px;
  }

  .service-card {
    padding: 20px 5px;
  }

  .portfolio-card .card-content {
    padding: 15px 10px;
  }

  .contact__container {
    gap: 2rem;
  }

  .footer-top {
    padding-block: 80px 100px;
  }

  /* Override rotating title size for mobile */
  .wrapper.h2 .strong[data-letter-effect] {
    font-size: 2.4rem;
    line-height: 1.25;
    letter-spacing: 0.02em;
  }
}

/**
 * responsive for large than 575px screen
 */

@media (min-width: 575px) {

  :root {
    --section-padding: 80px;
  }

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  :is(.header, .gallery, .category, .portfolio) .container { max-width: unset; }

  .navbar {
    max-width: 500px;
    right: -500px;
  }

  .navbar.active { transform: translateX(-500px); }

  .gallery-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
  }

  .gallery-card .btn-icon {
    transform-origin: top right;
    transform: scale(0);
  }

  .gallery-card:is(:hover, :focus-within) .btn-icon { transform: scale(1); }

  .gallery-card :is(.card-title, .card-tag) {
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition-2);
  }

  .gallery-card .card-tag { transition-delay: 0.1s; }

  .gallery-card:is(:hover, :focus-within) :is(.card-title, .card-tag) {
    transform: translateY(0);
    opacity: 1;
  }

  .gallery [data-reveal] {
    transform: translateY(0);
    opacity: 1;
  }

  .category-item { max-width: 235px; }

  .portfolio-list {
    display: flex;
    column-gap: 30px;
  }

  .footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-bottom .logo { margin: 0; }
  .social-list { margin: 0; }
  .copyright { width: 100%; text-align: center; order: 2; margin-top: 20px;}
}





/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  :root {
    --fs-3: 4.5rem;
  }

  .container { max-width: 720px; }

  .about-banner {
    max-width: 500px;
    margin-inline: auto;
  }

  .service-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .service-card .card-subtitle { margin-block-end: 15px; }

  .skills-wrapper,
  .contact__container {
    grid-template-columns: 1fr 1fr;
  }

  .qualification-list.active {
    grid-template-columns: 1fr 1fr;
  }

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

  .qualification-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }

  .qualification-card .card-logo {
    margin-block-end: 0;
    min-width: 120px;
  }

  .footer-bottom .container {
    display: grid;
    grid-template-columns: 1fr max-content 1fr;
    align-items: center;
  }
  .copyright { order: 0; grid-column: 2 / 3; width: auto; margin: 0; }
  .social-list { justify-content: flex-end; }
}





/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  :root {
    --fs-1: 8rem;
  }

  .section { position: relative; }

  .container { max-width: 960px; }

  .shape {
    display: block;
    position: absolute;
  }

  .header { padding-block: 30px; }

  .navbar {
    padding: 40px;
    padding-block-end: 10px;
  }

  .navbar-link { --fs-7: 2.4rem; }
  .navbar-title { --fs-8: 2.2rem; }
  .navbar-text {
    font-size: 1.9rem;
    margin-block-end: 30px;
  }

  .hero { padding-block-start: 150px; }
  .hero .container { position: relative; z-index: 1; }
  .hero-title { text-align: left; }
  .hero .wrapper { --fs-2: 8rem; margin-block: -5px 10px; }
  .hero-banner {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    max-width: 200px;
    z-index: -1;
  }
  .hero .shape { display: none; }

  .gallery { padding-block-end: 140px; }
  .gallery-list { grid-template-columns: repeat(4, 1fr); }
  .gallery-item:nth-child(even) { margin-block-start: 100px; }
  .gallery .scroll-down {
    width: 85px;
    height: 85px;
    margin-block-start: 100px;
  }
  .gallery .scroll-down img { width: 26px; }
  .gallery .shape { left: 5%; bottom: 15%; }

  .category { --section-padding: 60px; }
  .category-card { position: relative; }
  .category-card .card-banner {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, -20px);
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-2);
  }
  .category-card:is(:hover, :focus-visible) .card-banner {
    transform: translate(-50%, 0);
    visibility: visible;
    opacity: 1;
  }
  .category-card .card-title { --fs-4: 5.5rem; }
  .category-item { min-width: max-content; }
  .category-list { row-gap: 0; justify-content: flex-start; }

  .about .container {
    grid-template-columns: 0.9fr 1fr;
    align-items: flex-start;
    gap: 80px;
  }
  .about-content { order: 1; }
  .about-banner .shape-2 {
    width: 100%;
    bottom: -20px;
    left: 0;
    animation: moving 8s linear infinite;
  }
  @keyframes moving {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(30px); }
  }
  .about .shape-3 { bottom: 0; right: 0; }

  .service-card { position: relative; }
  .service-card .img {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-1);
    z-index: -1;
  }
  .service-card:is(:hover, :focus-within) .img {
    opacity: 1;
    visibility: visible;
  }

  .portfolio {
    padding-block-end: 150px;
    margin-block-end: 60px;
  }
  .portfolio .shape { bottom: 0; right: 0; }

  .footer .shape { top: 25%; left: 0; }
  .footer .abs-img {
    display: block;
    position: absolute;
    max-width: max-content;
    z-index: -1;
  }
  .footer .abs-img-1 { width: 9%; top: 12%; left: 10%; }
  .footer .abs-img-2 { width: 14%; top: 15%; right: 0; }
  .footer .abs-img-3 { width: 16%; left: 0; bottom: 10%; }
  .footer .abs-img-4 { width: 9%; right: 15%; bottom: 10%; }

  .certification-list.active {
    grid-template-columns: repeat(3, 1fr);
  }

  .qualification-list.active {
    grid-template-columns: 1fr 1fr;
  }

  .cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 75px;
    height: 75px;
    background-color: var(--white);
    mix-blend-mode: exclusion;
    border-radius: var(--radius-circle);
    transform: translate(-50%, -50%) scale(0.35);
    transition: transform 0.35s;
    pointer-events: none;
    z-index: 6;
  }
  .cursor.hovered { transform: translate(-50%, -50%) scale(1.2); }
  .cursor.disabled { transform: translate(-50%, -50%) scale(0); }
}





/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  :root {
    --fs-1: 10rem;
    --fs-2: 9rem;
    --fs-3: 6.8rem;
    --fs-4: 3.6rem;
    --fs-6: 2.8rem;
  }

  .container { max-width: 1140px; }

  .header .container { padding-inline: 35px; }

  .hero { padding-block: 170px 150px; }
  .hero .container { max-width: 1250px; }
  .hero .wrapper { --fs-2: 10rem; margin-block: -10px 15px; }
  .hero .wrapper .strong { left: 40%; }
  .hero-text {
    --fs-10: 2rem;
    font-weight: var(--fw-400);
    letter-spacing: 8px;
  }
  .hero-banner { max-width: 290px; }
  .hero .shape { display: block; top: 60%; left: 0; }

  .gallery-list { gap: 50px; }
  .gallery-card .card-title { font-weight: var(--fw-300); }

  .category-list { column-gap: 15px; }
  .category-card .card-title { --fs-4: 7rem; }

  .about .container { gap: 120px; }
  .about .shape-1 { width: max-content; }
  .about .section-title { margin-block-end: 70px; }
  .about .wrapper { padding-inline-start: 80px; }
  .about .wrapper::before { width: 35px; height: 30px; }
  .about .section-text { --fs-6: 3.2rem; margin-block-end: 50px; }

  .service-card { padding-block: 50px; }
  .service-card .card-subtitle { --fs-7: 2.4rem; }
  .service-card .img { width: max-content; }
  .service-card .btn-icon { --size: 95px; }
  .service-card .btn-icon svg { width: 40px; }

  .portfolio-list { column-gap: 90px; }
  .portfolio-card { margin-block-end: 100px; }
  .portfolio-card .card-content { padding-inline: 50px; }
  .portfolio-card .btn-icon {
    --size: 60px;
    top: auto;
    bottom: 45px;
    right: 50px;
    opacity: 0;
    transition: var(--transition-2);
  }
  .portfolio-card .btn-icon svg { width: 25px; }
  .portfolio-card:is(:hover, :focus-within) .btn-icon { opacity: 1; }

  .footer-top { padding-block: 200px; }
  .footer-top .section-title { --fs-2: 8rem; margin-block-start: 50px; }
  
  .skills-wrapper { grid-template-columns: repeat(3, 1fr); }

}





/**
 * responsive for large than 1400px screen
 */

@media (min-width: 1400px) {

  :root {
    --fs-1: 13rem;
    --fs-2: 10rem;
    --fs-3: 8rem;
  }

  .container { max-width: 1320px; }

  :is(.header, .gallery, .category, .portfolio) .container { max-width: 1580px; }

  .header .container { padding-inline: 60px; }

  .hero .container { max-width: 1500px; }
  .hero-content { margin-inline-end: 400px; }
  .hero .wrapper { --fs-2: 13rem; }
  .hero-text { --fs-10: 2.4rem; }
  .hero-banner { max-width: max-content; }

  .category .container { padding-inline: 40px; }
  .category-card .card-title { --fs-4: 8rem; }

  .about { padding-block: 180px 120px; }

  .service { padding-inline: 70px; }
  .service-card { padding-block: 65px; }

  .portfolio .container { padding-inline: 45px; }

  .footer-top .container { max-width: 1200px; }
}

/* Light theme overrides */
html[data-theme="light"] body {
  background-color: var(--white);
  color: var(--black);
  background-image:
    radial-gradient(circle at 18% 11%, hsla(154, 65%, 35%, 0.13), transparent 34%),
    radial-gradient(circle at 84% 10%, hsla(188, 80%, 42%, 0.12), transparent 29%),
    repeating-linear-gradient(0deg, transparent 0 28px, var(--accent-grid) 28px 29px),
    linear-gradient(180deg, hsl(154, 42%, 97%), hsl(155, 33%, 93%));
}

html[data-theme="light"] :is(.h1, .h2, .h3, .h4, .h5, .h6),
html[data-theme="light"] .hero-title,
html[data-theme="light"] .hero .wrapper .strong,
html[data-theme="light"] .section-title,
html[data-theme="light"] .service-card .card-title,
html[data-theme="light"] .portfolio-card .card-title,
html[data-theme="light"] .qualification-card .card-title,
html[data-theme="light"] .certification-card-link .card-title,
html[data-theme="light"] .contact__card-title,
html[data-theme="light"] .contact__card-data,
html[data-theme="light"] .copyright,
html[data-theme="light"] .social-link,
html[data-theme="light"] .hero-text {
  color: var(--black);
}

html[data-theme="light"] .section-subtitle,
html[data-theme="light"] .navbar-text,
html[data-theme="light"] .gallery-card .card-tag,
html[data-theme="light"] .qualification-card .card-subtitle,
html[data-theme="light"] .contact__card-data {
  color: var(--white_a70);
}

html[data-theme="light"] .navbar,
html[data-theme="light"] .service-card,
html[data-theme="light"] .skills-toggle,
html[data-theme="light"] .skill-card,
html[data-theme="light"] .qualification-card,
html[data-theme="light"] .certification-card-link,
html[data-theme="light"] .contact__card,
html[data-theme="light"] .footer-top,
html[data-theme="light"] .footer-bottom {
  background-color: var(--eerie-black);
}

html[data-theme="light"] .overlay {
  background-color: var(--black);
}

html[data-theme="light"] .gallery-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .portfolio-card,
html[data-theme="light"] .qualification-card,
html[data-theme="light"] .certification-card-link,
html[data-theme="light"] .skill-card,
html[data-theme="light"] .contact__card {
  border-color: hsla(155, 45%, 26%, 0.18);
  box-shadow: 0 0 0 1px hsla(155, 45%, 26%, 0.08), 0 14px 30px -24px hsla(155, 45%, 26%, 0.35);
}

/* ===========================
   Chatbot & Voice Assistant
   =========================== */

#chatbot-icon {
  position: fixed;
  left: 20px; /* left side icon as requested */
  bottom: 20px;
  width: 58px;
  height: 58px;
  background: var(--radical-red);
  color: hsl(152, 44%, 4%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10010;
  box-shadow: 0 8px 24px hsla(0, 0%, 0%, 0.35);
  font-size: 26px;
}

#chatbot-icon:hover { transform: scale(1.05); }

#chatbot-container {
  position: fixed;
  left: 20px;
  bottom: 92px;
  width: 360px;
  max-width: calc(100vw - 48px);
  height: 500px;
  background: var(--terminal-panel);
  color: var(--terminal-text);
  border: 1px solid var(--terminal-soft-border);
  border-radius: 12px;
  box-shadow: var(--terminal-chatbot-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10010;
  font-size: 1.4rem;
}

#chatbot-container.hidden { display: none !important; }

#chatbot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: linear-gradient(90deg, var(--radical-red), var(--accent-cyan));
  color: hsl(152, 44%, 4%);
}

#chatbot-header .chat-controls { display: flex; gap: 8px; align-items: center; }

#chatbot-header button {
  background: transparent;
  border: none;
  color: hsl(152, 44%, 4%);
  cursor: pointer;
  font-size: 1.3rem;
}

#chatbot-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: linear-gradient(180deg, var(--terminal-overlay-soft), transparent);
}

#chatbot-messages { display: flex; flex-direction: column; gap: 10px; }

.chat-message {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 10px;
  line-height: 1.3;
  word-break: break-word;
  box-shadow: var(--shadow);
}

.chat-message.user {
  align-self: flex-end;
  background: linear-gradient(90deg, var(--radical-red), var(--accent-cyan));
  color: hsl(156, 30%, 8%);
}

.chat-message.bot {
  align-self: flex-start;
  background: var(--eerie-black);
  color: var(--terminal-text);
}

#chatbot-input-container {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--terminal-soft-border);
  background: color-mix(in oklab, var(--terminal-panel), black 12%);
}

#chatbot-input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--terminal-soft-border);
  background: transparent;
  color: var(--terminal-text);
  font-size: 1.4rem;
}

#chatbot-input::placeholder {
  color: var(--terminal-dim);
}

#chatbot-send {
  background: linear-gradient(90deg, var(--radical-red), var(--accent-cyan));
  color: hsl(156, 30%, 8%);
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

#chatbot-mic {
  background: transparent;
  border: none;
  color: hsl(152, 44%, 4%);
  cursor: pointer;
  font-size: 1.2rem;
}

/* small screens */
@media (max-width: 575px) {
  #chatbot-container { width: calc(100vw - 40px); left: 20px; right: 20px; bottom: 90px; height: 420px; }
  #chatbot-body { padding: 8px; }
}

/* Footer social icons: centered, icon-only, tooltip label on hover/focus/touch */
.footer .social-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.footer .social-list li { display: contents; }

.social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: inherit;
  text-decoration: none;
}

.social-link .bx {
  font-size: 28px; /* medium size icon */
  line-height: 1;
  transition: transform 0.2s ease;
}

.social-link:is(:hover, :focus-visible) .bx {
  transform: translateY(-1px);
}

/* Tooltip from data-label (shown on hover/focus or touch) */
.social-link::after {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 0);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.9rem;
  white-space: nowrap;
  background: var(--eerie-black);
  color: var(--white);
  border: 1px solid var(--white_a15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

html[data-theme="light"] .social-link::after {
  background: var(--jet-1);
  color: var(--black);
  border-color: var(--white_a25);
}

.social-link:is(:hover, :focus-visible)::after,
.social-link.show-label::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -4px);
}

/* =======================
   News & Events (project)
   ======================= */
.news { padding-block: var(--section-padding); }

.news .project-list { list-style: none; padding: 0; margin: 0; }
.news-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 20px; 
}
@media (min-width: 576px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }

.w-100 { width: 100%; display: block; }

.project-list > li { margin: 0; }

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  display: block;
  background: var(--jet-1);
}
html[data-theme="light"] .project-card { background: #fff; }

.project-card .card-banner { position: relative; }
.project-card .card-banner img { display: block; width: 100%; height: auto; }

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: 200ms ease;
}

.project-card:is(:hover, :focus-visible)::after {
  background: hsla(0, 0%, 100%, 0.05);
  backdrop-filter: blur(0.5px);
}

.project-card .card-content {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: 16px;
  display: grid;
  gap: 8px;
}

.project-card .card-title,
.project-card .publish-date {
  background: var(--terminal-overlay);
  color: var(--terminal-text);
  padding: 6px 10px;
  width: max-content;
  box-shadow: 0 2px 8px hsla(0, 0%, 0%, 0.25);
  transform: translateY(20px);
  opacity: 0;
  transition: 200ms ease;
  border-radius: 8px;
}

html[data-theme="light"] .project-card .card-title,
html[data-theme="light"] .project-card .publish-date {
  background: color-mix(in oklab, white, var(--terminal-panel) 12%);
  color: var(--terminal-text);
  box-shadow: 0 2px 8px hsla(0, 0%, 0%, 0.12);
}

.project-card .publish-date {
  font-size: 0.9rem;
  color: var(--radical-red);
  transition-delay: 0s;
}

.project-card:is(:hover, :focus-visible) .card-title,
.project-card:is(:hover, :focus-visible) .publish-date {
  transform: translateY(0);
  opacity: 1;
}
.project-card:is(:hover, :focus-visible) .publish-date { transition-delay: 0.08s; }

.news .load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--white_a25);
  background: transparent;
  color: var(--radical-red);
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease, opacity .2s;
}
.news .load-more:disabled {
  opacity: .6;
  cursor: default;
}

.news .load-more:hover:not(:disabled),
.news .load-more:focus-visible:not(:disabled) {
  transform: translateY(-1px);
  background: var(--white_a15);
  border-color: var(--white_a50);
}

/* Ensure only content items are hidden via .is-hidden, not the button row */
.news .project-list > li.is-hidden:not(.load-more-item) { display: none !important; }

/* News grid: Load more row */
.news .load-more-item {
  grid-column: 1 / -1;        /* span all columns */
  display: block !important;  /* never hidden */
  text-align: center;
  margin-top: 6px;
}

/* ==================================
   CYBERSECURITY TERMINAL THEME OVERRIDES
   ================================== */

:root {
  --ff-recoleta: "JetBrains Mono", "Gordita", monospace;
  --ff-gordita: "JetBrains Mono", "Gordita", monospace;
  --terminal-bg-deep: hsl(152, 44%, 4%);
  --terminal-panel: hsla(153, 44%, 8%, 0.78);
  --terminal-border: hsla(150, 100%, 46%, 0.34);
  --terminal-text: hsl(145, 100%, 88%);
  --terminal-dim: hsla(145, 100%, 88%, 0.8);
  --terminal-soft-border: hsla(150, 100%, 46%, 0.2);
  --terminal-chatbot-shadow: 0 20px 56px hsla(0, 0%, 0%, 0.58);
  --terminal-overlay: rgba(0, 0, 0, 0.55);
  --terminal-overlay-soft: rgba(255, 255, 255, 0.03);
  --binary-code-color: hsla(120, 100%, 30%, 0.65);
  --binary-code-color-dim: hsla(120, 100%, 35%, 0.55);
  --binary-glow: hsla(120, 100%, 40%, 0.4);
  --binary-backdrop:
    radial-gradient(circle at 12% 18%, hsla(150, 100%, 46%, 0.16), transparent 34%),
    radial-gradient(circle at 82% 6%, hsla(188, 100%, 58%, 0.1), transparent 31%),
    linear-gradient(180deg, hsl(150, 38%, 4%), hsl(152, 42%, 2%));
}

:root[data-theme="light"] {
  --terminal-bg-deep: hsl(148, 44%, 96%);
  --terminal-panel: hsla(140, 40%, 96%, 0.9);
  --terminal-border: hsla(153, 76%, 24%, 0.32);
  --terminal-text: hsl(147, 74%, 18%);
  --terminal-dim: hsla(147, 74%, 18%, 0.82);
  --terminal-soft-border: hsla(153, 76%, 24%, 0.24);
  --terminal-chatbot-shadow: 0 16px 36px hsla(152, 28%, 24%, 0.25);
  --terminal-overlay: rgba(11, 48, 29, 0.15);
  --terminal-overlay-soft: rgba(15, 60, 36, 0.06);
  --binary-code-color: hsla(120, 100%, 25%, 0.62);
  --binary-code-color-dim: hsla(120, 100%, 30%, 0.52);
  --binary-glow: hsla(120, 100%, 35%, 0.38);
  --binary-backdrop:
    radial-gradient(circle at 15% 14%, hsla(153, 76%, 24%, 0.16), transparent 35%),
    radial-gradient(circle at 87% 11%, hsla(168, 86%, 20%, 0.1), transparent 30%),
    linear-gradient(180deg, hsl(142, 52%, 97%), hsl(144, 40%, 93%));
}

body {
  min-height: 100dvh;
  color: var(--terminal-text);
  background-image: var(--binary-backdrop);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  isolation: isolate;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100vw;
  height: 100vh;
  white-space: pre-wrap;
  overflow: hidden;
  font-family: var(--ff-gordita);
  word-break: break-all;
  line-height: 1.2;
  font-size: 14px;
}

body::before {
  content: "1010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010\A0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101\A1010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010\A0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101\A1010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010\A0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101\A1010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010\A0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101\A1010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010\A0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101";
  color: var(--binary-code-color);
  text-shadow: 0 0 3px var(--binary-glow);
  opacity: 0.7;
  animation: binaryFlowSlow 20s linear infinite;
}

body::after {
  content: "0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101\A1010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010\A0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101\A1010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010\A0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101\A1010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010\A0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101\A1010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010\A0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101\A1010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010";
  color: var(--binary-code-color-dim);
  text-shadow: 0 0 2px var(--binary-glow);
  opacity: 0.5;
  animation: binaryFlowFast 15s linear infinite;
}

body > * {
  position: relative;
  z-index: 1;
}

@keyframes binaryFlowSlow {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes binaryFlowFast {
  0% { transform: translateY(-100%); opacity: 0.5; }
  50% { opacity: 0.7; }
  100% { transform: translateY(100vh); opacity: 0.5; }
}

@media (max-width: 992px) {
  body::before,
  body::after {
    font-size: 12px;
  }

  body::before {
    opacity: 0.65;
    animation-duration: 18s;
  }

  body::after {
    opacity: 0.45;
    animation-duration: 14s;
  }
}

@media (max-width: 574px) {
  body::before,
  body::after {
    font-size: 10px;
    line-height: 1.1;
  }

  body::before {
    opacity: 0.6;
  }

  body::after {
    opacity: 0.4;
  }
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section-subtitle {
  font-weight: 500;
}

.section-subtitle::before {
  content: "$ ";
}

.header.active,
.navbar,
.service-card,
.portfolio-card,
.qualification-card,
.certification-card-link,
.skill-card,
.contact__card,
.footer-top,
.footer-bottom,
.skills-toggle,
.education-toggle,
.gallery-card {
  background-color: var(--terminal-panel);
  border: 1px solid var(--terminal-border);
  box-shadow: 0 0 0 1px hsla(150, 100%, 46%, 0.12), 0 18px 35px -28px hsla(150, 100%, 46%, 0.95);
  backdrop-filter: blur(6px);
}

.section-title,
.card-title,
.hero-title,
.hero-text,
.navbar-link,
.contact__card-title,
.contact__card-data,
.copyright,
.social-link,
.navbar-title,
.navbar .contact-link {
  color: var(--terminal-text);
}

.navbar-text,
.card-tag,
.card-subtitle,
.contact__form-tag,
.copyright span,
.qualification-card .card-subtitle,
.section-text {
  color: var(--terminal-dim);
}

html[data-theme="light"] body {
  color: var(--terminal-text);
  background-image: var(--binary-backdrop);
}

html[data-theme="light"] :is(.h1, .h2, .h3, .h4, .h5, .h6),
html[data-theme="light"] .hero-title,
html[data-theme="light"] .hero .wrapper .strong,
html[data-theme="light"] .section-title,
html[data-theme="light"] .service-card .card-title,
html[data-theme="light"] .portfolio-card .card-title,
html[data-theme="light"] .qualification-card .card-title,
html[data-theme="light"] .certification-card-link .card-title,
html[data-theme="light"] .contact__card-title,
html[data-theme="light"] .contact__card-data,
html[data-theme="light"] .copyright,
html[data-theme="light"] .social-link,
html[data-theme="light"] .hero-text,
html[data-theme="light"] .navbar-title,
html[data-theme="light"] .navbar .contact-link {
  color: var(--terminal-text);
}

html[data-theme="light"] .section-subtitle,
html[data-theme="light"] .navbar-text,
html[data-theme="light"] .gallery-card .card-tag,
html[data-theme="light"] .qualification-card .card-subtitle,
html[data-theme="light"] .contact__card-data,
html[data-theme="light"] .section-text {
  color: var(--terminal-dim);
}

/* ==================================
   CYBER TERMINAL FINAL TUNING
   ================================== */

:root {
  --terminal-accent: hsl(150, 100%, 56%);
  --terminal-accent-soft: hsla(150, 100%, 56%, 0.35);
}

body {
  text-shadow: 0 0 0.01px currentColor;
}

body::before,
body::after {
  text-orientation: mixed;
}

body::before {
  content:
    "01000011 01111001 01100010 01100101 01110010 00100000 01010011 01100101 01100011 00100000 00110001 00110000\A"
    "01000001 01001001 00101111 01001101 01001100 00100000 00110001 00110001 00110000 00110001 00110000 00110001\A"
    "01000101 01110100 01101000 01101001 01100011 01100001 01101100 00100000 01001000 01100001 01100011 01101011\A"
    "01001100 01101001 01101110 01110101 01111000 00100000 01001011 01100001 01101100 01101001 00100000 00110001\A"
    "00110000 00110001 00110001 00110000 00110001 00110000 00110001 00110001 00110000 00110000 00110001 00110000\A"
    "01010011 01001111 01000011 00100000 01001101 01101111 01101110 01101001 01110100 01101111 01110010 00100000\A"
    "00110001 00110000 00110001 00110000 00110001 00110001 00110000 00110000 00110001 00110000 00110001 00110000\A"
    "01010000 01100101 01101110 01110100 01100101 01110011 01110100 00100000 01000100 01100101 01100110 01100101\A"
    "00110001 00110000 00110001 00110001 00110000 00110001 00110000 00110001 00110001 00110000 00110000 00110001\A"
    "01010100 01100101 01110010 01101101 01101001 01101110 01100001 01101100 00100000 01010110 01101001 01100010";
  letter-spacing: 0.09em;
  text-shadow: 0 0 6px var(--terminal-accent-soft);
}

body::after {
  content:
    "0011010110010011010110010011010110010011010110010011010110010011010110010011010110010011010110010011\A"
    "0101100100110101100100110101100100110101100100110101100100110101100100110101100100110101100100110101\A"
    "1001001101011001001101011001001101011001001101011001001101011001001101011001001101011001001101011001\A"
    "0011010110010011010110010011010110010011010110010011010110010011010110010011010110010011010110010011\A"
    "0101100100110101100100110101100100110101100100110101100100110101100100110101100100110101100100110101\A"
    "1001001101011001001101011001001101011001001101011001001101011001001101011001001101011001001101011001";
  letter-spacing: 0.1em;
  opacity: 0.72;
}

.section-title::after,
.hero-title::after {
  content: " _";
  color: var(--terminal-accent);
  animation: terminalCursorBlink 1s steps(1, end) infinite;
}

@keyframes terminalCursorBlink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

.hero .wrapper .strong,
.wrapper.h2 .strong[data-letter-effect] {
  color: var(--terminal-accent);
  text-shadow: 0 0 8px var(--terminal-accent-soft), 0 0 18px hsla(150, 100%, 56%, 0.25);
}



@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .section-title::after,
  .hero-title::after {
    animation: none !important;
  }
}

/* ==================================
   FULL-BODY BINARY RAIN LAYER
   ================================== */

/* Replace old hardcoded pseudo-text rain with canvas rain */
body::before,
body::after {
  content: none !important;
}

:root {
  --binary-rain-trail: rgba(2, 10, 6, 0.13);
  --binary-rain-char-bright: rgba(102, 255, 170, 0.96);
  --binary-rain-char-dim: rgba(74, 229, 132, 0.66);
}

:root[data-theme="light"] {
  --binary-rain-trail: rgba(226, 255, 236, 0.2);
  --binary-rain-char-bright: rgba(18, 150, 70, 0.86);
  --binary-rain-char-dim: rgba(20, 118, 62, 0.58);
}

.binary-rain-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.88;
}

@media (max-width: 574px) {
  .binary-rain-canvas {
    opacity: 0.74;
  }
}

/* ==================================
   TERMINAL THEME STABILITY FIXES
   ================================== */

body,
button,
input,
textarea,
select {
  font-family: var(--ff-gordita);
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.card-title,
.hero-title {
  font-family: var(--ff-gordita);
  font-weight: 500;
  letter-spacing: 0.025em;
}

html[data-theme="light"] .chat-message.bot,
html[data-theme="light"] #chatbot-input-container {
  background: color-mix(in oklab, white, var(--terminal-panel) 30%);
}

html[data-theme="light"] #chatbot-container,
html[data-theme="light"] .navbar,
html[data-theme="light"] .service-card,
html[data-theme="light"] .portfolio-card,
html[data-theme="light"] .qualification-card,
html[data-theme="light"] .certification-card-link,
html[data-theme="light"] .skill-card,
html[data-theme="light"] .contact__card,
html[data-theme="light"] .gallery-card,
html[data-theme="light"] .footer-top,
html[data-theme="light"] .footer-bottom {
  border-color: var(--terminal-soft-border);
}
