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

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  /*   
        Purple: hsl(250, 66%, 75%)
        Blue: hsl(207, 90%, 72%)
        Pink: hsl(356, 66%, 75%)
        Teal: hsl(174, 63%, 62%)
  */
  --first-hue: 207;
  --sat: 66%;
  --lig: 75%;
  --second-hue: 219;
  --first-color: hsl(var(--first-hue), var(--sat), var(--lig));
  --first-color-alt: hsl(var(--first-hue), var(--sat), 71%); /* -4% */
  --title-color: hsl(var(--second-hue), 15%, 95%);
  --text-color: hsl(var(--second-hue), 8%, 75%);
  --text-color-light: hsl(var(--second-hue), 4%, 55%);
  --body-color: hsl(var(--second-hue), 48%, 8%);
  --container-color: hsl(var(--second-hue), 32%, 12%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --biggest-font-size: 1.75rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;
  --tiny-font-size: 0.625rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semibold: 600;

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

/* Responsive typography */
@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 2.5rem;
    --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;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Safe area insets for notched devices */
body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body,
button,
input,
textarea {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  transition: 0.4s; /* for light mode animation */
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

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

/*=============== THEME ===============*/
.change__theme {
  font-size: 1.25rem;
  cursor: pointer;
  transition: 0.3s;
}

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

/*========== Variables light theme ==========*/
body.light-theme {
  --title-color: hsl(var(--second-hue), 15%, 15%);
  --text-color: hsl(var(--second-hue), 8%, 35%);
  --body-color: hsl(var(--second-hue), 100%, 99%);
  --container-color: #e9e9e9;
}

/*========== 
    Color changes in some parts of 
    the website, in light theme
==========*/
.light-theme .scroll-header {
  box-shadow: 0 2px 4px hsla(0, 0%, 1%, 0.1);
}

.light-theme .nav__menu {
  background-color: hsla(var(--second-hue), 32%, 90%, 0.8);
}

.light-theme .section__subtitle {
  color: var(--text-color);
}

.light-theme .home__social-link {
  box-shadow: 0 2px 16px hsla(var(--second-hue), 48%, 8%, 0.1);
}

.light-theme .home__social-link::after,
.light-theme .footer__social-link {
  background-color: var(--title-color);
}

.light-theme .home__social-link,
.light-theme .home__scroll,
.light-theme .button,
.light-theme .button:hover,
.light-theme .active-work,
.light-theme .footer__title,
.light-theme .footer__link,
.light-theme .footer__copy {
  color: var(--title-color);
}

.light-theme .about__box {
  box-shadow: 0 2px 16px hsla(var(--second-hue), 48%, 8%, 0.1);
}

.light-theme .button,
.light-theme .skills__intro,
.light-theme .skills__tile,
.light-theme .services__card,
.light-theme .work__card,
.light-theme .pricing__card,
.light-theme .contact__card,
.light-theme .contact__form-div {
  box-shadow: 0 2px 16px hsla(var(--second-hue), 48%, 8%, 0.1);
}

.light-theme::-webkit-scrollbar {
  background-color: hsl(var(--second-hue), 8%, 80%);
}
/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  width: 100%;
  max-width: 968px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Fluid container padding based on viewport */
@media screen and (min-width: 576px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media screen and (min-width: 992px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

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

.main {
  overflow: hidden;
}

.section {
  padding: 4.5rem 0 1rem;
}

.section__title,
.section__subtitle {
  text-align: center;
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--first-color);
  margin-bottom: 2rem;
}

.section__subtitle {
  display: block;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

/*=============== HEADER & NAV===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* height: var(--header-height); */
  background-color: var(--body-color);
  z-index: var(--z-fixed);
  transition: 0.4s;
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  color: var(--first-color);
  font-weight: var(--font-medium);
  transition: 0.4s;
}

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

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__admin-btn {
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
  transition: 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
}

.nav__admin-btn:hover {
  color: var(--first-color);
  transform: scale(1.1);
}

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

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

/*=============== NAVIGATION ===============*/
.nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--body-color);
  transition: 0.4s;
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.nav__logo {
  color: var(--title-color);
  font-weight: var(--font-semibold);
  font-size: 1.1rem;
  transition: 0.3s;
}

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

.nav__menu {
  flex: 1;
  display: flex;
  justify-content: center;
  margin: 0 2rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  box-shadow: 0 20px 40px hsla(var(--second-hue), 48%, 8%, 0.35);
  backdrop-filter: blur(18px);
}

.nav__menu--modern {
  max-width: 780px;
}

.nav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  width: 100%;
}

.nav__link {
  color: var(--text-color-light);
  font-size: 0.85rem;
  font-weight: var(--font-medium);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: 0.3s ease;
}

.nav__link i {
  font-size: 1rem;
}

.nav__link-text {
  letter-spacing: 0.02em;
}

.nav__link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--body-color);
}

/* Active link */
.active-link {
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  color: var(--body-color);
  box-shadow: 0 16px 40px hsla(var(--first-hue), 66%, 30%, 0.4);
}

/* Nav actions */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__admin-btn {
  color: var(--text-color-light);
  font-size: 1.1rem;
  transition: 0.3s;
}

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

/* Toggle button */
.nav__toggle {
  display: none;
  color: var(--title-color);
  font-size: 1.25rem;
  cursor: pointer;
  transition: 0.3s;
}

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

/* Close button */
.nav__close {
  display: none;
  position: absolute;
  top: 0.5rem;
  right: 0.7rem;
  color: var(--title-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: 0.3s;
}

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

/*=============== SHOW MENU ===============*/
.nav__menu.show-menu {
  top: 0;
}

/*=============== RESPONSIVE NAVIGATION ===============*/
@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 4rem 0 2rem;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin: 0;
    transition: 0.4s ease;
    z-index: var(--z-fixed);
  }

  .nav__list {
    flex-direction: column;
    gap: 1rem;
    padding: 0 2rem;
  }

  .nav__link {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    width: 100%;
    justify-content: flex-start;
    border-radius: 0.5rem;
  }

  .nav__link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--title-color);
  }

  .nav__close {
    display: block;
  }

  .nav__toggle {
    display: block;
  }

  .nav__actions {
    gap: 0.75rem;
  }
}

@media screen and (max-width: 640px) {
  .nav__link-text {
    display: none;
  }

  .nav__list {
    gap: 0.75rem;
    padding: 0 1.5rem;
  }

  .nav__link {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {
  .nav__logo {
    font-size: 1rem;
  }

  .nav__actions {
    gap: 0.5rem;
  }

  .nav__admin-btn {
    font-size: 1rem;
  }

  .nav__toggle {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 768px) {
  .nav__menu {
    margin: 0 1rem;
  }

  .skills__shell {
    grid-template-columns: 1fr;
  }

  .skills__grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 640px) {
  .nav__link-text {
    display: none;
  }

  .nav__list {
    gap: 0.35rem;
  }
}

/* Change background header */
.scroll-header {
  box-shadow: 0 4px 4px hsla(0, 0%, 4%, 0.3);
}

/*=============== HOME ===============*/
.home__container {
  position: relative;
  row-gap: 4.5rem;
  padding-top: 2rem;
}

.home__data {
  text-align: center;
}

.home__greeting,
.home__education {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

.home__greeting {
  display: block;
  color: var(--title-color);
  margin-bottom: 0.25rem;
}

.home__education {
  color: var(--text-color);
  margin-bottom: 2.5rem;
}

.home__name {
  font-size: var(--biggest-font-size);
  color: var(--first-color);
}

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

.home__handle {
  justify-self: center;
  width: 190px;
  height: 293px;
  background: linear-gradient(
    180deg,
    hsla(0, 100%, 50%, 0.5),
    hsla(0, 100%, 50%, 0.1)
  );

  border-radius: 10rem 10rem 1rem 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.home__button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.home__social,
.home__scroll {
  position: absolute;
}

.home__social {
  bottom: 4rem;
  left: 0;
  display: grid;
  row-gap: 0.5rem;
}

.home__social-link {
  width: max-content;
  background-color: var(--container-color);
  color: var(--first-color);
  padding: 0.25rem;
  border-radius: 0.5rem;
  display: flex;
  font-size: 1rem;
  transition: 0.4s;
}

.home__social-link:hover {
  background-color: var(--first-color);
  color: #ffffff;
}

.home__social::after {
  content: "";
  width: 32px;
  height: 1px;
  background-color: var(--first-color);
  transform: rotate(90deg) translate(16px, 4px);
}

.home__scroll {
  color: var(--first-color);
  right: -1.5rem;
  bottom: 4rem;
  display: grid;
  row-gap: 2.25rem;
  justify-items: center;
}

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

.home__scroll-name {
  font-size: var(--smaller-font-size);
  transform: rotate(-90deg);
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-block;
  background-color: var(--first-color);
  color: var(--body-color);
  padding: 0.75rem 1rem;
  border-radius: 0.8rem;
  font-weight: var(--font-medium);
  transition: 0.4s;
}

.button:hover {
  background-color: var(--first-color-alt);
  color: var(--body-color);
}

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

/*=============== ABOUT ===============*/
.about__container {
  row-gap: 2.5rem;
}

.about__media {
  position: relative;
  display: inline-flex;
  justify-self: center;
  max-width: 100%;
}

.about__img {
  width: 220px;
  border-radius: 1.5rem;
  justify-self: center;
  display: block;
}

.about__social {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.about__media:hover .about__social,
.about__social:focus-within {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.about__social-link {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background-color: var(--body-color);
  color: var(--title-color);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.about__social-link:hover {
  transform: translateY(-2px);
  color: var(--first-color);
  background-color: var(--container-color);
}

.about__data {
  text-align: center;
}

.about__info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.about__box {
  background-color: var(--container-color);
  border-radius: 0.75rem;
  padding: 0.75rem 0.5rem;
}

.about__icon {
  font-size: 1.5rem;
  color: var(--first-color);
  margin-bottom: 0.5rem;
}

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

.about__subtitle {
  font-size: var(--tiny-font-size);
}

.about__description {
  margin-bottom: 2rem;
}

.about__contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.about__contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  background-color: var(--container-color);
  border-radius: 0.85rem;
}

.about__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.about__contact-icon {
  font-size: 1.25rem;
  color: var(--first-color);
}

.about__contact-label {
  display: block;
  font-size: var(--tiny-font-size);
  color: var(--text-color-light);
}

.about__contact-value {
  color: var(--title-color);
  font-weight: var(--font-medium);
  text-decoration: none;
}

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

/*=============== SKILLS ===============*/
.skills__shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) 1.05fr;
  gap: 2rem;
  align-items: start;
  padding-top: 1rem;
}

.skills__intro {
  background: radial-gradient(circle at 20% 20%, hsla(var(--first-hue), 66%, 60%, 0.12), transparent 45%),
    radial-gradient(circle at 80% 0%, hsla(var(--second-hue), 62%, 60%, 0.2), transparent 40%),
    linear-gradient(140deg, hsla(var(--second-hue), 32%, 16%, 0.95), hsla(var(--second-hue), 32%, 10%, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.75rem;
  padding: 1.9rem;
  display: grid;
  gap: 1.2rem;
  box-shadow: 0 28px 52px hsla(var(--second-hue), 48%, 8%, 0.38);
}

.skills__intro-head {
  display: grid;
  gap: 0.45rem;
}

.skills__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--title-color);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-size: var(--tiny-font-size);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skills__heading {
  margin: 0;
  font-size: var(--h1-font-size);
  color: var(--title-color);
  line-height: 1.25;
}

.skills__text {
  margin: 0;
  color: var(--text-color);
  line-height: 1.65;
}

.skills__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.skills__metric {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  display: grid;
  gap: 0.15rem;
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.06);
}

.skills__metric-value {
  font-size: 1.25rem;
  font-weight: var(--font-semibold);
  color: var(--first-color);
}

.skills__metric-label {
  color: var(--text-color);
  font-size: var(--small-font-size);
}

.skills__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.skills__legend-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--title-color);
  background: hsla(var(--second-hue), 48%, 16%, 0.8);
  font-size: var(--smaller-font-size);
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px hsla(var(--second-hue), 48%, 8%, 0.35);
}

.skills__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.skills__tile {
  position: relative;
  overflow: hidden;
  background: var(--container-color);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.4rem;
  padding: 1.4rem 1.5rem;
  display: grid;
  gap: 0.9rem;
  box-shadow: 0 20px 40px hsla(var(--second-hue), 48%, 8%, 0.3);
  transition: 0.35s ease;
}

.skills__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, hsla(var(--first-hue), 66%, 72%, 0.12), transparent 45%);
  opacity: 0;
  transition: 0.35s ease;
}

.skills__tile:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 52px hsla(var(--second-hue), 48%, 8%, 0.4);
}

.skills__tile:hover::after {
  opacity: 1;
}

.skills__tile--accent {
  background: linear-gradient(135deg, hsla(var(--first-hue), 66%, 62%, 0.12), hsla(var(--second-hue), 62%, 28%, 0.8)),
    var(--container-color);
  border-color: rgba(255, 255, 255, 0.14);
}

.skills__tile-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
}

.skills__tile-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  color: var(--body-color);
  font-size: 1.45rem;
  box-shadow: 0 14px 28px hsla(var(--first-hue), 66%, 30%, 0.35);
}

.skills__tile-meta {
  display: grid;
  gap: 0.15rem;
}

.skills__card-label {
  font-size: var(--smaller-font-size);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-color-light);
}

.skills__card-title {
  font-size: var(--h3-font-size);
  margin: 0;
  color: var(--title-color);
}

.skills__card-copy {
  margin: 0;
  color: var(--text-color);
  line-height: 1.65;
}

.skills__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skills__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--title-color);
  font-size: var(--smaller-font-size);
  letter-spacing: 0.01em;
  transition: all 0.3s ease;
}

.skills__tag:hover {
  background: hsla(var(--first-hue), 66%, 50%, 0.15);
  border-color: hsla(var(--first-hue), 66%, 50%, 0.3);
  color: var(--first-color);
}

/* ===== Skills Light Theme - Complete Styles ===== */
.light-theme .skills__intro {
  background: radial-gradient(circle at 20% 20%, hsla(var(--first-hue), 66%, 72%, 0.18), transparent 45%),
    radial-gradient(circle at 80% 0%, hsla(var(--second-hue), 62%, 70%, 0.22), transparent 40%),
    linear-gradient(145deg, #ffffff, #f4f5f9);
  border-color: hsla(var(--second-hue), 32%, 82%, 0.6);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.light-theme .skills__eyebrow {
  background: hsla(var(--first-hue), 66%, 50%, 0.12);
  color: var(--title-color);
  border: 1px solid hsla(var(--first-hue), 66%, 50%, 0.2);
}

.light-theme .skills__heading {
  color: var(--title-color);
}

.light-theme .skills__text {
  color: var(--text-color);
}

.light-theme .skills__metric {
  background: hsla(var(--second-hue), 48%, 98%, 0.95);
  border-color: hsla(var(--second-hue), 48%, 88%, 0.85);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.light-theme .skills__metric-value {
  color: var(--first-color);
}

.light-theme .skills__metric-label {
  color: var(--text-color);
}

.light-theme .skills__legend-pill {
  background: hsla(var(--second-hue), 48%, 96%, 0.95);
  color: var(--title-color);
  border-color: hsla(var(--second-hue), 48%, 82%, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.light-theme .skills__tile {
  background: #ffffff;
  border-color: hsla(var(--second-hue), 48%, 86%, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.light-theme .skills__tile:hover {
  border-color: hsla(var(--first-hue), 66%, 70%, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.light-theme .skills__tile::after {
  background: radial-gradient(circle at 20% 20%, hsla(var(--first-hue), 66%, 72%, 0.08), transparent 45%);
}

.light-theme .skills__tile--accent {
  background: linear-gradient(135deg, hsla(var(--first-hue), 66%, 85%, 0.4), #ffffff);
  border-color: hsla(var(--first-hue), 66%, 78%, 0.5);
}

.light-theme .skills__tile-icon {
  color: #ffffff;
  box-shadow: 0 10px 20px hsla(var(--first-hue), 66%, 40%, 0.25);
}

.light-theme .skills__tile-meta {
  color: var(--title-color);
}

.light-theme .skills__card-label {
  color: var(--text-color-light);
}

.light-theme .skills__card-title {
  color: var(--title-color);
}

.light-theme .skills__card-copy {
  color: var(--text-color);
}

.light-theme .skills__tags {
  gap: 0.5rem;
}

.light-theme .skills__tag {
  background: hsla(var(--second-hue), 48%, 96%, 0.95);
  border-color: hsla(var(--second-hue), 48%, 85%, 0.9);
  color: var(--title-color);
}

.light-theme .skills__tag:hover {
  background: hsla(var(--first-hue), 66%, 95%, 1);
  border-color: hsla(var(--first-hue), 66%, 70%, 0.5);
  color: var(--first-color);
}

/*=============== SERVICES ===============*/
.services__container {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-top: 1rem;
}

.services__card {
  background-color: var(--container-color);
  padding: 3rem 1.5rem 1.5em;
  border-radius: 1.25rem;
}

.services__title {
  font-size: var(--h3-font-size);
  margin-bottom: 2.5rem;
}

.services__button {
  color: var(--first-color);
  font-size: var(--small-font-size);
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
  cursor: pointer;
}

.services__button:hover .services__icon {
  transform: translateX(0.25rem);
}

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

/* Services modal */
.services__modal {
  position: fixed;
  inset: 0;
  background-color: hsl(var(--second-hue), 28%, 16%, 0.7);
  padding: 2rem 1rem;
  display: grid;
  place-items: center;
  transition: 0.4s;
  z-index: var(--z-modal);
  visibility: hidden;
  opacity: 0;
}

.services__modal-content {
  background-color: var(--body-color);
  padding: 4.5rem 1.5rem 2.5rem;
  border-radius: 1.5rem;
  position: relative;
}

.services__modal-title,
.services__modal-description {
  text-align: center;
}

.services__modal-title {
  font-size: var(--h3-font-size);
  color: var(--first-color);
  margin-bottom: 1rem;
}

.services__modal-description {
  font-size: var(--small-font-size);
  margin-bottom: 2rem;
}

.services__modal-list {
  display: grid;
  row-gap: 0.75rem;
}

.services__modal-item {
  display: flex;
  align-items: flex-start;
  column-gap: 0.5rem;
}

.services__modal-icon {
  font-size: 1.5rem;
  color: var(--first-color);
}

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

.services__modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--first-color);
  cursor: pointer;
}
/*Active modal*/

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

/*=============== WORK ===============*/

.work__container {
  padding-top: 1rem;
}

.work__filters {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.75rem;
  margin-bottom: 2rem;
}

.work__item {
  cursor: pointer;
  color: var(--title-color);
  padding: 0.25rem 0.75rem;
  font-weight: var(--font-medium);
  border-radius: 0.5rem;
}

.work__card {
  background-color: var(--container-color);
  padding: 1rem;
  border-radius: 1rem;
}

.work__img {
  border-radius: 1rem;
  margin-bottom: 0.75rem;
}

.work__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  margin-bottom: 0.25rem;
}

.work__button {
  width: max-content;
  color: var(--first-color);
  font-size: var(--small-font-size);
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
  cursor: pointer;
}

.work__button:hover .work__icon {
  transform: translateX(0.25rem);
}

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

/* Active item work*/
.active-work {
  background-color: var(--first-color);
  color: var(--body-color);
}

/*=============== TESTIMONIALS - SWIPER CAROUSEL ===============*/
.testimonials {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.testimonials__wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.testimonials__layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.6fr;
  gap: 2rem;
  align-items: stretch;
}

.testimonials__aside {
  background: linear-gradient(135deg, hsla(var(--first-hue), 20%, 16%, 0.85), hsla(var(--first-hue), 18%, 10%, 0.95));
  border-radius: 24px;
  padding: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
  display: grid;
  gap: 1.25rem;
}

.testimonials__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-color-light);
}

.testimonials__lede {
  font-size: 1.25rem;
  line-height: 1.5;
  color: #fff;
}

.testimonials__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.testimonials__stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.1rem;
}

.testimonials__stat-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.testimonials__stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

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

.testimonials__share-btn {
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  color: #fff;
}

.testimonials__content {
  background: var(--container-color);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.14);
  position: relative;
  overflow: hidden;
}

.testimonials__content--elevated::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, hsla(var(--first-hue), 80%, 60%, 0.12), transparent 45%),
              radial-gradient(circle at 80% 80%, hsla(var(--first-hue), 80%, 50%, 0.12), transparent 40%);
  pointer-events: none;
}

.testimonials__card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 1.6rem 1.4rem;
  display: grid;
  gap: 1rem;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.testimonials__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.testimonials__top {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.testimonials__meta {
  text-align: left;
}

.testimonials__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--title-color);
}

.testimonials__role {
  margin-top: 0.1rem;
  color: var(--text-color-light);
  font-size: 0.9rem;
}

/* Testimonials page list */
.testimonials-page {
  padding: 7rem 0;
}

.testimonials-page__header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 3rem;
}

.testimonials-page__title {
  font-size: clamp(2.25rem, 5vw, 3rem);
  color: var(--title-color);
  margin-bottom: 0.75rem;
}

.testimonials-page__subtitle {
  color: var(--text-color-light);
  line-height: 1.7;
}

.testimonials__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.testimonials__item {
  background: var(--container-color);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  display: grid;
  gap: 1rem;
  height: 100%;
}

.testimonials__item .testimonials__top {
  align-items: center;
}

.testimonials__item .testimonials__avatar {
  max-width: 72px;
}

.testimonials__item .testimonials__text {
  margin: 0;
  color: var(--text-color);
}

.testimonials__item .testimonials__stars {
  justify-content: flex-start;
}

/* Floating background orbs */
.testimonials::before {
  content: '';
  position: absolute;
  top: 5%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, hsla(var(--first-hue), 80%, 55%, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: testimonial-float 18s ease-in-out infinite;
  pointer-events: none;
}

.testimonials::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -8%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, hsla(var(--first-hue), 80%, 60%, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: testimonial-float 15s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes testimonial-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(25px, -25px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.98); }
}

/* Header */
.testimonials__header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.testimonials__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, hsla(var(--first-hue), 80%, 55%, 0.15), transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid hsla(var(--first-hue), 80%, 55%, 0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--first-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
}

.testimonials__title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--title-color);
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.testimonials__subtitle {
  font-size: 1.1rem;
  color: var(--text-color-light);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Swiper Container */
.testimonials__swiper {
  padding: 2rem 1rem 3rem;
  position: relative;
  z-index: 1;
  overflow: visible;
  width: 100%;
}

.testimonials__swiper .swiper-wrapper {
  align-items: stretch;
}

/* Slide styling - matches reference design */
.testimonials__swiper .swiper-slide {
  height: auto;
  opacity: 1;
  background: var(--container-color);
  border-radius: 6px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  transition: all 0.4s ease-in-out;
}

.testimonials__swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1.03) translateZ(0);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
}

.testimonials__swiper .swiper-slide-prev,
.testimonials__swiper .swiper-slide-next {
  opacity: 0.75;
}

/* Card styling - matches reference design */
.testimonials__card {
  background: transparent;
  border-radius: 6px;
  padding: 2.5rem 1.75rem;
  position: relative;
  text-align: center;
  transition: all 0.4s ease-in-out;
  height: 100%;
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 1rem;
  max-width: 720px;
  width: 100%;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.swiper-slide-active .testimonials__card {
  background: transparent;
  color: var(--title-color);
}

/* Quote Icon - hidden to match reference */
.testimonials__quote {
  display: none;
}

/* Avatar - centered like reference */
.testimonials__avatar {
  width: 100%;
  max-width: 125px;
  margin: 0 auto 1rem;
}

.testimonials__avatar img {
  width: 100%;
  height: auto;
  border-radius: 500px;
  object-fit: cover;
}

/* Text */
.testimonials__text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--title-color);
  margin: 0;
}


/* Stars - aligned right */
.testimonials__stars {
  display: flex;
  justify-content: flex-end;
  gap: 0.25rem;
  margin-left: auto;
}

.testimonials__stars i {
  font-size: 1rem;
  color: #fbbf24;
}

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

.testimonials__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

/* Info - like reference cite */
.testimonials__cite {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--title-color);
}


/* Navigation - matches reference */
.testimonials__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 3rem;
  padding-top: 0;
  position: relative;
  z-index: 10;
}

.testimonials__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.9;
  transition: all 0.2s ease-in-out;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.testimonials__nav-btn.swiper-button-prev,
.testimonials__nav-btn.swiper-button-next {
  position: relative;
}

.testimonials__nav-btn.swiper-button-prev {
  background-image: url("data:image/svg+xml,%0A%3Csvg width='9px' height='16px' viewBox='0 0 9 16' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='chevron-right' transform='translate(4.508789, 7.870605) rotate(-180.000000) translate(-4.508789, -7.870605) translate(-0.000000, -0.000000)' fill='%23FFFFFF' fill-rule='nonzero'%3E%3Cpath d='M8.674805,7.066406 L1.924805,0.316406 C1.696288,0.105468 1.432619,0 1.133789,0 C0.834959,0 0.57129,0.105468 0.342773,0.316406 C0.114257,0.544923 0,0.808592 0,1.107422 C0,1.406251 0.114257,1.669921 0.342773,1.898438 L6.301758,7.857422 L0.342773,13.816406 C0.114257,14.044923 0,14.308592 0,14.607422 C0,14.906251 0.114257,15.169921 0.342773,15.398438 C0.465821,15.521485 0.584472,15.609375 0.69873,15.662109 C0.812989,15.714844 0.958007,15.741211 1.133789,15.741211 C1.309571,15.741211 1.454589,15.714844 1.568848,15.662109 C1.683106,15.609375 1.801757,15.521485 1.924805,15.398438 L8.674805,8.648438 C8.903321,8.419921 9.017578,8.156251 9.017578,7.857422 C9.017578,7.558592 8.903321,7.294923 8.674805,7.066406 Z' id='Path'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.testimonials__nav-btn.swiper-button-next {
  background-image: url("data:image/svg+xml,%0A%3Csvg width='9px' height='16px' viewBox='0 0 9 16' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='chevron-right' fill='%23FFFFFF' fill-rule='nonzero'%3E%3Cpath d='M8.674805,7.066406 L1.924805,0.316406 C1.696288,0.105468 1.432619,0 1.133789,0 C0.834959,0 0.57129,0.105468 0.342773,0.316406 C0.114257,0.544923 0,0.808592 0,1.107422 C0,1.406251 0.114257,1.669921 0.342773,1.898438 L6.301758,7.857422 L0.342773,13.816406 C0.114257,14.044923 0,14.308592 0,14.607422 C0,14.906251 0.114257,15.169921 0.342773,15.398438 C0.465821,15.521485 0.584472,15.609375 0.69873,15.662109 C0.812989,15.714844 0.958007,15.741211 1.133789,15.741211 C1.309571,15.741211 1.454589,15.714844 1.568848,15.662109 C1.683106,15.609375 1.801757,15.521485 1.924805,15.398438 L8.674805,8.648438 C8.903321,8.419921 9.017578,8.156251 9.017578,7.857422 C9.017578,7.558592 8.903321,7.294923 8.674805,7.066406 Z' id='Path'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.testimonials__nav-btn:hover {
  opacity: 1;
  transform: translateY(-1px) scale(1.05);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Swiper Navigation Override - hide default */
.testimonials__nav-btn.swiper-button-prev::after,
.testimonials__nav-btn.swiper-button-next::after {
  display: none;
}

/* Pagination - matches reference */
.testimonials__pagination {
  position: relative !important;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto !important;
  bottom: auto !important;
  padding: 0 1.5rem;
}

.testimonials__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--title-color) !important;
  opacity: 0.5;
  transition: all 0.2s ease-in-out;
  border-radius: 50%;
  margin: 0 6px;
}

.testimonials__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.5);
}

/* CTA */
.testimonials__cta {
  text-align: center;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.testimonials__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 60px;
  background: linear-gradient(145deg,
    hsla(var(--first-hue), 15%, 18%, 0.5),
    hsla(var(--first-hue), 15%, 12%, 0.3));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.testimonials__cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 60px;
}

.testimonials__cta-btn span,
.testimonials__cta-btn i {
  position: relative;
  z-index: 1;
}

.testimonials__cta-btn:hover {
  border-color: transparent;
  color: #fff;
  transform: translateY(-4px);
  box-shadow:
    0 20px 45px hsla(var(--first-hue), 80%, 50%, 0.4),
    0 8px 20px rgba(0, 0, 0, 0.25);
}

.testimonials__cta-btn:hover::before {
  opacity: 1;
}

.testimonials__cta-btn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.testimonials__cta-btn:hover i {
  transform: rotate(-10deg) scale(1.1);
}

/* Responsive */
@media screen and (min-width: 768px) {
  .testimonials__card {
    padding: 2.5rem;
  }

  .testimonials__text {
    font-size: 1.05rem;
  }
}

@media screen and (min-width: 1024px) {
  .testimonials {
    padding: 8rem 0;
  }

  .testimonials__header {
    margin-bottom: 4.5rem;
  }

  .testimonials__swiper {
    padding: 2.5rem 2rem 3.5rem;
  }

  .testimonials__card {
    padding: 3rem 1.5rem;
    min-height: 320px;
  }
}

@media screen and (max-width: 992px) {
  .testimonials__layout {
    grid-template-columns: 1fr;
  }

  .testimonials__aside {
    order: -1;
  }

  .testimonials__content {
    padding: 1rem;
  }
}

@media screen and (max-width: 767px) {
  .testimonials {
    padding: 5rem 0;
  }

  .testimonials::before,
  .testimonials::after {
    width: 180px;
    height: 180px;
  }

  .testimonials__header {
    margin-bottom: 2.5rem;
  }

  .testimonials__aside {
    padding: 1.5rem;
  }

  .testimonials__stats {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .testimonials__swiper {
    padding: 1.5rem 0.5rem 2.5rem;
  }

  .testimonials__card {
    padding: 1.6rem 1.25rem;
  }

  .testimonials__avatar {
    max-width: 90px;
  }

  .testimonials__top {
    flex-direction: column;
    text-align: center;
  }

  .testimonials__meta {
    text-align: center;
  }

  .testimonials__card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .testimonials__text {
    font-size: 0.9rem;
  }

  .testimonials__nav {
    margin-top: 2rem;
  }

  .testimonials__cta {
    margin-top: 2rem;
  }

  .testimonials__cta-btn {
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
  }
}


/*=============== TESTIMONIAL MODAL ===============*/
.testimonial-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.testimonial-modal.active {
  display: flex;
}

.testimonial-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.testimonial-modal__content {
  position: relative;
  background-color: var(--container-color);
  border-radius: 1.5rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem 2rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10001;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.testimonial-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--body-color);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.testimonial-modal__close i {
  font-size: 1.5rem;
  color: var(--title-color);
}

.testimonial-modal__close:hover {
  background-color: var(--first-color);
  transform: rotate(90deg);
}

.testimonial-modal__close:hover i {
  color: #fff;
}

.testimonial-modal__header {
  text-align: center;
  margin-bottom: 2rem;
}

.testimonial-modal__icon {
  font-size: 3rem;
  color: var(--first-color);
  margin-bottom: 1rem;
  animation: bounce 1s ease infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.testimonial-modal__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.testimonial-modal__subtitle {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  line-height: 1.6;
}

.testimonial-modal__form-group {
  margin-bottom: 1.5rem;
}

.testimonial-modal__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.testimonial-modal__label i {
  color: var(--first-color);
  font-size: 1.25rem;
}

.testimonial-modal__input,
.testimonial-modal__textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 2px solid var(--body-color);
  background-color: var(--body-color);
  color: var(--text-color);
  font-size: var(--normal-font-size);
  font-family: var(--body-font);
  transition: all 0.3s ease;
}

.testimonial-modal__input:focus,
.testimonial-modal__textarea:focus {
  outline: none;
  border-color: var(--first-color);
  box-shadow: 0 0 0 4px rgba(var(--first-color-rgb, 189, 147, 249), 0.1);
}

.testimonial-modal__textarea {
  resize: vertical;
  min-height: 120px;
}

.testimonial-modal__char-count {
  display: block;
  text-align: right;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
  margin-top: 0.5rem;
}

.testimonial-modal__rating {
  display: flex;
  gap: 0.5rem;
  font-size: 2rem;
}

.testimonial-modal__star {
  color: #d1d5db;
  cursor: pointer;
  transition: all 0.2s ease;
}

.testimonial-modal__star:hover,
.testimonial-modal__star.active {
  color: #fbbf24;
  transform: scale(1.2);
}

.testimonial-modal__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-modal__actions .button {
  flex: 1;
  justify-content: center;
}

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

.button--ghost:hover {
  background-color: var(--first-color);
  color: #fff;
}

.testimonial-modal__success {
  text-align: center;
  padding: 2rem 0;
}

.testimonial-modal__success-icon {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 1rem;
  animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.testimonial-modal__success-title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: 1rem;
}

.testimonial-modal__success-text {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/*=============== TESTIMONIALS PAGE - MODERN ===============*/
.testimonials-page-modern__header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.testimonials-page-modern__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--first-color);
  font-weight: var(--font-medium);
  margin-bottom: 0.5rem;
}
.testimonials-page-modern__title {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  color: var(--title-color);
  margin: 0.25rem 0 0.75rem;
}
.testimonials-page-modern__subtitle {
  color: var(--text-color-light);
  max-width: 820px;
  margin: 0 auto 1.5rem;
}
.testimonials-page-modern__cta { display:flex; gap:0.75rem; justify-content:center; margin-top:1rem; }
.testimonials-modern__btn { display:inline-flex; align-items:center; gap:0.5rem; padding:0.65rem 1rem; border-radius:0.6rem; cursor:pointer; border:1px solid transparent; }
.testimonials-modern__btn--primary { background: var(--first-color); color:#fff; }
.testimonials-modern__btn--outline { background: transparent; color: var(--first-color); border-color: rgba(var(--first-color-rgb,189,147,249),0.12); }

.testimonials-page-modern__stats-bar { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; margin-bottom:2rem; }
.testimonials-page-modern__stat-item { display:flex; align-items:center; gap:0.6rem; background: rgba(255,255,255,0.03); padding:0.6rem 0.9rem; border-radius:0.6rem; color:var(--text-color-light); }
.testimonials-page-modern__stat-value { font-weight: var(--font-medium); color:var(--title-color); margin-right:0.3rem; }

.testimonials-page-modern__masonry { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap:1.25rem; align-items:start; }
.testimonials-page-modern__card { background: var(--container-color); padding:1.25rem; border-radius:1rem; box-shadow: 0 12px 30px rgba(2,6,23,0.25); position:relative; overflow:visible; }
.testimonials-page-modern__card--featured { grid-column: 1 / -1; display:flex; flex-direction:column; gap:1rem; padding:1.75rem; border-radius:1.25rem; }
@media (min-width: 992px) {
  .testimonials-page-modern__card--featured { grid-column: span 2; }
}
.testimonials-page-modern__card-badge { position:absolute; top:12px; left:12px; background:var(--first-color); color:#fff; padding:0.35rem 0.6rem; border-radius:0.5rem; font-size:0.8rem; font-weight:600; }
.testimonials-page-modern__card-quote { position:absolute; right:12px; top:12px; color: rgba(255,255,255,0.08); font-size:2rem; }
.testimonials-page-modern__card-text { color: var(--text-color); line-height:1.6; margin:0 0 1rem; }
.testimonials-page-modern__card-author { display:flex; align-items:center; gap:0.75rem; margin-top:auto; }
.testimonials-page-modern__card-avatar { width:48px; height:48px; border-radius:50%; object-fit:cover; }
.testimonials-page-modern__card-name { margin:0; font-size:0.95rem; color:var(--title-color); }
.testimonials-page-modern__card-role { margin:0; font-size:0.85rem; color:var(--text-color-light); }
.testimonials-page-modern__card-rating i { color: #fbbf24; margin-left:0.15rem; }
.testimonials-page-modern__card-tags { display:flex; gap:0.5rem; flex-wrap:wrap; margin-top:0.8rem; }
.testimonials-modern__tag { background: rgba(255,255,255,0.04); color: var(--text-color-light); padding:0.25rem 0.5rem; border-radius:0.5rem; font-size:0.8rem; }

.testimonials-page-modern__footer { text-align:center; margin-top:2rem; }

/* Small utility tweaks */
.testimonials-page-modern__back { color: var(--text-color-light); display:inline-flex; gap:0.5rem; align-items:center; margin-bottom:0.75rem; }


/*=============== PRICING ===============*/
.pricing__container {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding-bottom: 3rem;
}

.pricing__card {
  background: var(--container-color);
  padding: 1.5rem 1.25rem;
  border-radius: 1.25rem;
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid hsla(var(--first-hue), var(--sat), var(--lig), 0.08);
  box-shadow: 0 8px 24px hsla(var(--first-hue), var(--sat), var(--lig), 0.06);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--first-color), 
    var(--first-color-alt),
    var(--first-color));
  opacity: 0;
  transition: opacity 0.4s;
}

.pricing__card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 48px hsla(var(--first-hue), var(--sat), var(--lig), 0.15);
  border-color: hsla(var(--first-hue), var(--sat), var(--lig), 0.2);
}

.pricing__card:hover::before {
  opacity: 1;
}

.pricing__card--featured {
  background: linear-gradient(135deg, 
    hsla(var(--first-hue), var(--sat), var(--lig), 0.08),
    hsla(var(--first-hue), var(--sat), var(--lig), 0.03));
  border: 2px solid var(--first-color);
  transform: scale(1.05);
  box-shadow: 0 12px 32px hsla(var(--first-hue), var(--sat), var(--lig), 0.12);
}

.pricing__card--featured::before {
  opacity: 1;
  height: 5px;
}

.pricing__card--featured:hover {
  transform: translateY(-12px) scale(1.07);
  box-shadow: 0 24px 56px hsla(var(--first-hue), var(--sat), var(--lig), 0.2);
}

.pricing__badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  color: #fff;
  padding: 0.5rem 1.1rem;
  border-radius: 2rem;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-semibold);
  box-shadow: 0 6px 20px hsla(var(--first-hue), var(--sat), var(--lig), 0.5);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  animation: pulse 2s ease-in-out infinite;
  z-index: 10;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.pricing__badge i {
  font-size: 1rem;
  animation: rotate 3s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.pricing__header {
  margin-bottom: 1rem;
}

.pricing__icon-wrapper {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, 
    hsla(var(--first-hue), var(--sat), var(--lig), 0.15),
    hsla(var(--first-hue), var(--sat), var(--lig), 0.05));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.pricing__icon-wrapper::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    transparent,
    hsla(var(--first-hue), var(--sat), var(--lig), 0.2));
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.pricing__card:hover .pricing__icon-wrapper::before {
  transform: translateX(100%);
}

.pricing__card:hover .pricing__icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 16px hsla(var(--first-hue), var(--sat), var(--lig), 0.2);
}

.pricing__icon {
  font-size: 1.85rem;
  color: var(--first-color);
  transition: transform 0.4s;
  z-index: 1;
}

.pricing__card:hover .pricing__icon {
  transform: scale(1.1);
}

.pricing__title {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: 0.35rem;
  font-weight: var(--font-bold);
  letter-spacing: -0.5px;
}

.pricing__subtitle {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
  font-weight: var(--font-medium);
}

.pricing__price {
  margin: 1.25rem 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1rem;
  background: hsla(var(--first-hue), var(--sat), var(--lig), 0.05);
  border-radius: 0.85rem;
  position: relative;
}

.pricing__price::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent,
    var(--first-color),
    transparent);
}

.pricing__currency {
  font-size: var(--normal-font-size);
  color: var(--first-color);
  font-weight: var(--font-bold);
  align-self: flex-start;
  margin-top: 0.35rem;
}

.pricing__amount {
  font-size: 2.25rem;
  color: var(--title-color);
  font-weight: var(--font-bold);
  line-height: 1;
  letter-spacing: -1px;
}

.pricing__list {
  margin-bottom: 1rem;
  text-align: left;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              margin 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  flex-grow: 1;
}

.pricing__list--hidden {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-bottom: 0;
}

.pricing__list--hidden.active {
  max-height: 600px;
  opacity: 1;
  margin-bottom: 1rem;
}

.pricing__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
  font-size: var(--smaller-font-size);
  color: var(--text-color);
  padding: 0.25rem 0;
  transition: all 0.3s;
}

.pricing__item:hover {
  padding-left: 0.5rem;
  color: var(--title-color);
}

.pricing__check {
  font-size: 0.95rem;
  color: var(--first-color);
  flex-shrink: 0;
  background: hsla(var(--first-hue), var(--sat), var(--lig), 0.12);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-weight: var(--font-bold);
}

.pricing__item:hover .pricing__check {
  background: var(--first-color);
  color: #fff;
  transform: scale(1.15) rotate(360deg);
}

.pricing__toggle {
  background: transparent;
  border: 2px solid hsla(var(--first-hue), var(--sat), var(--lig), 0.15);
  color: var(--first-color);
  padding: 0.5rem 1rem;
  border-radius: 0.65rem;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-semibold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 auto 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 140px;
}

.pricing__toggle:hover {
  background: hsla(var(--first-hue), var(--sat), var(--lig), 0.12);
  border-color: var(--first-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px hsla(var(--first-hue), var(--sat), var(--lig), 0.15);
}

.pricing__toggle:active {
  transform: translateY(0);
}

.pricing__toggle .toggle-icon {
  font-size: 1.15rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing__toggle.active .toggle-icon {
  transform: rotate(180deg);
}

.pricing__button {
  width: 100%;
  padding: 0.85rem 1.25rem;
  justify-content: center;
  font-size: var(--small-font-size);
  font-weight: var(--font-semibold);
  border-radius: 0.65rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

.pricing__button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.pricing__button:hover::before {
  width: 300px;
  height: 300px;
}

.pricing__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px hsla(var(--first-hue), var(--sat), var(--lig), 0.3);
}

.pricing__button:active {
  transform: translateY(-1px);
}

/*=============== PRICING MODAL ===============*/
.pricing__modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  padding: 1rem;
}

.pricing__modal.active {
  opacity: 1;
  visibility: visible;
}

.pricing__modal-content {
  background: var(--body-color);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s;
}

.pricing__modal.active .pricing__modal-content {
  transform: scale(1);
}

.pricing__modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: hsla(var(--first-hue), var(--sat), var(--lig), 0.1);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--title-color);
  font-size: 1.5rem;
}

.pricing__modal-close:hover {
  background: var(--first-color);
  color: #fff;
  transform: rotate(90deg);
}

.pricing__modal-title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: 0.5rem;
  text-align: center;
}

.pricing__modal-subtitle {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing__modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing__form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.pricing__form-input,
.pricing__form-textarea {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid hsla(var(--first-hue), var(--sat), var(--lig), 0.2);
  background: var(--container-color);
  color: var(--text-color);
  font-size: var(--normal-font-size);
  font-family: var(--body-font);
  transition: border-color 0.3s;
}

.pricing__form-input:focus,
.pricing__form-textarea:focus {
  outline: none;
  border-color: var(--first-color);
}

.pricing__form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Plan Selection Styles */
.pricing__plan-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.pricing__plan-option {
  cursor: pointer;
}

.pricing__plan-radio {
  display: none;
}

.pricing__plan-card {
  background: var(--container-color);
  border: 2px solid hsla(var(--first-hue), var(--sat), var(--lig), 0.1);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.pricing__plan-option:hover .pricing__plan-card {
  border-color: hsla(var(--first-hue), var(--sat), var(--lig), 0.3);
  transform: translateY(-2px);
}

.pricing__plan-radio:checked + .pricing__plan-card {
  border-color: var(--first-color);
  background: hsla(var(--first-hue), var(--sat), var(--lig), 0.05);
  box-shadow: 0 4px 12px hsla(var(--first-hue), var(--sat), var(--lig), 0.15);
}

.pricing__plan-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.pricing__plan-header i {
  font-size: 1.5rem;
  color: var(--first-color);
}

.pricing__plan-name {
  font-size: var(--small-font-size);
  font-weight: var(--font-semibold);
  color: var(--title-color);
}

.pricing__plan-price {
  font-size: var(--normal-font-size);
  color: var(--first-color);
  font-weight: var(--font-bold);
}

.pricing__plan-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--first-color);
  color: #fff;
  font-size: 0.65rem;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  font-weight: var(--font-semibold);
}

/* Features List Styles */
.pricing__features-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.pricing__features-list::-webkit-scrollbar {
  width: 6px;
}

.pricing__features-list::-webkit-scrollbar-track {
  background: hsla(var(--first-hue), var(--sat), var(--lig), 0.05);
  border-radius: 10px;
}

.pricing__features-list::-webkit-scrollbar-thumb {
  background: hsla(var(--first-hue), var(--sat), var(--lig), 0.2);
  border-radius: 10px;
}

.pricing__features-list::-webkit-scrollbar-thumb:hover {
  background: hsla(var(--first-hue), var(--sat), var(--lig), 0.3);
}

.pricing__feature-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--container-color);
  border: 1px solid hsla(var(--first-hue), var(--sat), var(--lig), 0.1);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

.pricing__feature-option:hover {
  border-color: hsla(var(--first-hue), var(--sat), var(--lig), 0.3);
  background: hsla(var(--first-hue), var(--sat), var(--lig), 0.05);
}

.pricing__feature-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--first-color);
  flex-shrink: 0;
}

.pricing__feature-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  gap: 0.5rem;
}

.pricing__feature-name {
  font-size: var(--small-font-size);
  color: var(--text-color);
  font-weight: var(--font-medium);
}

.pricing__feature-price {
  font-size: var(--smaller-font-size);
  color: var(--first-color);
  font-weight: var(--font-semibold);
  white-space: nowrap;
}

/* Price Calculation Styles */
.pricing__calculation {
  background: hsla(var(--first-hue), var(--sat), var(--lig), 0.05);
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid hsla(var(--first-hue), var(--sat), var(--lig), 0.1);
  margin: 1rem 0;
}

.pricing__calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: var(--small-font-size);
  color: var(--text-color);
}

.pricing__calc-row:last-child {
  margin-bottom: 0;
}

.pricing__calc-divider {
  height: 1px;
  background: hsla(var(--first-hue), var(--sat), var(--lig), 0.15);
  margin: 0.75rem 0;
}

.pricing__calc-total {
  font-size: var(--normal-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  margin-top: 0.5rem;
}

.pricing__calc-total span:last-child {
  color: var(--first-color);
  font-size: var(--h3-font-size);
}

.pricing__form-status {
  font-size: var(--small-font-size);
  text-align: center;
  padding: 0.5rem;
  border-radius: 0.5rem;
  margin: 0;
}

.pricing__form-status--success {
  background: hsla(145, 63%, 49%, 0.1);
  color: hsl(145, 63%, 42%);
}

.pricing__form-status--error {
  background: hsla(4, 69%, 50%, 0.1);
  color: hsl(4, 69%, 50%);
}

.pricing__modal-submit {
  width: 100%;
  padding: 1rem;
  margin-top: 0.5rem;
}

/*=============== BLOG ===============*/
.blog {
  position: relative;
}

.blog__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 1.75rem;
  padding: 1.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(var(--first-color-rgb), 0.08), rgba(255, 255, 255, 0.02) 45%, rgba(123, 237, 159, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.blog__layout::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle at center, rgba(var(--first-color-rgb), 0.14), transparent 60%);
  filter: blur(60px);
  opacity: 0.7;
  pointer-events: none;
}

.blog__layout::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  bottom: -90px;
  left: -40px;
  background: radial-gradient(circle at center, rgba(123, 237, 159, 0.18), transparent 65%);
  filter: blur(50px);
  opacity: 0.6;
  pointer-events: none;
}

.blog__intro {
  position: relative;
  padding: 1.5rem;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(12, 12, 26, 0.95), rgba(12, 12, 26, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

.blog__intro::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(var(--first-color-rgb), 0.12), transparent 35%), radial-gradient(circle at 80% 80%, rgba(123, 237, 159, 0.14), transparent 45%);
  pointer-events: none;
  mix-blend-mode: screen;
}

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

.blog__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  background: rgba(var(--first-color-rgb), 0.12);
  color: #a8f5c8;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.75rem;
  width: fit-content;
}

.blog__headline {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  color: #fff;
  line-height: 1.2;
}

.blog__copy {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  font-size: 0.95rem;
}

.blog__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.blog__stat {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 0.35rem;
}

.blog__stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.blog__stat-value {
  font-size: 0.98rem;
  color: #a8f5c8;
  font-weight: 700;
}

.blog__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog__chip {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(123, 237, 159, 0.12);
  color: #a8f5c8;
  border: 1px solid rgba(123, 237, 159, 0.25);
  font-size: 0.85rem;
  font-weight: 600;
}

.blog__cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.blog__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(var(--first-color-rgb), 0.4);
}

.blog__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.blog__status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7bed9f;
  box-shadow: 0 0 0 6px rgba(123, 237, 159, 0.15);
}

.blog__grid-shell {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  min-height: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 30px rgba(0, 0, 0, 0.25);
}

.blog__grid-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(var(--first-color-rgb), 0.04), transparent 60%);
  pointer-events: none;
}

.blog__grid-shell .blog__grid {
  padding: 0;
}

@media screen and (max-width: 992px) {
  .blog__layout {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .blog__layout::before {
    top: -150px;
    right: -140px;
  }
}

@media screen and (max-width: 640px) {
  .blog__intro {
    padding: 1.25rem;
  }

  .blog__stats {
    grid-template-columns: 1fr;
  }

  .blog__cta-row {
    align-items: flex-start;
  }
}

.blog__container {
  max-width: 1200px;
  margin: 0 auto;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0 1rem;
}

.blog__loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--text-color);
}

.blog__loading i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.blog__card {
  width: 100%;
  max-width: 100%;
  min-height: 500px;
}

.blog__card-inner {
  background-color: var(--container-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 
              0 0 20px rgba(189, 147, 249, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(189, 147, 249, 0.2);
}

.blog__card-inner:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7),
              0 0 30px rgba(189, 147, 249, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(189, 147, 249, 0.4);
}

.blog__media {
  position: relative;
  width: 100%;
  height: 240px;
  min-height: 240px;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--first-color-lighten) 0%, var(--first-color-alt) 100%);
}

.blog__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.95);
}

.blog__card-inner:hover .blog__media img {
  transform: scale(1.08);
  filter: brightness(1);
}

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

.blog__video-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.blog__video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.blog__video-play i {
  font-size: 1.25rem;
  color: var(--first-color);
  margin-left: 3px;
}

.blog__video-wrapper:hover .blog__video-play {
  transform: translate(-50%, -50%) scale(1.15);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.blog__video-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Video hover-to-play styles */
.blog__media--video {
  position: relative;
}

.blog__video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.blog__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog__multimedia-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 0.4rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.blog__multimedia-badge i {
  color: #fff;
  font-size: 1.1rem;
}

.blog__content {
  padding: 1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  gap: 0.75rem;
}

.blog__type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.3rem 0.65rem;
  background: rgba(var(--first-color-rgb), 0.15);
  backdrop-filter: blur(10px);
  color: var(--first-color);
  border-radius: 16px;
  border: 1px solid rgba(var(--first-color-rgb), 0.2);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog__type-badge i {
  font-size: 0.8rem;
}

.blog__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #7bed9f;
  font-size: 0.75rem;
  opacity: 0.8;
}

.blog__meta i {
  font-size: 0.9rem;
}

.blog__title {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #7bed9f;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  transition: color 0.3s ease;
}

.blog__card-inner:hover .blog__title {
  color: #a8f5c8;
}

/* Text-only cards (no media) - show more content */
.blog__card-inner.blog__card--no-media {
  position: relative;
  background: linear-gradient(135deg, 
    var(--container-color) 0%, 
    hsl(var(--second-hue), 32%, 16%) 50%,
    var(--container-color) 100%);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog__card-inner.blog__card--no-media:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  transform: translateY(-8px);
}

.blog__card-inner.blog__card--no-media::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(189, 147, 249, 0.8) 50%, 
    transparent 100%);
  z-index: 1;
  transition: height 0.3s ease;
}

.blog__card-inner.blog__card--no-media:hover::before {
  height: 6px;
}

.blog__card-inner.blog__card--no-media::after {
  content: '\f15c';
  font-family: 'boxicons';
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 180px;
  color: rgba(189, 147, 249, 0.05);
  transform: rotate(-15deg);
  pointer-events: none;
  z-index: 0;
  transition: all 0.4s ease;
}

.blog__card-inner.blog__card--no-media:hover::after {
  color: rgba(189, 147, 249, 0.08);
  transform: rotate(-12deg) scale(1.05);
}

.blog__card-inner.blog__card--no-media .blog__content {
  position: relative;
  z-index: 2;
}

.blog__card-inner.blog__card--no-media .blog__title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  -webkit-line-clamp: 3;
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.blog__card-inner.blog__card--no-media .blog__excerpt {
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  -webkit-line-clamp: 8;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  color: rgba(123, 237, 159, 0.9);
}

.blog__card-inner.blog__card--no-media .blog__content {
  padding: 2rem 1.5rem;
  justify-content: center;
  min-height: 300px;
}

.blog__text {
  color: #7bed9f;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0.9;
}

.blog__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(123, 237, 159, 0.2);
}

.blog__author {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #7bed9f;
  font-size: 0.8rem;
  font-weight: 500;
}

.blog__author i {
  font-size: 1.1rem;
  color: var(--first-color);
}

.blog__date {
  color: #7bed9f;
  font-size: 0.75rem;
  opacity: 0.8;
}

.blog__excerpt {
  color: rgba(123, 237, 159, 0.9);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0.9;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  transition: opacity 0.3s ease;
}

.blog__card-inner:hover .blog__excerpt {
  opacity: 1;
}

.blog__actions {
  margin-top: auto;
  padding-top: 0.75rem;
}

.blog__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--first-color);
  color: #fff;
  border-radius: 12px;
  font-size: 0.813rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(var(--first-color-rgb), 0.3);
}

.blog__button:hover {
  background: var(--first-color-alt);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--first-color-rgb), 0.4);
}

.blog__button i {
  font-size: 1rem;
  transition: transform 0.3s;
}

.blog__button:hover i {
  transform: translateX(4px);
}

.blog__empty,
.blog__error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--text-color-light);
}

.blog__empty i,
.blog__error i {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
  opacity: 0.3;
}

.blog__error {
  color: hsl(4, 69%, 50%);
}

.blog__error i {
  color: hsl(4, 69%, 50%);
}

/* Responsive */
@media screen and (max-width: 767px) {
  .blog__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0 0.5rem;
  }
  
  .blog__media {
    height: 200px;
  }
  
  .blog__content {
    padding: 0.875rem 1rem;
  }
  
  .blog__title {
    font-size: 1rem;
  }
  
  .blog__excerpt {
    font-size: 0.813rem;
    -webkit-line-clamp: 2;
  }
  
  .blog__card-inner.blog__card--no-media .blog__title {
    font-size: 1.1rem;
    -webkit-line-clamp: 2;
  }
  
  .blog__card-inner.blog__card--no-media .blog__excerpt {
    font-size: 0.875rem;
    -webkit-line-clamp: 6;
  }
  
  .blog__card-inner.blog__card--no-media .blog__content {
    padding: 1.5rem 1.25rem;
  }
}

@media screen and (min-width: 768px) {
  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .blog__media {
    height: 180px;
  }

  .blog__content {
    padding: 1.05rem 1.2rem;
  }

  .blog__title {
    font-size: 1rem;
  }
  
  .blog__excerpt {
    font-size: 0.78rem;
    -webkit-line-clamp: 3;
  }

  .blog__type-badge {
    font-size: 0.63rem;
  }

  .blog__meta {
    font-size: 0.68rem;
  }

  .blog__meta i {
    font-size: 0.78rem;
  }

  .blog__author {
    font-size: 0.72rem;
  }

  .blog__date {
    font-size: 0.68rem;
  }
  
  .blog__card-inner.blog__card--no-media .blog__title {
    font-size: 1.15rem;
    -webkit-line-clamp: 3;
  }
  
  .blog__card-inner.blog__card--no-media .blog__excerpt {
    font-size: 0.85rem;
    -webkit-line-clamp: 7;
  }
  
  .blog__card-inner.blog__card--no-media .blog__content {
    padding: 1.75rem 1.35rem;
  }
}

@media screen and (min-width: 1024px) {
  .blog__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .blog__media {
    height: 200px;
  }

  .blog__content {
    padding: 0.95rem 1.1rem;
  }

  .blog__title {
    font-size: 0.95rem;
  }
  
  .blog__excerpt {
    font-size: 0.75rem;
    -webkit-line-clamp: 3;
  }
  
  .blog__card-inner.blog__card--no-media .blog__title {
    font-size: 1.1rem;
    -webkit-line-clamp: 3;
  }
  
  .blog__card-inner.blog__card--no-media .blog__excerpt {
    font-size: 0.85rem;
    -webkit-line-clamp: 7;
  }
  
  .blog__card-inner.blog__card--no-media .blog__content {
    padding: 1.75rem 1.35rem;
  }
}

/*=============== CONTACT ===============*/
.contact {
  position: relative;
  z-index: 1;
}

.contact__container {
  display: grid;
  gap: 2.5rem;
  column-gap: 3rem;
  padding-bottom: 3rem;
  align-items: start;
  justify-content: start;
}

.contact__content {
  display: grid;
  gap: 1.25rem;
}

.contact__content--form {
  height: 100%;
}

.contact__title {
  text-align: center;
  font-size: var(--h3-font-size);
  margin-bottom: 1.5rem;
}

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

.contact__lead {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.contact__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--title-color);
  font-size: var(--tiny-font-size);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact__subtitle {
  margin: 0;
  color: var(--text-color);
  line-height: 1.6;
}

.contact__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact__card {
  background-color: var(--container-color);
  padding: 2rem 1rem;
  border-radius: 0.75rem;
  text-align: center;
}

.contact__card--modern {
  text-align: left;
  padding: 1.4rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: linear-gradient(140deg, hsla(var(--second-hue), 32%, 16%, 0.9), hsla(var(--second-hue), 32%, 10%, 0.9));
  box-shadow: 0 16px 40px hsla(var(--second-hue), 48%, 8%, 0.35);
  display: grid;
  gap: 0.6rem;
  transition: 0.3s ease;
}

.contact__card--modern:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 46px hsla(var(--second-hue), 48%, 8%, 0.42);
}

.contact__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.contact__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--title-color);
  font-size: var(--tiny-font-size);
  letter-spacing: 0.04em;
}

.contact__card-icon {
  font-size: 1.8rem;
  color: var(--title-color);
  margin-bottom: 0;
}

.contact__card-title,
.contact__card-data {
  font-size: var(--small-font-size);
}

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

.contact__card-data {
  display: block;
  margin-bottom: 0.75rem;
}

.contact__button {
  color: var(--first-color);
  font-size: var(--small-font-size);
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.25rem;
  cursor: pointer;
}

.contact__button--solid {
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  color: var(--body-color);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: var(--font-medium);
  box-shadow: 0 12px 28px hsla(var(--first-hue), 66%, 30%, 0.35);
  transition: 0.3s ease;
}

.contact__button--solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px hsla(var(--first-hue), 66%, 30%, 0.42);
}

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

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

.contact__form {
  background: var(--container-color);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 16px 38px hsla(var(--second-hue), 48%, 8%, 0.28);
}

.contact__form-div {
  position: relative;
  margin-bottom: 1.6rem;
  height: 4rem;
}

.contact__form-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 0.75rem;
  padding: 1.5rem;
  font-size: var(--normal-font-size);
  color: var(--text-color);
  outline: none;
  z-index: 1;
  transition: 0.3s ease;
}

.contact__form-input:focus {
  border-color: var(--first-color);
  box-shadow: 0 0 0 3px hsla(var(--first-hue), 66%, 60%, 0.18);
}

.contact__form-tag {
  position: absolute;
  top: -0.75rem;
  left: 1.25rem;
  font-size: var(--smaller-font-size);
  padding: 0.25rem;
  background-color: var(--body-color);
  z-index: 10;
  transition: 0.3s ease;
}

.light-theme .contact__card--modern {
  background: #ffffff;
  border-color: hsla(var(--second-hue), 32%, 82%, 0.8);
  box-shadow: 0 10px 28px hsla(var(--second-hue), 22%, 40%, 0.18);
  color: var(--title-color);
}

.light-theme .contact__pill {
  background: hsla(var(--second-hue), 48%, 96%, 0.95);
  color: var(--title-color);
}

.light-theme .contact__card-title,
.light-theme .contact__card-data {
  color: var(--title-color);
}

.light-theme .contact__button--solid {
  color: var(--title-color);
}

.light-theme .contact__form {
  background: #ffffff;
  border-color: hsla(var(--second-hue), 32%, 82%, 0.8);
  box-shadow: 0 10px 28px hsla(var(--second-hue), 22%, 40%, 0.18);
}

.light-theme .contact__form-input {
  background-color: hsla(var(--second-hue), 48%, 98%, 0.95);
  border-color: hsla(var(--second-hue), 32%, 82%, 0.8);
  color: var(--title-color);
}

.light-theme .contact__form-input:focus {
  box-shadow: 0 0 0 3px hsla(var(--first-hue), 66%, 60%, 0.18);
}

.light-theme .contact__form-tag {
  background-color: #ffffff;
  color: var(--title-color);
}

.contact__form-area {
  height: 17rem;
}

.contact__form-area textarea {
  resize: none;
}
/*=============== FOOTER ===============*/
.footer {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 55%), #ebf5fb;
  position: relative;
  z-index: 1;
  padding: 3rem 0 2rem;
}

.light-theme .footer {
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.05), transparent 55%), #ebf5fb;
}

.footer .footer__title,
.footer .footer-modern__heading,
.footer .footer-modern__copy {
  color: #2c3e50;
}

.footer .footer-modern__description,
.footer .footer-modern__link,
.footer .footer-modern__contact-line,
.footer .footer-modern__contact-link,
.footer .footer-modern__meta {
  color: #5d6d7e;
}

.footer .footer-modern__badge {
  background: rgba(0, 0, 0, 0.05);
  color: #5d6d7e;
}

.footer .footer-modern__social-link {
  background: rgba(0, 0, 0, 0.05);
  color: #5d6d7e;
}

.footer .footer-modern__social-link:hover {
  background: var(--first-color);
  color: #fff;
}

.footer .footer-modern {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer .footer-modern__bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__title {
  color: var(--first-color);
  font-size: var(--h2-font-size);
}

.footer-modern__description {
  margin-top: 0.75rem;
  color: var(--text-color-light);
  line-height: 1.6;
}

.footer-modern__badges {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-modern__badge {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-color);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
}

.footer-modern__heading {
  color: var(--title-color);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.footer-modern__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-modern__link {
  color: var(--text-color-light);
  font-size: 0.95rem;
}

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

.footer-modern__contact-line {
  color: var(--text-color-light);
  margin-bottom: 0.25rem;
}

.footer-modern__contact-link {
  display: inline-block;
  color: var(--text-color);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.footer-modern__contact-link:hover {
  color: var(--first-color);
}

.footer-modern__social-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-modern__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.07);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-modern__social-link:hover {
  background: var(--first-color);
  color: var(--body-color);
  transform: translateY(-2px);
}

.footer-modern__bottom {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
}

.footer-modern__copy {
  letter-spacing: 0.08em;
  font-weight: var(--font-medium);
  color: var(--title-color);
}

.footer-modern__meta {
  color: var(--text-color);
}

.footer-modern__bottom-link {
  color: var(--first-color-alt);
}

@media screen and (max-width: 768px) {
  .footer-modern__bottom {
    gap: 0.6rem;
  }
}

.whatsapp-float {
  position: fixed;
  left: 1.5rem;
  bottom: 2.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background: #25d366;
  color: #0a1910;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.35);
  transition: 0.3s ease;
  z-index: var(--z-fixed);
}

.whatsapp-float:hover {
  transform: translateY(-0.2rem) scale(1.02);
  box-shadow: 0 22px 44px rgba(37, 211, 102, 0.4);
}

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 2.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(180deg, var(--first-color-alt), var(--first-color));
  color: var(--body-color);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  box-shadow: 0 20px 40px hsla(var(--first-hue), var(--sat), var(--lig), 0.35);
  transition: 0.35s;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: var(--z-fixed);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-0.35rem);
}

@media screen and (max-width: 576px) {
  .whatsapp-float {
    left: 1rem;
    bottom: 1rem;
  }

  .back-to-top {
    right: 1rem;
    bottom: 1rem;
  }
}

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

::-webkit-scrollbar-track {
  border-radius: 1.5rem;
}

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

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

/*=============== BREAKPOINTS ===============*/
/* For extra small devices */
@media screen and (max-width: 350px) {
  .nav__actions {
    gap: 0.5rem;
  }
  
  .nav__admin-btn,
  .change-theme-button {
    font-size: 1.1rem;
  }
  
  .pricing__card {
    padding: 1.25rem 0.85rem;
  }
  
  .pricing__icon-wrapper {
    width: 48px;
    height: 48px;
  }
  
  .pricing__icon {
    font-size: 1.5rem;
  }
  
  .pricing__title {
    font-size: var(--normal-font-size);
  }
  
  .pricing__amount {
    font-size: 1.85rem;
  }
  
  .pricing__currency {
    font-size: var(--small-font-size);
  }
  
  .pricing__price {
    padding: 0.75rem;
    margin: 1rem 0;
  }
  
  .pricing__item {
    font-size: var(--smaller-font-size);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .pricing__check {
    width: 18px;
    height: 18px;
    font-size: 0.85rem;
  }
  
  .pricing__button {
    padding: 0.7rem 0.85rem;
    font-size: var(--smaller-font-size);
  }
  
  .pricing__badge {
    right: 12px;
    padding: 0.35rem 0.7rem;
    font-size: 0.6rem;
  }
  
  .pricing__card--featured {
    transform: scale(1);
  }
  
  .pricing__card--featured:hover {
    transform: translateY(-8px) scale(1.02);
  }
}

/* For small devices */
@media screen and (max-width: 576px) {
  .pricing__container {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
    gap: 1.5rem;
  }
  
  .pricing__card {
    padding: 1.5rem 1.15rem;
  }
  
  .pricing__card--featured {
    transform: scale(1);
  }
  
  .pricing__card:hover {
    transform: translateY(-8px);
  }
  
  .pricing__card--featured:hover {
    transform: translateY(-8px) scale(1.02);
  }
  
  .pricing__icon-wrapper {
    width: 56px;
    height: 56px;
  }
  
  .pricing__icon {
    font-size: 1.75rem;
  }
  
  .pricing__title {
    font-size: var(--h3-font-size);
  }
  
  .pricing__amount {
    font-size: 2.15rem;
  }
  
  .pricing__toggle {
    max-width: 130px;
  }
  
  /* Modal responsive */
  .pricing__modal-content {
    padding: 1.5rem;
    max-width: 95%;
  }
  
  .pricing__plan-options {
    grid-template-columns: 1fr;
  }
  
  .pricing__features-list {
    max-height: 250px;
  }
  
  .pricing__feature-option {
    padding: 0.6rem;
  }
  
  .pricing__feature-name {
    font-size: var(--smaller-font-size);
  }
}

@media screen and (max-width: 320px) {
  .nav__menu {
    padding: 1rem 1.5rem;
  }

  .home__button {
    flex-direction: column;
  }

  .home__handle {
    width: 150px;
    height: 253px;
  }

  .home__img {
    width: 130px;
  }

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

  .skills__panel {
    padding: 1.35rem;
  }

  .skills__card {
    grid-template-columns: 1fr;
    row-gap: 0.75rem;
  }

  .skills__legend-pill,
  .skills__tag {
    padding: 0.35rem 0.65rem;
  }

  .services__container {
    grid-template-columns: 145px;
    justify-content: center;
  }

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

  .work__filters {
    column-gap: 0.25rem;
  }
}

@media screen and (min-width: 435px) {
  .work__container {
    justify-content: center;
    grid-template-columns: repeat(2, max-content);
  }

  .work__img {
    width: 165px;
  }
}

/* For medium devices */
@media screen and (min-width: 630px) {
  .nav__menu {
    width: 328px;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  
  .skills__layout {
    grid-template-columns: minmax(300px, 0.95fr) 1.05fr;
  }
  
  .pricing__container {
    grid-template-columns: repeat(2, 1fr);
    max-width: 620px;
    gap: 1.25rem;
  }
  
  .pricing__card {
    padding: 1.65rem 1.35rem;
  }
  
  .pricing__card--featured {
    transform: scale(1.02);
    grid-column: 1 / -1;
    max-width: 340px;
    margin: 0 auto;
  }
  
  .pricing__card--featured:hover {
    transform: translateY(-10px) scale(1.04);
  }

  .about__info {
    grid-template-columns: repeat(3, 180px);
    justify-content: center;
  }

  .about__description {
    padding: 1rem 5rem;
    width: 600px;
    margin: 0 auto 2rem auto;
  }

  .about__box {
    padding: 1.75rem 0.95rem;
  }

  .skills__container {
    justify-content: center;
  }

  .skills__content {
    padding: 4rem 8.8rem;
  }

  .skills__title {
    font-size: var(--h3-font-size);
    margin-bottom: 1.5rem;
  }

  .skills__box {
    column-gap: 5.5rem;
  }

  .services__container {
    grid-template-columns: repeat(3, 177px);
    justify-content: center;
  }

  .services__modal-content {
    width: 500px;
    padding: 4.5rem 2.5rem 2.5rem;
  }

  .services__modal-description {
    padding: 0 3.5rem;
  }

  .work__container {
    justify-content: center;
    grid-template-columns: repeat(2, max-content);
  }

  .work__img {
    width: 250px;
  }

  .testimonial__container {
    width: 600px;
    margin: auto;
  }

  .contact__container {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    column-gap: 3rem;
    justify-content: start;
    align-items: start;
  }

  .contact__grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .contact__form {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }
  /* .contact__info {
    grid-template-columns: 350px;
    justify-content: center;
  }

  .contact__form {
    width: 360px;
    margin: 0 auto;
  } */
}

.contact__form-status {
  margin-bottom: 1rem;
  min-height: 1.5rem;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.contact__form-status--success {
  color: #28a745;
}

.contact__form-status--error {
  color: #ff4d4f;
}

/* @media screen and (min-width: 767px) {
  /* .work__container {
    grid-template-columns: repeat(2, max-content);
  } */

/* .contact__info {
    grid-template-columns: 300px;
  }

  .contact__container {
    grid-template-columns: repeat(2, 325px);
    justify-content: center;
  }
} */

/* For tablets in landscape */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .pricing__container {
    grid-template-columns: repeat(2, 1fr);
    max-width: 660px;
    gap: 1.5rem;
  }
  
  .pricing__card {
    padding: 1.75rem 1.4rem;
  }
  
  .pricing__card--featured {
    grid-column: 1 / -1;
    max-width: 360px;
    margin: 0 auto;
    transform: scale(1.03);
  }
  
  .pricing__card--featured:hover {
    transform: translateY(-10px) scale(1.05);
  }
  
  .pricing__icon-wrapper {
    width: 62px;
    height: 62px;
  }
  
  .pricing__icon {
    font-size: 1.95rem;
  }
  
  .pricing__amount {
    font-size: 2.4rem;
  }
}

/* For large devices */
@media screen and (min-width: 992px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 6.5rem 0 1rem;
  }

  .section__title {
    margin-bottom: 3.5rem;
  }

  .nav {
    height: calc(var(--header-height) + 1rem);
  }
  
  .pricing__container {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    gap: 2rem;
  }
  
  .pricing__card {
    padding: 2.25rem 1.75rem;
  }
  
  .pricing__card--featured {
    transform: scale(1.05);
    grid-column: auto;
    max-width: none;
  }
  
  .pricing__card--featured:hover {
    transform: translateY(-12px) scale(1.07);
  }
  
  .pricing__icon-wrapper {
    width: 80px;
    height: 80px;
  }
  
  .pricing__icon {
    font-size: 2.5rem;
  }
  
  .pricing__amount {
    font-size: 3.25rem;
  }

  .home__handle {
    width: 290px;
    height: 400px;
  }

  .home__img {
    width: 220px;
  }
  .home__social-link {
    padding: 0.4rem;
    font-size: 1.25rem;
  }

  .home__social::after {
    transform: rotate(90deg) translate(16px, -1px);
  }

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

  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    column-gap: 4rem;
  }

  .about__img {
    width: 350px;
  }

  .about__data {
    text-align: initial;
  }

  .about__info {
    justify-content: initial;
    gap: 2rem;
  }

  .about__box {
    text-align: center;
    padding: 1rem 1.25rem;
  }

  .about__description {
    padding: 0 4rem 0 0;
    margin-bottom: 2.5rem;
  }

  .about__actions {
    justify-content: flex-start;
  }

  .skills__container {
    grid-template-columns: repeat(2, 460px);
    column-gap: 3rem;
  }

  .skills__title {
    margin-bottom: 3.5rem;
  }

  .services__container {
    grid-template-columns: repeat(3, 300px);
    column-gap: 2rem;
  }

  .services__card {
    padding: 5rem 2rem 1.5rem;
  }

  .work__container {
    grid-template-columns: repeat(3, max-content);
    gap: 3rem;
  }

  .work__card {
    padding: 1.25rem;
  }

  .work__img {
    margin-bottom: 2rem;
  }

  .work__title {
    margin-bottom: 0.5rem;
  }

  .testimonial__container {
    width: 970px;
  }

  .testimonial__card {
    padding: 1.5rem 2rem;
  }

  .pricing__container {
    grid-template-columns: repeat(3, 280px);
    gap: 1.75rem;
    justify-content: center;
    max-width: 1000px;
  }

  .pricing__card {
    padding: 1.85rem 1.5rem;
  }
  
  .pricing__card--featured {
    transform: scale(1.05);
  }
  
  .pricing__card--featured:hover {
    transform: translateY(-12px) scale(1.07);
  }
  
  .pricing__icon-wrapper {
    width: 68px;
    height: 68px;
  }
  
  .pricing__icon {
    font-size: 2.15rem;
  }
  
  .pricing__amount {
    font-size: 2.65rem;
  }
  
  .pricing__price {
    padding: 1.15rem;
  }

  .contact__form {
    width: 100%;
    max-width: 560px;
  }

  .contact__grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

  .contact__form-area {
    height: 18rem;
  }

  .contact__container {
    grid-template-columns: repeat(2, minmax(360px, 1fr));
    column-gap: 4.5rem;
  }

  .footer__social-link {
    font-size: 1.25rem;
    padding: 0.4rem;
    border-radius: 0.5rem;
  }
}

/*=============== COMPREHENSIVE RESPONSIVE DESIGN ===============*/

/* ===== Extra Small Devices (phones, 320px - 374px) ===== */
@media screen and (max-width: 374px) {
  .container {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }

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

  .section__title {
    font-size: 1.35rem;
  }

  .section__subtitle {
    font-size: 0.8rem;
  }

  /* Home */
  .home__handle {
    width: 180px;
    height: 240px;
  }

  .home__img {
    width: 130px;
  }

  .home__name {
    font-size: 1.25rem;
  }

  .home__education {
    font-size: 0.8rem;
  }

  .home__buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .home__social {
    column-gap: 0.5rem;
  }

  .home__social-link {
    font-size: 1rem;
    padding: 0.25rem;
  }

  /* About */
  .about__info {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .about__box {
    padding: 0.75rem 0.5rem;
  }

  .about__box-icon {
    font-size: 1.25rem;
  }

  .about__box-title {
    font-size: 0.85rem;
  }

  .about__box-subtitle {
    font-size: 0.7rem;
  }

  /* Skills */
  .skills__tiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .skills__tile {
    padding: 0.75rem 0.5rem;
  }

  .skills__tile-icon {
    font-size: 1.5rem;
  }

  .skills__tile-name {
    font-size: 0.7rem;
  }

  /* Services */
  .services__container {
    gap: 1rem;
  }

  .services__card {
    padding: 3rem 1rem 1.25rem;
  }

  .services__title {
    font-size: 1rem;
  }

  /* Work/Projects */
  .work__filters {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .work__item {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
  }

  .work__card {
    padding: 0.75rem;
  }

  .work__title {
    font-size: 0.95rem;
  }

  /* Pricing */
  .pricing__card {
    padding: 1.5rem 1rem;
  }

  .pricing__amount {
    font-size: 2rem;
  }

  /* Contact */
  .contact__card {
    padding: 1rem;
  }

  .contact__card-icon {
    font-size: 1.5rem;
  }

  .contact__card-title {
    font-size: 0.9rem;
  }

  .contact__form-input,
  .contact__form-area {
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
  }

  .button {
    padding: 0.85rem 1.25rem;
    font-size: 0.85rem;
  }

  /* Footer */
  .footer__container {
    gap: 2rem;
  }

  .footer__title {
    font-size: 1.15rem;
  }
}

/* ===== Small Devices (phones, 375px - 575px) ===== */
@media screen and (min-width: 375px) and (max-width: 575px) {
  .container {
    margin-left: 1rem;
    margin-right: 1rem;
  }

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

  /* Home */
  .home__handle {
    width: 200px;
    height: 280px;
  }

  .home__img {
    width: 150px;
  }

  .home__buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .home__buttons .button {
    width: 100%;
    max-width: 220px;
    justify-content: center;
  }

  /* About */
  .about__info {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .about__actions {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .about__actions .button {
    width: 100%;
    max-width: 220px;
    justify-content: center;
  }

  /* Skills */
  .skills__tiles {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  /* Services */
  .services__container {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  /* Work */
  .work__container {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
    gap: 1.5rem;
  }

  /* Pricing */
  .pricing__container {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
    gap: 1.5rem;
  }

  /* Contact */
  .contact__container {
    grid-template-columns: 1fr;
  }

  .contact__info {
    order: 1;
  }

  .contact__form-div {
    order: 2;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Medium Devices (tablets portrait, 576px - 767px) ===== */
@media screen and (min-width: 576px) and (max-width: 767px) {
  .container {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }

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

  /* Home */
  .home__container {
    padding-top: 5rem;
  }

  .home__handle {
    width: 240px;
    height: 320px;
  }

  .home__img {
    width: 180px;
  }

  .home__buttons {
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* About */
  .about__img {
    width: 280px;
  }

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

  .about__actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  /* Skills */
  .skills__container {
    max-width: 500px;
    margin: 0 auto;
  }

  .skills__tiles {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Services */
  .services__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 540px;
    margin: 0 auto;
  }

  /* Work */
  .work__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 540px;
    margin: 0 auto;
  }

  /* Pricing */
  .pricing__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 540px;
    margin: 0 auto;
  }

  .pricing__card--featured {
    grid-column: 1 / -1;
    max-width: 280px;
    margin: 0 auto;
  }

  /* Contact */
  .contact__container {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

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

  /* Footer */
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* ===== Medium-Large Devices (tablets landscape, 768px - 991px) ===== */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .container {
    margin-left: 2rem;
    margin-right: 2rem;
    max-width: 720px;
  }

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

  /* Navigation */
  .nav__menu {
    width: auto;
    padding: 0.75rem 2rem;
  }

  /* Home */
  .home__container {
    padding-top: 6rem;
  }

  .home__handle {
    width: 260px;
    height: 360px;
  }

  .home__img {
    width: 200px;
  }

  .home__social {
    column-gap: 1rem;
  }

  /* About */
  .about__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__img {
    width: 300px;
    margin: 0 auto;
  }

  .about__data {
    text-align: center;
  }

  .about__info {
    justify-content: center;
    gap: 1.5rem;
  }

  .about__actions {
    justify-content: center;
  }

  /* Skills */
  .skills__container {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .skills__tiles {
    grid-template-columns: repeat(5, 1fr);
  }

  /* Services */
  .services__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 680px;
    margin: 0 auto;
  }

  .services__card {
    padding: 4rem 1.5rem 1.5rem;
  }

  /* Work */
  .work__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 680px;
    margin: 0 auto;
  }

  /* Contact */
  .contact__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 720px;
    margin: 0 auto;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

/* ===== Large Devices (desktops, 992px - 1199px) ===== */
@media screen and (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }

  /* Skills */
  .skills__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .skills__tiles {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Services */
  .services__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  /* Work */
  .work__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  /* Pricing */
  .pricing__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  /* Contact */
  .contact__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }

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

/* ===== Extra Large Devices (large desktops, 1200px+) ===== */
@media screen and (min-width: 1200px) {
  .container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
  }

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

  /* Home */
  .home__container {
    padding-top: 7rem;
  }

  .home__handle {
    width: 300px;
    height: 420px;
  }

  .home__img {
    width: 230px;
  }

  .home__social-link {
    font-size: 1.3rem;
    padding: 0.5rem;
  }

  /* About */
  .about__container {
    column-gap: 5rem;
  }

  .about__img {
    width: 380px;
  }

  .about__description {
    padding-right: 5rem;
  }

  /* Skills */
  .skills__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .skills__tiles {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }

  /* Services */
  .services__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .services__card {
    padding: 5rem 2rem 2rem;
  }

  /* Work */
  .work__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  /* Pricing */
  .pricing__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
  }

  /* Contact */
  .contact__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
  }

  /* Footer */
  .footer__container {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* ===== Ultra Wide Screens (1400px+) ===== */
@media screen and (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }

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

  .section__title {
    font-size: 2.5rem;
  }

  /* Home */
  .home__handle {
    width: 340px;
    height: 460px;
  }

  .home__img {
    width: 260px;
  }

  .home__name {
    font-size: 2rem;
  }

  /* About */
  .about__img {
    width: 420px;
  }

  /* Skills */
  .skills__tiles {
    grid-template-columns: repeat(6, 1fr);
  }

  /* Services */
  .services__container {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Work */
  .work__container {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== Touch Device Optimizations ===== */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch devices */
  .button:hover {
    transform: none;
  }

  .work__card:hover {
    transform: none;
  }

  .services__card:hover {
    transform: none;
  }

  .pricing__card:hover {
    transform: none;
  }

  /* Add active states instead */
  .button:active {
    transform: scale(0.98);
  }

  .work__card:active {
    transform: scale(0.98);
  }

  .services__card:active {
    transform: scale(0.98);
  }

  /* Increase touch targets */
  .nav__link {
    padding: 0.75rem;
  }

  .home__social-link {
    min-width: 44px;
    min-height: 44px;
  }

  .button {
    min-height: 48px;
  }

  .work__item {
    min-height: 44px;
    padding: 0.5rem 1rem;
  }
}

/* ===== Landscape Mode on Phones ===== */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .section {
    padding: 3rem 0 1.5rem;
  }

  .home__container {
    padding-top: 3rem;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .home__handle {
    width: 160px;
    height: 200px;
  }

  .home__img {
    width: 120px;
  }

  .home__data {
    text-align: left;
  }

  .home__social {
    flex-direction: row;
  }

  .nav__menu {
    padding: 0.5rem 1.5rem;
  }
}

/* ===== High DPI / Retina Displays ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp rendering on retina displays */
  img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* ===== Reduced Motion Preference ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .testimonials::before,
  .testimonials::after {
    animation: none;
  }
}

/* ===== Print Styles ===== */
@media print {
  .nav,
  .home__social,
  .home__scroll,
  .button,
  .footer {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
}

/*=============== TESTIMONIALS - MODERN CAROUSEL ===============*/
.testi {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.testi__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.testi__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  animation: testi-float 20s ease-in-out infinite;
}

.testi__orb--1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, var(--first-color), hsl(280, 70%, 60%));
  top: -150px;
  right: -150px;
}

.testi__orb--2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, hsl(180, 70%, 50%), var(--first-color));
  bottom: -100px;
  left: -100px;
  animation-delay: -10s;
}

@keyframes testi-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Header */
.testi__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.testi__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsla(var(--first-hue), var(--sat), var(--lig), 0.1);
  border: 1px solid hsla(var(--first-hue), var(--sat), var(--lig), 0.2);
  border-radius: 50px;
  font-size: var(--small-font-size);
  color: var(--first-color);
  font-weight: var(--font-medium);
  margin-bottom: 1rem;
}

.testi__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--first-color);
  border-radius: 50%;
  animation: testi-pulse 2s ease-in-out infinite;
}

@keyframes testi-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.testi__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  margin-bottom: 0.75rem;
  font-weight: var(--font-semibold);
}

.testi__title-gradient {
  background: linear-gradient(135deg, var(--first-color), hsl(280, 70%, 65%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testi__desc {
  color: var(--text-color);
  max-width: 500px;
  margin: 0 auto;
  font-size: var(--normal-font-size);
}

/* Carousel */
.testi__carousel {
  position: relative;
  padding: 1rem 0 3rem;
}

.testi__swiper {
  overflow: visible;
  padding: 2rem 0;
}

.testi__swiper .swiper-slide {
  height: auto;
  opacity: 0.4;
  transform: scale(0.85);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testi__swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.testi__swiper .swiper-slide-prev,
.testi__swiper .swiper-slide-next {
  opacity: 0.6;
  transform: scale(0.92);
}

/* Card */
.testi__card {
  height: 100%;
}

.testi__card-inner {
  position: relative;
  height: 100%;
  background: hsla(var(--second-hue), 32%, 15%, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid hsla(var(--first-hue), var(--sat), var(--lig), 0.15);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.testi__card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--first-color), hsl(280, 70%, 60%));
  border-radius: 1.5rem 1.5rem 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.swiper-slide-active .testi__card-inner::before {
  opacity: 1;
}

.swiper-slide-active .testi__card-inner {
  border-color: hsla(var(--first-hue), var(--sat), var(--lig), 0.3);
  box-shadow:
    0 25px 50px hsla(var(--first-hue), 50%, 20%, 0.25),
    0 0 0 1px hsla(var(--first-hue), var(--sat), var(--lig), 0.1);
}

/* Quote Icon */
.testi__quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  color: var(--first-color);
  opacity: 0.15;
  line-height: 1;
}

/* Stars */
.testi__stars {
  display: flex;
  gap: 0.25rem;
  color: hsl(45, 100%, 55%);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

/* Text */
.testi__text {
  color: var(--text-color);
  font-size: var(--normal-font-size);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Author */
.testi__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testi__avatar {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.testi__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.testi__avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--first-color), hsl(280, 70%, 60%)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.testi__author-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testi__name {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semibold);
  color: var(--title-color);
}

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

/* Tags */
.testi__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.testi__tag {
  padding: 0.4rem 0.85rem;
  background: hsla(var(--first-hue), var(--sat), var(--lig), 0.1);
  border-radius: 50px;
  font-size: var(--smaller-font-size);
  color: var(--text-color);
  font-weight: var(--font-medium);
}

.testi__tag--accent {
  background: linear-gradient(135deg, var(--first-color), hsl(280, 70%, 60%));
  color: white;
}

/* Navigation */
.testi__nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testi__nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: hsla(var(--second-hue), 32%, 18%, 0.8);
  border: 1px solid hsla(var(--first-hue), var(--sat), var(--lig), 0.2);
  color: var(--title-color);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.testi__nav-btn:hover {
  background: var(--first-color);
  border-color: var(--first-color);
  color: white;
  transform: scale(1.1);
}

/* Pagination */
.testi__pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testi__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: hsla(var(--first-hue), var(--sat), var(--lig), 0.3);
  border-radius: 50%;
  opacity: 1;
  transition: all 0.3s ease;
}

.testi__pagination .swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--first-color), hsl(280, 70%, 60%));
}

/* Footer */
.testi__footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.testi__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, var(--first-color), hsl(280, 70%, 60%));
  color: white;
  border: none;
  border-radius: 50px;
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testi__cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px hsla(var(--first-hue), 70%, 50%, 0.35);
}

.testi__view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
  padding: 0.85rem 1.5rem;
  border-radius: 50px;
  border: 1px solid hsla(var(--first-hue), var(--sat), var(--lig), 0.2);
}

.testi__view-all:hover {
  color: var(--first-color);
  border-color: var(--first-color);
  gap: 0.75rem;
}

/* Light Theme */
.light-theme .testi__card-inner {
  background: hsla(0, 0%, 100%, 0.85);
  border-color: hsla(var(--second-hue), 20%, 80%, 0.5);
}

.light-theme .swiper-slide-active .testi__card-inner {
  box-shadow: 0 25px 50px hsla(var(--second-hue), 20%, 50%, 0.15);
}

.light-theme .testi__nav-btn {
  background: hsla(0, 0%, 100%, 0.9);
  border-color: hsla(var(--second-hue), 20%, 80%, 0.5);
}

.light-theme .testi__orb {
  opacity: 0.15;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .testi {
    padding: 4rem 0;
  }

  .testi__header {
    margin-bottom: 2rem;
  }

  .testi__card-inner {
    padding: 1.5rem;
  }

  .testi__quote-icon {
    font-size: 2rem;
    top: 1rem;
    right: 1rem;
  }

  .testi__nav-btn {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }

  .testi__footer {
    gap: 1rem;
  }

  .testi__cta-btn,
  .testi__view-all {
    padding: 0.75rem 1.25rem;
    font-size: var(--small-font-size);
  }
}

@media screen and (max-width: 480px) {
  .testi__title {
    font-size: var(--h2-font-size);
  }

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

  .testi__avatar {
    width: 48px;
    height: 48px;
  }

  .testi__footer {
    flex-direction: column;
  }
}

/*=============== MODERN BLOG SECTION ===============*/

/*=============== BLOG HERO ===============*/
.blog-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--body-color) 0%, var(--container-color) 100%);
  overflow: hidden;
  margin-bottom: 4rem;
}

.blog-hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.blog-hero__content {
  position: relative;
  z-index: 2;
}

.blog-hero__meta {
  margin-bottom: 2rem;
}

.blog-hero__eyebrow {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(var(--first-color-rgb, 189, 147, 249), 0.1);
  border: 1px solid rgba(var(--first-color-rgb, 189, 147, 249), 0.2);
  border-radius: 2rem;
  color: var(--first-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  margin-bottom: 1rem;
}

.blog-hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--title-color);
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--title-color), var(--text-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-hero__description {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
}

.blog-hero__stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.blog-hero__stat {
  text-align: center;
}

.blog-hero__stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--first-color);
  margin-bottom: 0.25rem;
}

.blog-hero__stat-label {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  font-weight: var(--font-medium);
}

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

.blog-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--first-color);
  color: #fff;
  border-radius: 0.75rem;
  font-weight: var(--font-medium);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(var(--first-color-rgb, 189, 147, 249), 0.3);
}

.blog-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--first-color-rgb, 189, 147, 249), 0.4);
}

.blog-hero__newsletter {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  color: var(--text-color);
  font-size: var(--small-font-size);
}

.blog-hero__newsletter-icon {
  color: var(--first-color);
}

.blog-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-hero__floating-card {
  position: relative;
  max-width: 320px;
  width: 100%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.blog-hero__card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  background: var(--container-color);
  border-radius: 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(var(--first-color-rgb, 189, 147, 249), 0.1);
}

.blog-hero__card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.blog-hero__card-title {
  font-size: var(--h3-font-size);
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.blog-hero__card-text {
  color: var(--text-color);
  font-size: var(--small-font-size);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.blog-hero__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-hero__card-tag {
  padding: 0.25rem 0.75rem;
  background: rgba(var(--first-color-rgb, 189, 147, 249), 0.1);
  color: var(--first-color);
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: var(--font-medium);
}

.blog-hero__card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--first-color-rgb, 189, 147, 249), 0.05), rgba(var(--first-color-rgb, 189, 147, 249), 0.02));
  border-radius: 1.25rem;
  z-index: 1;
}

.blog-hero__bg-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--first-color-rgb, 189, 147, 249), 0.1), rgba(var(--first-color-rgb, 189, 147, 249), 0.05));
  animation: pulse 4s ease-in-out infinite;
}

.blog-hero__bg-circle--1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.blog-hero__bg-circle--2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 15%;
  animation-delay: 2s;
}

.blog-hero__bg-circle--3 {
  width: 100px;
  height: 100px;
  top: 50%;
  right: 20%;
  animation-delay: 4s;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/*=============== BLOG FEATURED ===============*/
.blog-featured {
  padding: 4rem 0;
}

.blog-featured__header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-featured__title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.blog-featured__subtitle {
  color: var(--text-color);
  font-size: var(--normal-font-size);
  max-width: 600px;
  margin: 0 auto;
}

.blog-featured__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-featured__loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.blog-featured__loading-spinner {
  margin-bottom: 1rem;
}

.blog-featured__loading-spinner i {
  font-size: 2rem;
  color: var(--first-color);
}

.blog-featured__loading p {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}

.blog-featured__footer {
  display: flex;
  justify-content: center;
}

.blog-featured__view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: transparent;
  border: 2px solid rgba(var(--first-color-rgb, 189, 147, 249), 0.3);
  color: var(--first-color);
  border-radius: 0.75rem;
  font-weight: var(--font-medium);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-featured__view-all:hover {
  background: var(--first-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--first-color-rgb, 189, 147, 249), 0.3);
}

/*=============== RESPONSIVE DESIGN ===============*/
@media screen and (max-width: 1024px) {
  .blog-hero__container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .blog-hero__visual {
    order: -1;
  }

  .blog-hero__floating-card {
    max-width: 280px;
  }

  .blog-hero__stats {
    justify-content: center;
  }

  .blog-hero__actions {
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
  }

  .blog-featured__grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .blog-hero {
    min-height: auto;
    padding: 4rem 0;
  }

  .blog-hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .blog-hero__description {
    font-size: clamp(0.95rem, 4vw, 1.1rem);
  }

  .blog-hero__stats {
    gap: 1.5rem;
  }

  .blog-hero__stat-number {
    font-size: 1.5rem;
  }

  .blog-hero__bg-circle--1,
  .blog-hero__bg-circle--2,
  .blog-hero__bg-circle--3 {
    display: none;
  }

  .blog-hero__card-content {
    padding: 1.5rem;
  }

  .blog-hero__card-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .blog-featured {
    padding: 2rem 0;
  }

  .blog-featured__header {
    margin-bottom: 2rem;
  }

  .blog-featured__title {
    font-size: clamp(1.75rem, 6vw, 2rem);
  }
}

@media screen and (max-width: 480px) {
  .blog-hero__stats {
    flex-direction: column;
    gap: 1rem;
  }

  .blog-hero__stat-number {
    font-size: 1.25rem;
  }

  .blog-hero__floating-card {
    max-width: 250px;
  }

  .blog-hero__card-tags {
    justify-content: center;
  }
}

/*=============== MODERN FOOTER ===============*/
.footer-modern {
  background: var(--body-color);
  border-top: 1px solid rgba(var(--first-color-rgb, 189, 147, 249), 0.1);
  padding: 4rem 0 2rem;
}

.footer-modern__brand {
  margin-bottom: 2rem;
}

.footer__title {
  font-size: var(--h2-font-size);
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--title-color), var(--text-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-modern__description {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

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

.footer-modern__badge {
  padding: 0.5rem 1rem;
  background: rgba(var(--first-color-rgb, 189, 147, 249), 0.1);
  border: 1px solid rgba(var(--first-color-rgb, 189, 147, 249), 0.2);
  border-radius: 2rem;
  color: var(--first-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

.footer-modern__heading {
  font-size: var(--h3-font-size);
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 1.5rem;
}

.footer-modern__list {
  list-style: none;
}

.footer-modern__item {
  margin-bottom: 0.75rem;
}

.footer-modern__link {
  color: var(--text-color);
  text-decoration: none;
  font-size: var(--normal-font-size);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-modern__link:hover {
  color: var(--first-color);
  transform: translateX(4px);
}

.footer-modern__contact-line {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: var(--normal-font-size);
}

.footer-modern__contact-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: var(--normal-font-size);
  margin-bottom: 0.5rem;
  display: block;
  transition: color 0.3s ease;
}

.footer-modern__contact-link:hover {
  color: var(--first-color);
}

.footer-modern__social-links {
  display: flex;
  gap: 1rem;
}

.footer-modern__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(var(--first-color-rgb, 189, 147, 249), 0.1);
  border: 2px solid rgba(var(--first-color-rgb, 189, 147, 249), 0.2);
  border-radius: 50%;
  color: var(--first-color);
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-modern__social-link:hover {
  background: var(--first-color);
  border-color: var(--first-color);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(var(--first-color-rgb, 189, 147, 249), 0.3);
}

/* X (Twitter) icon specific styling */
.footer-modern__social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: all 0.3s ease;
}

.footer-modern__bottom {
  border-top: 1px solid rgba(var(--first-color-rgb, 189, 147, 249), 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer-modern__meta {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

/*=============== WHATSAPP FLOAT ===============*/
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

/*=============== BACK TO TOP ===============*/
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 5rem;
  width: 50px;
  height: 50px;
  background: var(--first-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 16px rgba(var(--first-color-rgb, 189, 147, 249), 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 24px rgba(var(--first-color-rgb, 189, 147, 249), 0.4);
}

/*=============== RESPONSIVE DESIGN ===============*/
@media screen and (max-width: 1024px) {
  .footer-modern {
    padding: 3rem 0 2rem;
  }

  .footer-modern__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 55px;
    height: 55px;
    font-size: 1.25rem;
  }

  .back-to-top {
    bottom: 1.5rem;
    right: 4.5rem;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 768px) {
  .footer-modern {
    padding: 2rem 0 1.5rem;
  }

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

  .footer-modern__social-links {
    justify-content: center;
  }

  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }

  .back-to-top {
    bottom: 1rem;
    right: 4rem;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .footer-modern__brand {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .footer-modern__badges {
    justify-content: center;
  }

  .footer-modern__nav,
  .footer-modern__contact,
  .footer-modern__social {
    text-align: center;
  }

  .footer-modern__social-links {
    justify-content: center;
  }

  .whatsapp-float,
  .back-to-top {
    display: none;
  }
}

/*=============== BLOG FEATURED CARDS ===============*/
.blog-featured__card {
  background: var(--container-color);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(var(--first-color-rgb, 189, 147, 249), 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.blog-featured__card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-featured__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  border-color: rgba(var(--first-color-rgb, 189, 147, 249), 0.2);
}

.blog-featured__card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-featured__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-featured__card:hover .blog-featured__card-image img {
  transform: scale(1.05);
}

.blog-featured__card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--first-color);
  color: #fff;
  border-radius: 2rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  z-index: 2;
}

.blog-featured__card-content {
  padding: 1.5rem;
}

.blog-featured__card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.blog-featured__card-date,
.blog-featured__card-read-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.blog-featured__card-date i,
.blog-featured__card-read-time i {
  color: var(--first-color);
}

.blog-featured__card-title {
  font-size: var(--h3-font-size);
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-featured__card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-featured__card-title a:hover {
  color: var(--first-color);
}

.blog-featured__card-excerpt {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-featured__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-featured__card-tag {
  padding: 0.25rem 0.75rem;
  background: rgba(var(--first-color-rgb, 189, 147, 249), 0.1);
  color: var(--first-color);
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
}

.blog-featured__card-tag:hover {
  background: var(--first-color);
  color: #fff;
}

/*=============== REDESIGNED TESTIMONIALS SECTION ===============*/
.testi {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--body-color) 0%, hsl(var(--first-hue), 48%, 6%) 100%);
}

.testi__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.testi__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
  animation: testi-float 20s ease-in-out infinite;
}

.testi__orb--1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, var(--first-color), var(--first-color-alt));
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.testi__orb--2 {
  width: 250px;
  height: 250px;
  background: linear-gradient(45deg, hsl(207, 90%, 72%), var(--first-color));
  top: 60%;
  right: -5%;
  animation-delay: -5s;
}

.testi__orb--3 {
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, hsl(356, 66%, 75%), var(--first-color-alt));
  bottom: 20%;
  left: 50%;
  animation-delay: -10s;
}

@keyframes testi-float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.testi__header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.testi__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, hsla(var(--first-hue), 80%, 55%, 0.15), transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid hsla(var(--first-hue), 80%, 55%, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--first-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px hsla(var(--first-hue), 80%, 55%, 0.1);
}

.testi__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--first-color);
  border-radius: 50%;
  animation: testi-pulse 2s ease-in-out infinite;
}

@keyframes testi-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

.testi__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--title-color);
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.testi__title-gradient {
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testi__desc {
  font-size: 1.125rem;
  color: var(--text-color-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.testi__swiper {
  position: relative;
  margin-bottom: 4rem;
  overflow: hidden;
  min-height: 400px; /* Ensure container has height */
}

/* Let swiper handle the wrapper and slides automatically */
.testi__swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.testi__swiper .swiper-slide {
  height: auto;
  display: flex;
  flex-shrink: 0;
}

.testi__card {
  background: var(--container-color);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
  animation: testi-card-appear 0.8s ease-out forwards;
  width: 100%;
  margin: 0 auto;
}

.testi__card:nth-child(1) { animation-delay: 0.1s; }
.testi__card:nth-child(2) { animation-delay: 0.2s; }
.testi__card:nth-child(3) { animation-delay: 0.3s; }
.testi__card:nth-child(4) { animation-delay: 0.4s; }
.testi__card:nth-child(5) { animation-delay: 0.5s; }
.testi__card:nth-child(6) { animation-delay: 0.6s; }

@keyframes testi-card-appear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testi__card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.2);
  border-color: rgba(var(--first-color-rgb, 189, 147, 249), 0.2);
}

.testi__card--featured {
  background: linear-gradient(135deg, hsla(var(--first-hue), 15%, 18%, 0.5), hsla(var(--first-hue), 15%, 12%, 0.3));
  border: 2px solid var(--first-color);
  transform: scale(1.05);
  box-shadow: 0 24px 48px hsla(var(--first-hue), 80%, 50%, 0.15);
}

.testi__card--featured:hover {
  transform: translateY(-12px) scale(1.07);
  box-shadow: 0 40px 80px hsla(var(--first-hue), 80%, 50%, 0.25);
}

.testi__card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, hsla(var(--first-hue), 80%, 60%, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.testi__card:hover .testi__card-glow {
  opacity: 1;
}

.testi__card-content {
  position: relative;
  z-index: 1;
}

.testi__card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.testi__rating {
  display: flex;
  gap: 0.25rem;
}

.testi__rating i {
  font-size: 1.125rem;
  color: #fbbf24;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.3));
}

.testi__quote-icon {
  color: rgba(var(--first-color-rgb, 189, 147, 249), 0.3);
  font-size: 2rem;
  transition: all 0.3s ease;
}

.testi__card:hover .testi__quote-icon {
  color: var(--first-color);
  transform: scale(1.1) rotate(5deg);
}

.testi__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
}

.testi__text::before {
  content: '"';
  font-size: 3rem;
  color: rgba(var(--first-color-rgb, 189, 147, 249), 0.1);
  position: absolute;
  top: -10px;
  left: -15px;
  font-family: serif;
}

.testi__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testi__avatar-wrapper {
  position: relative;
}

.testi__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(var(--first-color-rgb, 189, 147, 249), 0.2);
  transition: all 0.3s ease;
}

.testi__card:hover .testi__avatar {
  border-color: var(--first-color);
  transform: scale(1.1);
}

.testi__avatar-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 64px;
  height: 64px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--first-color), var(--first-color-alt)) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  animation: testi-avatar-ring 3s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testi__card:hover .testi__avatar-ring {
  opacity: 1;
}

@keyframes testi-avatar-ring {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.05) rotate(180deg);
  }
}

.testi__author-info h4 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--title-color);
}

.testi__author-info p {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--text-color-light);
}

.testi__project-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.testi__project-label {
  font-size: 0.875rem;
  color: var(--text-color-light);
  font-weight: 500;
}

.testi__project-metric {
  font-size: 0.875rem;
  color: var(--first-color);
  font-weight: 600;
  background: rgba(var(--first-color-rgb, 189, 147, 249), 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.testi__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.testi__stat {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.testi__stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(var(--first-color-rgb, 189, 147, 249), 0.2);
}

.testi__stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--first-color);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testi__stat-label {
  font-size: 1rem;
  color: var(--text-color-light);
  font-weight: 500;
}

.testi__footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.testi__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px hsla(var(--first-hue), 80%, 50%, 0.3);
}

.testi__cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--first-color-alt), var(--first-color));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.testi__cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px hsla(var(--first-hue), 80%, 50%, 0.4);
}

.testi__cta-btn:hover::before {
  opacity: 1;
}

.testi__cta-btn span,
.testi__cta-btn i {
  position: relative;
  z-index: 1;
}

.testi__cta-btn i {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.testi__cta-btn:hover i {
  transform: rotate(-10deg) scale(1.1);
}

.testi__view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color-light);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.testi__view-all:hover {
  color: var(--first-color);
  border-color: rgba(var(--first-color-rgb, 189, 147, 249), 0.3);
  background: rgba(var(--first-color-rgb, 189, 147, 249), 0.05);
  transform: translateX(4px);
}

.testi__view-all i {
  transition: transform 0.3s ease;
}

.testi__view-all:hover i {
  transform: translateX(4px);
}

/*=============== TESTIMONIAL SWIPER NAVIGATION ===============*/
.testi__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testi__nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-color-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.testi__nav-btn:hover {
  background: var(--first-color);
  border-color: var(--first-color);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 8px 24px hsla(var(--first-hue), 80%, 50%, 0.3);
}

.testi__nav-btn i {
  font-size: 1.5rem;
}

/*=============== TESTIMONIAL SWIPER PAGINATION ===============*/
.testi__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testi__pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 4px;
}

.testi__pagination .swiper-pagination-bullet-active {
  background: var(--first-color);
  transform: scale(1.2);
  box-shadow: 0 0 12px hsla(var(--first-hue), 80%, 50%, 0.5);
}

.testi__view-all:hover i {
  transform: translateX(4px);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .testi {
    padding: 6rem 0;
  }

  .testi__swiper {
    margin-bottom: 3rem;
  }

  .testi__title {
    font-size: clamp(2rem, 4vw, 3rem);
  }
}

@media screen and (max-width: 768px) {
  .testi {
    padding: 4rem 0;
  }

  .testi__header {
    margin-bottom: 3rem;
  }

  .testi__swiper {
    margin-bottom: 3rem;
  }

  .testi__card {
    padding: 1.5rem;
  }

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

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

  .testi__cta-btn {
    width: 100%;
    justify-content: center;
  }

  .testi__view-all {
    width: 100%;
    justify-content: center;
  }

  .testi__nav {
    margin-top: 1.5rem;
  }

  .testi__nav-btn {
    width: 45px;
    height: 45px;
  }

  .testi__nav-btn i {
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 480px) {
  .testi__orb--1,
  .testi__orb--2,
  .testi__orb--3 {
    width: 150px;
    height: 150px;
  }

  .testi__stats {
    grid-template-columns: 1fr;
  }

  .testi__stat {
    padding: 1.5rem;
  }

  .testi__stat-number {
    font-size: 2rem;
  }
}
