/*==================== GOOGLE FONTS ====================*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Fira+Code:wght@400;500&display=swap");

/*==================== CSS VARIABLES — SOLARIZED LIGHT (default) ====================*/
:root {
  --header-height: 3rem;

  /* Solarized base tones */
  --base03: #002b36;
  --base02: #073642;
  --base01: #586e75;
  --base00: #657b83;
  --base0: #839496;
  --base1: #93a1a1;
  --base2: #eee8d5;
  --base3: #fdf6e3;

  /* Solarized accents */
  --yellow: #b58900;
  --orange: #cb4b16;
  --red: #dc322f;
  --magenta: #d33682;
  --violet: #6c71c4;
  --blue: #268bd2;
  --cyan: #2aa198;
  --green: #859900;

  /* Semantic — Light theme */
  --body-color: var(--base3);
  --container-color: rgba(238, 232, 213, 0.65);
  --title-color: var(--base02);
  --text-color: var(--base00);
  --text-color-light: var(--base1);
  --input-color: var(--base2);
  --first-color: var(--cyan);
  --first-color-alt: #1a8a80;
  --first-color-lighter: #5ec4bc;
  --second-color: var(--violet);

  /* Glassmorphism */
  --glass-bg: rgba(238, 232, 213, 0.55);
  --glass-border: rgba(42, 161, 152, 0.18);
  --glass-shadow: 0 8px 32px rgba(0, 43, 54, 0.07);

  /* Neural canvas */
  --neural-node: rgba(42, 161, 152, 0.35);
  --neural-line: rgba(42, 161, 152, 0.10);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--cyan), var(--violet));
  --gradient-accent: linear-gradient(135deg, var(--cyan), var(--blue));

  /* Scrollbar */
  --scroll-bar-color: var(--base2);
  --scroll-thumb-color: var(--base1);

  /* Typography */
  --body-font: "Poppins", sans-serif;
  --code-font: "Fira Code", monospace;
  --big-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /* Font weight */
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /* Margins */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /* Z-index */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Larger font sizes on wide screens */
@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 2.75rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

/*==================== DARK THEME — SOLARIZED DARK ====================*/
body.dark-theme {
  --body-color: var(--base03);
  --container-color: rgba(7, 54, 66, 0.65);
  --title-color: var(--base2);
  --text-color: var(--base0);
  --text-color-light: var(--base01);
  --input-color: var(--base02);
  --scroll-bar-color: var(--base02);
  --scroll-thumb-color: var(--base01);
  --glass-bg: rgba(7, 54, 66, 0.55);
  --glass-border: rgba(42, 161, 152, 0.22);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  --neural-node: rgba(42, 161, 152, 0.45);
  --neural-line: rgba(42, 161, 152, 0.12);
}

/*==================== THEME BUTTON ====================*/
.nav__btns {
  display: flex;
  align-items: center;
}

.change-theme {
  font-size: 1.25rem;
  color: var(--title-color);
  margin-right: var(--mb-1);
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
}

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

/*==================== BASE ====================*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0 0 var(--header-height) 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*==================== NEURAL CANVAS ====================*/
#neural-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/*==================== REUSABLE CLASSES ====================*/
.section {
  padding: 2rem 0 4rem;
  position: relative;
}

.section__title {
  font-size: var(--h1-font-size);
  text-align: center;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-3);
  text-align: center;
  color: var(--text-color-light);
}

.container {
  max-width: 768px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

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

/*==================== SECTION DIVIDERS — Neural Dots ====================*/
.section__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1.5rem 0;
  border: none;
  background: none;
}

.section__divider .divider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(42, 161, 152, 0.4);
  animation: divider-pulse 2.5s ease-in-out infinite;
}

.section__divider .divider__dot--accent {
  width: 12px;
  height: 12px;
  background: var(--violet);
  box-shadow: 0 0 14px rgba(108, 113, 196, 0.5);
  animation-delay: 0.5s;
}

.section__divider .divider__line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  opacity: 0.5;
}

@keyframes divider-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.4);
    opacity: 1;
  }
}

/*==================== GLASSMORPHISM CARD ====================*/
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(42, 161, 152, 0.12);
}

/*==================== BUTTONS ====================*/
.button {
  display: inline-block;
  background: var(--gradient-primary);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: var(--font-medium);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(42, 161, 152, 0.3);
}

.button__icon {
  font-size: 1.25rem;
  margin-left: var(--mb-0-5);
  transition: transform 0.3s;
}

.button:hover .button__icon {
  transform: translateX(0.25rem);
}

.button--flex {
  display: inline-flex;
  align-items: center;
}

.button--small {
  padding: 0.6rem 1rem;
  font-size: var(--small-font-size);
}

/*==================== FLOATING THEME TOGGLE ====================*/
.floating-theme {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  z-index: var(--z-fixed);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.floating-theme:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(42, 161, 152, 0.2);
}

.floating-theme .change-theme {
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
  transition: color 0.3s;
}

.floating-theme .change-theme:hover {
  color: var(--first-color);
}

/*==================== ORBITAL FAB MENU ====================*/
.fab-menu {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: var(--z-fixed);
}

.fab-menu__toggle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(42, 161, 152, 0.3);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.3s;
  position: relative;
  z-index: 10;
}

.fab-menu__toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(42, 161, 152, 0.4);
}

.fab-menu.active .fab-menu__toggle {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--magenta), var(--violet));
}

.fab-menu__icon-close {
  display: none;
}

.fab-menu.active .fab-menu__icon-open {
  display: none;
}

.fab-menu.active .fab-menu__icon-close {
  display: block;
}

/* Nav items — vertical arc */
.fab-menu__items {
  position: absolute;
  bottom: 0;
  right: 0;
  pointer-events: none;
}

.fab-menu__item {
  position: absolute;
  bottom: 0;
  right: 4px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  color: var(--title-color);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(0) scale(0.5);
  transition: all 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);
  pointer-events: none;
}

.fab-menu.active .fab-menu__item {
  opacity: 1;
  transform: translateY(calc(-70px * (var(--i) + 1))) scale(1);
  pointer-events: all;
  transition-delay: calc(var(--i) * 0.04s);
}

.fab-menu__item:hover {
  background: var(--gradient-primary);
  color: #fff;
  transform: translateY(calc(-70px * (var(--i) + 1))) scale(1.12) !important;
  box-shadow: 0 6px 24px rgba(42, 161, 152, 0.3);
}

/* Tooltip labels */
.fab-menu__item::before {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  font-family: var(--code-font);
  font-size: 0.72rem;
  background: var(--base02);
  color: var(--base1);
  padding: 4px 10px;
  border-radius: 6px;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  border: 1px solid var(--glass-border);
}

.fab-menu__item:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/*==================== HOME ====================*/
.home__container {
  gap: 1rem;
}

.home__colored-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home__content {
  grid-template-columns: 0.5fr 3fr;
  padding-top: 3.5rem;
  align-items: center;
}

.home__social {
  display: grid;
  grid-template-columns: max-content;
  row-gap: 1rem;
}

.home__social-icon {
  font-size: 1.5rem;
  transition: transform 0.3s, filter 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  color: var(--first-color);
}

.home__social-icon:nth-child(1) {
  color: #0A66C2;
}

/* LinkedIn blue */
.home__social-icon:nth-child(2) {
  color: var(--violet);
}

/* GitHub violet */
.home__social-icon:nth-child(3) {
  color: var(--orange);
}

/* Credly orange */

.home__social-icon:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 6px 20px rgba(42, 161, 152, 0.25);
}

.home__blob {
  width: 200px;
  fill: var(--first-color);
}

.home__blob-img {
  width: 200px;
}

.home__data {
  grid-column: 1/3;
}

.home__title {
  font-size: var(--big-font-size);
}

.home__subtitle {
  font-size: var(--h3-font-size);
  color: var(--text-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-0-75);
  min-height: 2rem;
}

.home__description {
  margin-bottom: var(--mb-2);
  line-height: 1.7;
}

.home__scroll {
  display: none;
}

.home__scroll-button {
  color: var(--first-color);
  transition: transform 0.3s;
}

.home__scroll-button:hover {
  transform: translateY(0.25rem);
}

.home__scroll-mouse {
  font-size: 2rem;
}

.home__scroll-name {
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
  margin-right: var(--mb-0-25);
}

.home__scroll-arrow {
  font-size: 1.25rem;
}

/* ===== Floating AI keyword tags ===== */
.home__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--mb-1-5);
}

.home__tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: var(--smaller-font-size);
  font-family: var(--code-font);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  color: var(--first-color);
  animation: float-tag 3s ease-in-out infinite;
  white-space: nowrap;
}

.home__tag:nth-child(odd) {
  animation-delay: 0s;
}

.home__tag:nth-child(even) {
  animation-delay: 1.5s;
}

.home__tag:nth-child(3n) {
  animation-delay: 0.75s;
}

@keyframes float-tag {

  0%,
  100% {
    transform: translateY(0);
  }

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

/* ===== Terminal intro ===== */
.home__terminal {
  background: var(--base02);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: var(--mb-2);
  font-family: var(--code-font);
  font-size: var(--smaller-font-size);
  color: var(--base1);
  border: 1px solid rgba(42, 161, 152, 0.2);
  line-height: 1.8;
  overflow: hidden;
  max-width: 550px;
}

.home__terminal-header {
  display: flex;
  gap: 6px;
  margin-bottom: 0.75rem;
}

.home__terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.home__terminal-dot:nth-child(1) {
  background: var(--red);
}

.home__terminal-dot:nth-child(2) {
  background: var(--yellow);
}

.home__terminal-dot:nth-child(3) {
  background: var(--green);
}

.home__terminal .prompt {
  color: var(--cyan);
}

.home__terminal .keyword {
  color: var(--green);
}

.home__terminal .string {
  color: var(--yellow);
}

.home__terminal .comment {
  color: var(--base01);
  font-style: italic;
}

/*==================== ABOUT ====================*/
.about__img {
  display: none;
  /* Hidden — replaced by model card */
}

.about__model-card {
  width: 280px;
  justify-self: center;
  background: var(--base02);
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about__model-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 1rem;
  padding: 2px;
  background: linear-gradient(135deg, var(--cyan), var(--violet), var(--magenta), var(--blue), var(--cyan));
  background-size: 300% 300%;
  animation: gradient-border 4s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

@keyframes gradient-border {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.about__model-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(42, 161, 152, 0.2);
}

.about__model-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(42, 161, 152, 0.15);
}

.about__mc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.about__mc-dot:nth-child(1) {
  background: var(--red);
}

.about__mc-dot:nth-child(2) {
  background: var(--yellow);
}

.about__mc-dot:nth-child(3) {
  background: var(--green);
}

.about__mc-title {
  font-family: var(--code-font);
  font-size: 0.7rem;
  color: var(--base1);
  margin-left: auto;
  opacity: 0.7;
}

.about__model-card-body {
  padding: 1rem;
  font-family: var(--code-font);
  font-size: 0.72rem;
  line-height: 1.9;
  color: var(--base1);
}

.about__mc-comment {
  color: var(--base01);
  font-style: italic;
}

.about__mc-keyword {
  color: var(--green);
}

.about__mc-class {
  color: var(--yellow);
}

.about__mc-string {
  color: var(--cyan);
}

.about__mc-number {
  color: var(--magenta);
}

.about__mc-attr {
  color: var(--blue);
}

.about__model-card-footer {
  padding: 0.6rem 1rem;
  border-top: 1px solid rgba(42, 161, 152, 0.15);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.about__mc-tag {
  font-family: var(--code-font);
  font-size: 0.6rem;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(42, 161, 152, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(42, 161, 152, 0.2);
}

.about__mc-tag--violet {
  background: rgba(108, 113, 196, 0.15);
  color: var(--violet);
  border-color: rgba(108, 113, 196, 0.2);
}

.about__mc-tag--magenta {
  background: rgba(211, 54, 130, 0.15);
  color: var(--magenta);
  border-color: rgba(211, 54, 130, 0.2);
}

/* Full-width model card variant */
.about__model-card--full {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.about__model-card--full .about__model-card-body {
  font-size: 0.78rem;
  line-height: 2;
  padding: 1.25rem 1.5rem;
}

.about__fullcard {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Action buttons below card */
.about__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.about__resume-btn i,
.about__download-btn i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.button--outline {
  background: transparent;
  border: 2px solid var(--first-color);
  color: var(--first-color);
}

.button--outline:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
}

/*==================== RESUME MODAL ====================*/
.resume-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.resume-modal.active {
  opacity: 1;
  visibility: visible;
}

.resume-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.resume-modal__card {
  position: relative;
  width: 90%;
  max-width: 850px;
  height: 85vh;
  background: var(--base02);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.resume-modal.active .resume-modal__card {
  transform: translateY(0) scale(1);
}

.resume-modal__card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 1rem;
  padding: 2px;
  background: linear-gradient(135deg, var(--cyan), var(--violet), var(--magenta), var(--blue), var(--cyan));
  background-size: 300% 300%;
  animation: gradient-border 4s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.resume-modal__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(42, 161, 152, 0.15);
  flex-shrink: 0;
}

.resume-modal__filename {
  font-family: var(--code-font);
  font-size: 0.75rem;
  color: var(--base1);
  opacity: 0.7;
}

.resume-modal__actions {
  margin-left: auto;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.resume-modal__download {
  color: var(--cyan);
  font-size: 1.2rem;
  transition: color 0.3s, transform 0.3s;
  display: flex;
}

.resume-modal__download:hover {
  color: var(--green);
  transform: scale(1.15);
}

.resume-modal__close {
  background: none;
  border: none;
  color: var(--red);
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.3s;
  display: flex;
  padding: 0;
}

.resume-modal__close:hover {
  transform: scale(1.2);
}

.resume-modal__body {
  flex: 1;
  overflow: hidden;
}

.resume-modal__iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
}

.about__description {
  text-align: center;
  margin-bottom: var(--mb-2-5);
  line-height: 1.7;
}

.about__info {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: var(--mb-2-5);
}

.about__info-title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

.about__info-name {
  font-size: var(--smaller-font-size);
}

.about__info-title,
.about__info-name {
  display: block;
  text-align: center;
}

.about__buttons {
  display: flex;
  justify-content: center;
}

/*==================== SKILLS ====================*/
.skills__container {
  row-gap: 0;
  align-items: start;
}

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

.skills__header {
  display: flex;
  align-items: center;
  margin-bottom: var(--mb-2-5);
  cursor: pointer;
}

.skills__icon,
.skills__arrow {
  font-size: 2rem;
  color: var(--first-color);
}

.skills__icon {
  margin-right: var(--mb-0-75);
}

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

.skills__subtitle {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.skills__arrow {
  margin-left: auto;
  transition: 0.4s;
}

.skills__list {
  row-gap: 1.5rem;
  padding-left: 2.7rem;
}

.skills__titles {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--mb-0-5);
}

.skills__name {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.skills__bar {
  height: 6px;
  border-radius: 0.25rem;
  background-color: var(--input-color);
  position: relative;
  overflow: hidden;
}

.skills__percentage {
  display: block;
  height: 100%;
  border-radius: 0.25rem;
  background: var(--gradient-primary);
  width: 0%;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

/* Glow effect on skill bars */
.skills__percentage::after {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(42, 161, 152, 0.6);
  opacity: 0;
  transition: opacity 0.5s ease 1s;
}

.skills__bar.animated .skills__percentage::after {
  opacity: 1;
}

.skills__close .skills__list {
  height: 0;
  overflow: hidden;
}

.skills__open .skills__list {
  height: max-content;
  margin-bottom: var(--mb-2-5);
}

.skills__open .skills__arrow {
  transform: rotate(-180deg);
}

.skills__content {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: var(--mb-1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  min-height: 100px;
}

.skills__content:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(42, 161, 152, 0.1);
}

/*==================== QUALIFICATION ====================*/
.qualification__tabs {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: var(--mb-2);
}

.qualification__button {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  cursor: pointer;
  color: var(--text-color);
  transition: color 0.3s;
}

.qualification__button:hover {
  color: var(--first-color);
}

.qualification__icon {
  font-size: 1.8rem;
  margin-right: var(--mb-0-25);
}

.qualification__data {
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  column-gap: 1.5rem;
}

.qualification__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.qualification__subtitle {
  display: inline-block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-1);
}

.qualification__calendar {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

.qualification__rounder {
  display: inline-block;
  border-radius: 50%;
  width: 13px;
  height: 13px;
  background: var(--gradient-primary);
}

.qualification__line {
  display: block;
  width: 1px;
  height: 100%;
  background-color: var(--first-color);
  transform: translate(6px, -7px);
}

.qualification [data-content] {
  display: none;
}

.qualification__active[data-content] {
  display: block;
}

.qualification__button.qualification__active {
  color: var(--first-color);
}

/*==================== PROFESSIONAL CERTIFICATIONS ====================*/
.qualifications__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.qual__badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #6c71c4, #585db5);
  padding: 1.2rem 1.4rem;
  border-radius: 1rem;
  text-decoration: none;
  color: #fdf6e3;
  box-shadow: 0 8px 28px rgba(108, 113, 196, 0.25);
  opacity: 0;
  transform: translateY(14px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qual__badge:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 40px rgba(108, 113, 196, 0.35);
  background: linear-gradient(135deg, #585db5, #4a4fa8);
}

.qual__badge.animate {
  animation: qualFade 0.45s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

@keyframes qualFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.qual__logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.qual__text {
  font-weight: 600;
  line-height: 1.35;
  color: #fdf6e3;
}

.qual__text span {
  display: block;
  font-size: 0.85rem;
  opacity: 0.85;
  font-weight: 400;
  color: rgba(253, 246, 227, 0.8);
}

/*==================== COURSE CERTIFICATIONS ====================*/
.certifications__container {
  display: grid;
  /* This forces exactly 2 columns */
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.cert__badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  /* Solarized Cyan to Blue Gradient to match your 'vibrant' request */
  background: linear-gradient(135deg, #2aa198, #268bd2);
  padding: 1.2rem 1.4rem;
  border-radius: 1rem;
  text-decoration: none;
  color: #fdf6e3;
  box-shadow: 0 8px 28px rgba(42, 161, 152, 0.25);

  /* Animation properties */
  opacity: 0;
  transform: translateY(14px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.4s ease;
}

.cert__badge.animate {
  animation: qualFade 0.45s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.cert__badge:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 40px rgba(42, 161, 152, 0.4);
  background: linear-gradient(135deg, #268bd2, #2aa198);
}

.cert__logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px;
  object-fit: contain;
  /* Adds a glow to the logo circle */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 10px rgba(253, 246, 227, 0.3);
  flex-shrink: 0;
  /* Keeps the logo from squishing */
}

.cert__text {
  font-weight: 600;
  line-height: 1.3;
  color: #fdf6e3;
  font-size: 0.95rem;
}

.cert__text span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.85;
  font-weight: 400;
  color: rgba(253, 246, 227, 0.8);
}



/* Stagger delays */
.certifications__container .cert__badge:nth-child(1) {
  animation-delay: 0.06s;
}

.certifications__container .cert__badge:nth-child(2) {
  animation-delay: 0.12s;
}

.certifications__container .cert__badge:nth-child(3) {
  animation-delay: 0.18s;
}

.certifications__container .cert__badge:nth-child(4) {
  animation-delay: 0.24s;
}

.certifications__container .cert__badge:nth-child(5) {
  animation-delay: 0.30s;
}

.certifications__container .cert__badge:nth-child(6) {
  animation-delay: 0.36s;
}

.certifications__container .cert__badge:nth-child(7) {
  animation-delay: 0.42s;
}

.certifications__container .cert__badge:nth-child(8) {
  animation-delay: 0.48s;
}

.certifications__container .cert__badge:nth-child(9) {
  animation-delay: 0.54s;
}

.certifications__container .cert__badge:nth-child(10) {
  animation-delay: 0.60s;
}

.certifications__container .cert__badge:nth-child(11) {
  animation-delay: 0.66s;
}

.certifications__container .cert__badge:nth-child(12) {
  animation-delay: 0.72s;
}



.cert__text {
  color: var(--title-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

/*==================== PROJECTS ====================*/
.projects__container {
  overflow: initial;
}

.projects__content {
  padding: 1.5rem;
  background: linear-gradient(135deg, #268bd2, #d33682);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.projects__content:hover {
  box-shadow: 0 12px 40px rgba(42, 161, 152, 0.12);
}

.projects__img {
  width: 400px;
  border-radius: 0.75rem;
  justify-self: center;
  transition: transform 0.3s ease;
}

.projects__content:hover .projects__img {
  transform: scale(1.02);
}

.projects__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
  color: #fdf6e3;
  /* Solarized Base3 (Creamy white) for max contrast */
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.projects__description {
  margin-bottom: var(--mb-0-75);
  text-align: justify;
  line-height: 1.6;
  color: #eee8d5;
  /* Solarized Base2 (Light grey) for readability */
}

.projects__button {
  background: var(--gradient-primary);
}

.projects__content:hover {
  /* Increased shadow intensity for a floating effect */
  box-shadow: 0 14px 40px rgba(38, 139, 210, 0.3);
  transform: translateY(-5px);
}

.projects__content:hover .projects__img {
  transform: scale(1.04);
  /* Strong white/cyan glow on hover to make it pop */
  filter: drop-shadow(0 0 15px rgba(253, 246, 227, 0.5));
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
}

.swiper-projects-icon {
  font-size: 2rem;
  color: var(--first-color);
}

.swiper-button-prev {
  left: -0.5rem;
}

.swiper-button-next {
  right: -0.5rem;
}

.swiper-container-horizontal>.swiper-pagination-bullets {
  bottom: -2.5rem;
}

.swiper-pagination-bullet {
  background-color: var(--first-color);
}

.swiper-button-prev,
.swiper-button-next,
.swiper-pagination-bullet {
  outline: none;
}

/* Private project button styles */
.private-doc-btn .btn-label::after {
  content: "Private Project";
  font-weight: 500;
}

.private-doc-btn:hover .btn-label::after {
  content: "View Documentation";
}

.private-doc-btn .btn-label {
  display: inline-block;
  width: auto;
}

.private-doc-btn:hover .uil-lock::before {
  content: "\ebea";
}

/*==================== PUBLICATIONS ====================*/
.publications__container {
  display: flex;
  justify-content: center;
}

.pub__card {
  width: 100%;
  max-width: 720px;
  background: var(--base02);
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pub__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Same animated gradient border as model card */
.pub__card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 1rem;
  padding: 2px;
  background: linear-gradient(135deg, var(--violet), var(--blue), var(--cyan), var(--magenta), var(--violet));
  background-size: 300% 300%;
  animation: gradient-border 5s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.pub__card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1rem;
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(42, 161, 152, 0.15);
}

.pub__filename {
  font-family: var(--code-font);
  font-size: 0.7rem;
  color: var(--base1);
  opacity: 0.7;
  margin-left: 4px;
}

.pub__status {
  margin-left: auto;
  font-family: var(--code-font);
  font-size: 0.65rem;
  color: var(--green);
  opacity: 0.85;
}

.pub__card-body {
  padding: 1.25rem 1.5rem;
  font-family: var(--code-font);
  font-size: 0.78rem;
  line-height: 2;
  color: var(--base1);
  position: relative;
  z-index: 1;
}

.pub__meta-line {
  display: block;
}

.pub__indent {
  padding-left: 1.5rem;
}

.pub__brace {
  color: var(--base1);
}

.pub__abstract {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(42, 161, 152, 0.1);
}

.pub__abstract-text {
  display: block;
  font-family: var(--body-font);
  font-size: var(--small-font-size);
  color: var(--text-color);
  line-height: 1.8;
  margin-top: 0.5rem;
}

.pub__card-footer {
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid rgba(42, 161, 152, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.pub__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pub__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pub__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: 0.5rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  text-decoration: none;
  transition: all 0.3s ease;
}

.pub__btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(42, 161, 152, 0.2);
}

.pub__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(42, 161, 152, 0.35);
}

.pub__btn--outline {
  background: transparent;
  border: 1.5px solid var(--first-color);
  color: var(--first-color);
}

.pub__btn--outline:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

/*==================== BADGES ====================*/
.badges__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  justify-items: center;
  margin-top: 2rem;
}

.badge__card {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  overflow: hidden;
}

.badge__card:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 30px rgba(42, 161, 152, 0.2);
  border-color: var(--first-color);
}

.badge__card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  border-radius: 50%;
}

/*==================== CONTACT ME ====================*/
.contact__container {
  row-gap: 3rem;
}

.contact__information {
  display: flex;
  margin-bottom: var(--mb-2);
}

.contact__icon {
  font-size: 2rem;
  color: var(--first-color);
  margin-right: var(--mb-0-75);
}

.contact__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
}

.contact__subtitle {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.contact__content {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem 0.25rem;
  transition: border-color 0.3s;
}

.contact__content:focus-within {
  border-color: var(--first-color);
}

.contact__label {
  font-size: var(--smaller-font-size);
  color: var(--title-color);
}

.contact__input {
  width: 100%;
  background-color: transparent;
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  border: none;
  outline: none;
  padding: 0.25rem 0.5rem 0.5rem 0;
}

.contact__submit {
  display: flex;
  gap: 2rem;
  align-items: center;
}

#contact__button {
  display: block;
  border: none;
  outline: none;
  font-size: var(--font-medium);
  font-family: var(--body-font);
  cursor: pointer;
}

#contact__status {
  color: #fff;
  padding: 0.6rem;
  border-radius: 0.5rem;
  font-size: var(--smaller-font-size);
}

#contact__status.success {
  background-color: var(--green);
  animation: status 4s ease forwards;
}

#contact__status.error {
  background-color: var(--red);
  animation: status 4s ease forwards;
}

@keyframes status {

  0%,
  90% {
    opacity: 1;
    pointer-events: all;
  }

  100% {
    opacity: 0;
    pointer-events: none;
  }
}

/*==================== FOOTER ====================*/
.footer {
  padding-top: 2rem;
}

.footer__container {
  row-gap: 3.5rem;
}

.footer__bg {
  background: var(--gradient-primary);
  padding: 2rem 0 3rem;
}

.footer__title {
  font-size: var(--h1-font-size);
  margin-bottom: var(--mb-0-25);
}

.footer__subtitle {
  font-size: var(--small-font-size);
}

.footer__links {
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
}

.footer__link:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer__social {
  font-size: 1.25rem;
  margin-right: var(--mb-1-5);
  transition: transform 0.3s;
}

.footer__social:hover {
  color: rgba(255, 255, 255, 0.7);
  transform: translateY(-3px);
}

.footer__copy {
  font-size: var(--smaller-font-size);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--mb-3);
}

.footer__title,
.footer__subtitle,
.footer__link,
.footer__social {
  color: #fff;
}

/*==================== SCROLL UP ====================*/
.scrollup {
  position: fixed;
  left: 1rem;
  bottom: -20%;
  background: var(--gradient-primary);
  opacity: 0.9;
  border-radius: 0.5rem;
  padding: 0 0.3rem;
  transition: 0.4s;
  z-index: var(--z-tooltip);
}

.scrollup:hover {
  transform: translateY(-3px);
}

.scrollup__icon {
  font-size: 1.5rem;
  color: #fff;
}

.show-scroll {
  bottom: 5rem;
}

/*==================== SCROLL BAR ====================*/
::-webkit-scrollbar {
  width: 0.6rem;
  background-color: var(--scroll-bar-color);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 0.5rem;
}

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

/*==================== MEDIA QUERIES ====================*/

/* Small devices */
@media screen and (max-width: 350px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }

  .nav__menu {
    padding: 2rem 0.25rem 4rem;
  }

  .nav__list {
    column-gap: 0;
  }

  .home__content {
    grid-template-columns: 0.25fr 3fr;
  }

  .home__blob {
    width: 190px;
  }

  .home__tags {
    gap: 0.3rem;
  }

  .home__terminal {
    font-size: 0.65rem;
  }

  .about__img {
    width: 200px;
  }

  .skills__title {
    font-size: var(--normal-font-size);
  }

  .qualification__data {
    gap: 0.5rem;
  }

  .contact__submit {
    display: grid;
    row-gap: 1.5rem;
  }

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

  .badge__card {
    width: 110px;
    height: 110px;
  }
}

/* Medium devices */
@media screen and (min-width: 568px) {
  .home__content {
    grid-template-columns: max-content 1fr 1fr;
  }

  .home__data {
    grid-column: initial;
  }

  .home__img {
    order: 1;
    justify-self: center;
  }

  .about__model-card--full {
    max-width: 600px;
  }

  .skills__container,
  .projects__content,
  .contact__container,
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .qualification__sections {
    display: grid;
    grid-template-columns: 0.6fr;
    justify-content: center;
  }
}

@media screen and (min-width: 768px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  body {
    margin: 0;
  }

  .section {
    padding: 6rem 0 2rem;
  }

  .section__subtitle {
    margin-bottom: 4rem;
  }

  .header {
    top: 0;
    bottom: initial;
    padding: 0.75rem 2rem;
  }

  .nav {
    padding: 0.6rem 2rem;
  }

  .main,
  .footer__container {
    padding: 0 1rem;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
    column-gap: 1rem;
  }

  .nav__icon,
  .nav__close,
  .nav__toggle {
    display: none;
  }

  .nav__list {
    display: flex;
    column-gap: 2rem;
  }

  .change-theme {
    margin: 0;
  }

  .home__container {
    row-gap: 5rem;
  }

  .home__content {
    padding-top: 5.5rem;
    column-gap: 3rem;
  }

  .home__blob {
    width: 250px;
  }

  .home__scroll {
    display: block;
  }

  .home__scroll-button {
    margin-left: 3rem;
  }

  .about__model-card--full {
    max-width: 720px;
  }

  .about__model-card--full .about__model-card-body {
    font-size: 0.85rem;
  }

  .about__description {
    text-align: justify;
  }

  .about__info {
    justify-content: space-between;
  }

  .about__buttons {
    justify-content: initial;
  }

  .qualification__tabs {
    justify-content: center;
  }

  .qualification__button {
    margin: 0 var(--mb-1);
  }

  .qualification__sections {
    grid-template-columns: 0.5fr;
  }

  .projects__img {
    width: 320px;
  }

  .projects__content {
    align-items: center;
  }

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

  .footer__bg {
    padding: 3rem 0 3.5rem;
  }

  .footer__links {
    flex-direction: row;
    column-gap: 1rem;
  }

  .footer__socials {
    justify-self: flex-end;
  }

  .footer__social {
    margin: 1.5rem;
  }

  .footer__copy {
    margin-top: 4.5rem;
  }
}

/* Large devices */
@media screen and (min-width: 1024px) {

  .header,
  .main,
  .footer__container {
    padding: 0;
  }

  .home__blob {
    width: 320px;
  }

  .home__social {
    transform: translateX(-6rem);
  }

  .about__img {
    width: 350px;
  }

  .about__model-card--full {
    max-width: 780px;
  }

  .projects__content {
    column-gap: 5rem;
  }

  .swiper-projects-icon {
    font-size: 3rem;
  }

  .swiper-button-next {
    right: -3.5rem;
  }

  .swiper-button-prev {
    left: -3.5rem;
  }

  .swiper-container-horizontal>.swiper-pagination-bullets {
    bottom: -4.5rem;
  }

  .contact__form {
    width: 460px;
  }
}

@media (max-width: 1920px) and (min-width: 570px) {
  .about__img {
    margin: -5rem -3rem 0 0;
  }
}

@media (max-width: 569px) {
  .about__img {
    margin: 0 !important;
  }
}

@media (max-width: 900px) {
  .badges__container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .badges__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .badge__card {
    width: 110px;
    height: 110px;
  }

  .qual__badge {
    padding: 1rem;
  }

  .qual__logo {
    width: 44px;
    height: 44px;
  }

  .cert__badge {
    padding: 0.75rem;
    gap: 0.6rem;
  }

  .cert__logo {
    width: 36px;
  }

  .cert__text {
    font-size: 0.85rem;
  }
}

/*==================== SPECIAL EFFECTS ====================*/

/* Gradient text utility */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glow pulse for accent elements */
@keyframes glow-pulse {

  0%,
  100% {
    box-shadow: 0 0 8px rgba(42, 161, 152, 0.3);
  }

  50% {
    box-shadow: 0 0 20px rgba(42, 161, 152, 0.5);
  }
}

/* Smooth section transitions */
.section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Keep home always visible */
.home.section {
  opacity: 1;
  transform: none;
}