/* Contact Form Responsive & Modern Style */
@media (max-width: 900px) {
  .contact__container {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .contact__form, .contact__container > div {
    max-width: 100% !important;
    margin-bottom: 1.5rem !important;
  }
}

.contact__form input:focus, .contact__form textarea:focus {
  border: 1.5px solid #4f8cff !important;
  box-shadow: 0 0 0 2px #4f8cff33 !important;
  outline: none !important;
}

.contact__form label {
  font-weight: 600;
  color: #2d3a4a;
  margin-bottom: 0.2rem;
  display: block;
}

.contact__form .button {
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.5px;
}
/*==================== RESPONSIVE NAVIGATION ====================*/
@media screen and (min-width: 768px) {
  .nav__menu {
    position: initial;
    bottom: initial;
    width: auto;
    background: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    align-items: center;
    transition: none;
  }
  .nav__list {
    display: flex;
    grid-template-columns: none;
    gap: 2rem;
  }
  .nav__close, .nav__toggle {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    left: 0;
    bottom: -100%;
    width: 100vw;
    height: 100vh;
    background: var(--container-color);
    box-shadow: 0 -1px 4px rgba(0,0,0,0.15);
    padding: 2rem 1.5rem 4rem;
    transition: .3s;
    z-index: 1000;
    display: block;
  }
  .show-menu {
    bottom: 0;
  }
  .nav__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .nav__close {
    display: block;
    position: absolute;
    right: 1.3rem;
    bottom: .5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--first-color);
  }
  .nav__toggle {
    display: block;
  }
}

@media screen and (max-width: 480px) {
  .container {
    max-width: 98vw;
    margin-left: 1vw;
    margin-right: 1vw;
    padding-left: 0;
    padding-right: 0;
  }
}
/*==================== GOOGLE FONTS ====================*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

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

    /*========== Colors ==========*/
    /* Change favorite color */
    --hue-color: 250; /*Purple 250 - Green 142 - Blue 230 - Pink 340*/

    /* HSL color mode */
    --first-color: hsl(var(--hue-color), 69%, 61%);
    --first-color-second: hsl(var(--hue-color), 69%, 61%);
    --first-color-alt: hsl(var(--hue-color), 57%, 53%);
    --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
    --title-color: hsl(var(--hue-color), 8%, 15%);
    --text-color: hsl(var(--hue-color), 8%, 45%);
    --text-color-light: hsl(var(--hue-color), 8%, 65%);
    --input-color: hsl(var(--hue-color), 70%, 96%);
    --body-color: hsl(var(--hue-color), 60%, 99%);
    --container-color: #fff;
    --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
    --scroll-thumb-color: hsl(var(--hue-color), 12%, 80%);

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

    /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
    --big-font-size: 2rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1.125rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

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

    /*========== Margenes Bottom ==========*/
    /* .25rem = 4px, .5rem = 8px, .75rem = 12px ... */
    --mb-0-25: .25rem;
    --mb-0-5: .5rem;
    --mb-0-75: .75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;

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

/* Font size for large devices */
@media screen and (min-width: 968px) {
    :root {
        --big-font-size: 3rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/*========== Button Dark/Light ==========*/


/* Default Light Theme */
body {
  background-color: #fff;
}


main.dark-theme {
  background-color: #111 !important;
}



/* Dark Theme: Only background changes, not text color */
.dark-theme {
  background-color: #111;
}

/* Optional: Dark header, nav, dsb */
/* .dark-theme .header,
.dark-theme .nav__menu {
  background-color: #1f1f1f;
} */



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

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

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

.section__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-3);
}

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

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

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


/*==================== Header ====================*/
.navbar-header {
  width: 100%;
  background: rgba(255,255,255,0.85);
  padding: 1.2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 4px 24px 0 rgba(106,13,173,0.13);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border-bottom: 1px solid rgba(106,13,173,0.07);
  border-radius: 0 0 1.2rem 1.2rem;
  transition: transform 0.35s cubic-bezier(.39,.575,.565,1), background 0.3s, box-shadow 0.3s;
}
.navbar-header.hide {
  transform: translateY(-120%);
  box-shadow: none;
  pointer-events: none;
}
.navbar-header.show {
  transform: translateY(0);
  pointer-events: auto;
}
.navbar-title {
  font-family: 'Segoe UI', 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  letter-spacing: 1px;
  text-align: center;
  background: linear-gradient(90deg, #6a0dad 10%, #a18cd1 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(106,13,173,0.10));
}
@media (max-width: 600px) {
  .navbar-title {
    font-size: 1.3rem;
    padding: 0 0.5rem;
  }
  .navbar-header {
    padding: 0.8rem 0;
  }
}





/* ========== Responsive ========== */
/* @media screen and (max-width: 768px) {
  .nav__toggle {
    display: block;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    transition: 0.3s ease;
  }

  .nav__menu.show-menu {
    right: 0;
  }

  .nav__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .nav__list {
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
  }
} */



/* =========== RESPONSIVE =========== */
@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background-color: var(--body-color);
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    row-gap: 2rem;
    transition: 0.4s;
  }

  .nav__menu.show-menu {
    right: 0;
  }

  .nav__close {
    display: block;
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .nav__toggle {
    display: block;
  }

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




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

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

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

.home__social-icon {
  font-size: 1.25rem;
  color: var(--first-color);
  transition: .3s;
}

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

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

.home__blob-img {
  width: 170px;
}

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

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

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

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

.home__scroll {
  display: none;
}

/* HOME IMAGE MODERN STYLE */
.home__img-bg {
  background: linear-gradient(135deg, var(--first-color) 60%, var(--first-color-lighter) 100%);
  border-radius: 50%;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 8px 32px 0 rgba(80, 37, 194, 0.15);
}
.home__blob-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 16px 0 rgba(80, 37, 194, 0.10);
}
.home__button {
  background: var(--first-color);
  color: #fff;
  border-radius: .5rem;
  padding: 1rem 2rem;
  font-weight: var(--font-semi-bold);
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(80, 37, 194, 0.10);
  transition: background .3s, box-shadow .3s;
}
.home__button:hover {
  background: var(--first-color-alt);
  box-shadow: 0 4px 16px rgba(80, 37, 194, 0.15);
}
.home__scroll {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}
.home__scroll-button {
  color: var(--first-color);
  font-weight: var(--font-medium);
  font-size: 1rem;
  gap: .5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color .3s;
}
.home__scroll-button:hover {
  color: var(--first-color-alt);
}
.home__scroll-mouse {
  font-size: 1.5rem;
}
.home__scroll-arrow {
  font-size: 1.25rem;
}

/*==================== BUTTONS ====================*/
.button {
  display: inline-block;
  background-color: var(--first-color);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: .5rem;
  font-weight: var(--font-medium);
  transition: .3s;
  cursor: pointer;
  border: none;
}
.button--flex {
  display: inline-flex;
  align-items: center;
}
.button__icon {
  font-size: 1.25rem;
  margin-left: .5rem;
  transition: .3s;
}
.button--white {
  background-color: #fff;
  color: var(--first-color);
  border: 1px solid var(--first-color);
}
.button--white:hover {
  background-color: var(--first-color-lighter);
}

/*==================== ABOUT ====================*/
.about__container {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}
.about__img {
  width: 250px;
  border-radius: 1rem;
  justify-self: center;
}
.about__description {
  margin-bottom: var(--mb-2);
}
.about__info {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--mb-2-5);
}
.about__info-title {
  font-size: var(--h2-font-size);
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
}
.about__info-name {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}
.about__buttons {
  display: flex;
  align-items: center;
}

/*==================== QUALIFICATION ====================*/
.qualification__container {
  max-width: 768px;
  margin: 0 auto;
}
.qualification__tabs {
  display: flex;
  justify-content: center;
  margin-bottom: var(--mb-2);
}
.qualification__button {
  font-size: var(--normal-font-size);
  color: var(--first-color);
  padding: 1rem 2rem;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  font-weight: var(--font-medium);
  transition: .3s;
}
.qualification__button.qualification__active {
  background-color: var(--first-color-lighter);
  border-radius: .5rem;
}
.qualification__sections {
  display: grid;
  grid-template-columns: 1fr;
}
.qualification__content {
  display: none;
}
.qualification__content.qualification__active {
  display: block;
}
.qualification__data {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--mb-2);
}
.qualification__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}
.qualification__subtitle {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}
.qualification__calendar {
  display: flex;
  align-items: center;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
  margin-top: var(--mb-0-5);
}
.qualification__rounder {
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: var(--first-color);
  border-radius: 50%;
}
.qualification__line {
  display: block;
  width: 1px;
  height: 100%;
  background-color: var(--first-color);
  margin: 0 auto;
}

/*==================== SERVICES ====================*/
.services__container {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.services__content {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
  position: relative;
}
.services__icon {
  font-size: 2rem;
  color: var(--first-color);
  margin-bottom: var(--mb-1);
}
.services__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-1);
}
.services__button {
  color: var(--first-color);
  cursor: pointer;
  font-size: var(--small-font-size);
  margin-top: var(--mb-1);
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}
.services__modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: .3s;
  z-index: var(--z-modal);
}
.active-modal {
  opacity: 1;
  pointer-events: auto;
}
.services__modal-content {
  background: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  position: relative;
  width: 350px;
  text-align: left;
}
.services__modal-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-1);
}
.services__modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--first-color);
  cursor: pointer;
}
.services__modal-services {
  margin-top: var(--mb-1);
}
.services__modal-service {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .75rem;
}
.services__modal-icon {
  color: var(--first-color);
  font-size: 1.1rem;
  margin-top: .2rem;
}

/*==================== TESTIMONIAL ====================*/
.testimonial__container {
  width: 100%;
  padding-top: 2rem;
}
.testimonial__content {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: left;
  margin: 0 auto;
  max-width: 400px;
}
.testimonial__header {
  display: flex;
  align-items: center;
  margin-bottom: var(--mb-1);
}
.testimonial__img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
}
.testimonial__name {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
}
.testimonial__client {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}
.testimonial__icon-star {
  color: var(--first-color);
  font-size: 1rem;
}
.testimonial__description {
  margin-top: var(--mb-1);
  color: var(--text-color);
}

/*==================== CONTACT ME ====================*/
.contact__container {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  align-items: flex-start;
}
.contact__information {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--mb-2);
}
.contact__icon {
  font-size: 2rem;
  color: var(--first-color);
  margin-right: 1rem;
}
.contact__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
}
.contact__subtitle {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}
.contact__form {
  width: 100%;
  display: grid;
  gap: 1.5rem;
}
.contact__inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.contact__content {
  display: flex;
  flex-direction: column;
}
.contact__label {
  font-size: var(--small-font-size);
  color: var(--title-color);
  margin-bottom: .5rem;
}
.contact__input, .contact__input:focus, .contact__input:active, textarea.contact__input {
  padding: 1rem;
  border-radius: .5rem;
  border: 1px solid var(--input-color);
  background: var(--input-color);
  color: var(--text-color);
  font-size: var(--normal-font-size);
  outline: none;
  resize: none;
}

/*==================== FOOTER ====================*/
.footer {
  background-color: var(--first-color);
  color: #fff;
  padding: 2rem 0 1rem 0;
  text-align: center;
}
.footer__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  align-items: center;
  margin-bottom: var(--mb-2);
}
.footer__title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
}
.footer__subtitle {
  font-size: var(--small-font-size);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: center;
}
.footer__link {
  color: #fff;
  font-size: var(--normal-font-size);
  transition: .3s;
}
.footer__link:hover {
  color: var(--first-color-lighter);
}
.footer__socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.footer__social {
  color: #fff;
  font-size: 1.25rem;
  transition: .3s;
}
.footer__social:hover {
  color: var(--first-color-lighter);
}
.footer__copy {
  font-size: var(--smaller-font-size);
  color: var(--first-color-lighter);
  margin-top: var(--mb-1);
}

/*========== SCROLL UP ==========*/
#scroll-up {
  position: fixed;
  right: 1.5rem;
  bottom: -20%;
  background: var(--first-color);
  color: #fff;
  padding: .5rem .75rem;
  border-radius: .5rem;
  z-index: var(--z-tooltip);
  transition: .4s;
  font-size: 1.5rem;
  opacity: 0.8;
  cursor: pointer;
}
.show-scroll {
  bottom: 5rem;
}

/*========== SCROLL BAR ==========*/
::-webkit-scrollbar {
  width: .6rem;
  background: var(--scroll-bar-color);
  border-radius: .5rem;
}
::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb-color);
  border-radius: .5rem;
}

/*==================== MEDIA QUERIES ====================*/
@media screen and (max-width: 350px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }
  .home__content {
    grid-template-columns: .25fr 3fr;
  }
  .skills__title {
    font-size: var(--normal-font-size);
  }
}

@media screen and (max-width: 480px) {
  .container {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .home__content {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }
  .home__social {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
  .home__img-bg {
    width: 150px;
    height: 150px;
  }
  .home__blob-img {
    width: 130px;
    height: 130px;
  }
  .home__data {
    grid-column: auto;
    text-align: center;
  }
  .about__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about__img {
    width: 200px;
    margin: 0 auto;
  }
  .skills__container {
    grid-template-columns: 1fr;
  }
  .services__container {
    grid-template-columns: 1fr;
  }
  .portfolio__container {
    width: 100%;
  }
  .portfolio__content {
    grid-template-columns: 1fr;
  }
  .contact__container {
    grid-template-columns: 1fr;
  }
  .contact__inputs {
    grid-template-columns: 1fr;
  }
  .footer__container {
    grid-template-columns: 1fr;
  }
  .nav__list {
    grid-template-columns: 1fr;
  }
  .nav__menu {
    padding: 1.5rem 1rem 3rem;
  }
  .nav__toggle {
    margin-left: 0;
  }
}

@media screen and (max-width: 320px) {
  .home__img-bg {
    width: 120px;
    height: 120px;
  }
  .home__blob-img {
    width: 100px;
    height: 100px;
  }
  .home__title {
    font-size: 1.5rem;
  }
  .home__subtitle {
    font-size: 1rem;
  }
  .home__description {
    font-size: 0.875rem;
  }
  .button {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}
@media screen and (min-width: 568px) {
  .home__content {
    grid-template-columns: max-content 1fr 1fr;
  }
  .home__data {
    grid-column: initial;
  }
  .about__container, .skills__container, .portfolio__content, .contact__container, .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 768px) {
  .container {
    max-width: 968px;
  }
  .section {
    padding: 6rem 0 2rem;
  }
  .section__subtitle {
    margin-bottom: 4rem;
  }
  .home__container {
    row-gap: 5rem;
  }
  .home__content {
    padding-top: 5.5rem;
    column-gap: 2rem;
  }
  .about__container {
    column-gap: 5rem;
  }
  .about__img {
    width: 350px;
  }
  .skills__container {
    grid-template-columns: .7fr;
  }
  .portfolio__container {
    width: 80%;
  }
  .portfolio__content {
    column-gap: 5rem;
  }
  .footer__container {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 1024px) {
  .home__blob {
    width: 320px;
  }
  .home__social {
    transform: translateX(-6rem);
  }
  .services__container {
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio__container {
    width: 60%;
  }
}

/*==================== SKILLS BAR MODERN ====================*/
.skills__bar {
  width: 100%;
  background: var(--input-color);
  border-radius: .5rem;
  height: 8px;
  margin-top: .5rem;
  margin-bottom: 1.2rem;
  overflow: hidden;
}
.skills__percentage {
  display: block;
  height: 100%;
  border-radius: .5rem;
  background: linear-gradient(90deg, var(--first-color) 0%, var(--first-color-alt) 100%);
  transition: width 1s cubic-bezier(.77,0,.18,1);
}
.skills__html { width: 90%; }
.skills__css { width: 85%; }
.skills__js { width: 80%; }
.skills__react { width: 85%; }
.skills__capcut { width: 85%; }
.skills__canva { width: 90%; }
.skills__photoshop { width: 80%; }
.skills__node { width: 70%; }
.skills__laravel { width: 70%; }
.skills__php { width: 75%; }
.skills__sql { width: 75%; }
.skills__backend_js { width: 60%; }
.skills__tailwind { width: 55%; }
.skills__react { width: 70%; }
/* .skills__sqlite { width: 70%; } */
.skills__bootstrap { width: 80%; }
.skills__framer { width: 70%; }

.skills__data {
  margin-bottom: 1rem;
}
.skills__titles {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.skills__name {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}
.skills__number {
  font-size: var(--small-font-size);
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
}

@media screen and (max-width: 576px) {
  .skills__list.grid {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 1024px) {
  .container {
    max-width: 90vw;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .about__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .about__img {
    width: 200px;
    margin: 0 auto;
  }
  .skills__container {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .about__container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .about__img {
    width: 150px;
  }
  .skills__container {
    grid-template-columns: 1fr;
  }
  .skills__list.grid {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 480px) {
  .about__container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .about__img {
    width: 120px;
  }
  .about__info {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .skills__container {
    grid-template-columns: 1fr;
  }
  .skills__list.grid {
    grid-template-columns: 1fr;
  }
  .skills__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
@media screen and (max-width: 350px) {
  .about__img {
    width: 90px;
  }
  .about__info-title {
    font-size: 1rem;
  }
  .about__info-name {
    font-size: 0.7rem;
  }
}

/* ====== MODERN GLASS & GRADIENT EFFECTS ====== */
.glass {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 8px 32px 0 rgba(80, 37, 194, 0.10);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border-radius: 18px;
  border: 1px solid rgba(220,220,220,0.18);
  transition: box-shadow 0.4s cubic-bezier(.39,.575,.565,1), transform 0.4s cubic-bezier(.39,.575,.565,1);
}
.glass:hover {
  box-shadow: 0 16px 48px 0 rgba(80, 37, 194, 0.18);
  transform: translateY(-4px) scale(1.015);
}

.gradient-bg {
  background: linear-gradient(120deg, #fff 60%, hsl(var(--hue-color), 69%, 98%) 100%);
}

/* ====== BUTTON & CARD HOVER EFFECTS ====== */
.button, .portfolio__button {
  transition: transform 0.25s cubic-bezier(.39,.575,.565,1), box-shadow 0.25s cubic-bezier(.39,.575,.565,1), background 0.25s;
  border-radius: 0.85rem;
  box-shadow: 0 2px 12px 0 rgba(106, 13, 173, 0.10);
  position: relative;
  overflow: hidden;
}
.button::after, .portfolio__button::after {
  content: '';
  position: absolute;
  left: -50%;
  top: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(161,140,209,0.18) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
}
.button:hover, .portfolio__button:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 32px 0 rgba(106, 13, 173, 0.18);
  background: linear-gradient(90deg, var(--first-color-alt) 60%, #a18cd1 100%);
}
.button:hover::after, .portfolio__button:hover::after {
  opacity: 1;
}

.portfolio__img {
  border-radius: 1.3rem;
  box-shadow: 0 4px 24px 0 rgba(106, 13, 173, 0.10);
  transition: transform 0.3s cubic-bezier(.39,.575,.565,1), box-shadow 0.3s cubic-bezier(.39,.575,.565,1);
}
.portfolio__img:hover {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 16px 48px 0 rgba(106, 13, 173, 0.18);
}

/* ====== SECTION CONTAINER RESPONSIVE ====== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 0.7rem;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 0.5rem;
  }
  .about__container, .skills__container, .portfolio__container, .contact__container {
    grid-template-columns: 1fr !important;
    gap: 2.2rem;
  }
  .about__img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: block;
  }
}

/* ====== SECTION ANIMATION ====== */
.section {
  animation: fadeInUp 0.9s cubic-bezier(.39,.575,.565,1) both;
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px) scale(0.98); }
  60% { opacity: 0.7; transform: translateY(-8px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ====== NAVBAR MODERN ====== */
/* .header {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 16px 0 rgba(106, 13, 173, 0.08);
  backdrop-filter: blur(6px) saturate(120%);
  transition: box-shadow 0.3s;
}
.header:hover {
  box-shadow: 0 8px 32px 0 rgba(106, 13, 173, 0.13);
} */

/* ====== RESPONSIVE ANIMATION FOR CARD ====== */
@media (hover: hover) and (pointer: fine) {
  .glass:hover, .portfolio__img:hover {
    transition: box-shadow 0.4s cubic-bezier(.39,.575,.565,1), transform 0.4s cubic-bezier(.39,.575,.565,1);
  }
}



.buy {
  display: flex;
  align-items: center;    
  gap: 2rem; 
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

@media (max-width: 768px) {
  .buy {
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
    text-align: center;
  }
  .buy > .section__title,
  .buy > .section__subtitle {
    flex-basis: unset;
    text-align: center;
    margin-bottom: 0.2rem;
  }
  .buy__content {
    flex-basis: unset;
    width: 100%;
    text-align: center;
  }
  .buy .button {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: block;
  }
}

/* Container teks atas: judul + subtitle jadi satu kolom */
.buy > .section__title,
.buy > .section__subtitle {
  display: block;
}

/* Bungkus judul dan subtitle jadi satu kolom */
.buy > .section__title,
.buy > .section__subtitle {
  flex-shrink: 0;
  margin: 0;
}

/* Bikin container atas jadi kolom (dua baris) */
.buy > .section__title,
.buy > .section__subtitle {
  display: block;
}

/* Buat container teks atas jadi satu flex column */
.buy > .section__title,
.buy > .section__subtitle {
  flex-basis: 40%;
}

.buy__content {
  flex-basis: 60%;
}

/* Styling tambahan untuk teks */
.section__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.section__subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 0;
}

.buy__title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.buy__description {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.button {
  background-color: #6a0dad; /* ganti warna biru ini ke ungu */
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
}

/* ====== PRESTASI SECTION ====== */
.prestasi.section {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 8px 32px 0 rgba(80, 37, 194, 0.10);
  border-radius: 18px;
  border: 1px solid rgba(220,220,220,0.18);
}

.prestasi .section__title {
  color: black;
  text-align: center;
  margin-bottom: 0.5rem;
}
.prestasi .section__subtitle {
  display: block;
  text-align: center;
  margin-bottom: 1.5rem;
  color: black;
  font-weight: 500;
}
.section__list {
  list-style: disc inside;
  background: rgba(245,245,255,0.7);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 2px 12px 0 rgba(106, 13, 173, 0.06);
}
.section__list li {
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
  color: #333;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.section__list li:last-child {
  margin-bottom: 0;
}


/* ====== FOOTER ====== */

.custom-footer {
  background: #6A0DAD;
  color: #ddd;
  padding: 50px 20px 80px;
  font-family: 'Segoe UI', sans-serif;
  border-top: 1px solid #222;
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-left {
  flex: 1 1 300px;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  text-align: left;
}

.footer-logo span {
  color: #4fd1c5;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #aaa;
  text-align: left;
}

.footer-right {
  display: flex;
  gap: 40px;
  flex: 1 1 400px;
  justify-content: space-between;
}

.footer-links-group {
  min-width: 120px;
}

.footer-heading {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 8px 0;
}

.footer-links a {
  text-decoration: none;
  color: #aaa;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #222;
  text-align: center;
  margin-top: 40px;
  padding-top: 15px;
  font-size: 0.85rem;
  color: white;
}

body::after {
  content: '';
  display: block;
  width: 100vw;
  height: 120px;
  background: #6A0DAD;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
}
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .footer-right {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .footer-logo,
  .footer-text {
    text-align: center;
  }

  .footer-heading,
  .footer-links-group {
    text-align: center;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .custom-footer {
    padding: 40px 15px 60px;
  }

  .footer-logo {
    font-size: 1.7rem;
  }

  .footer-text {
    font-size: 0.9rem;
  }

  .footer-links a {
    font-size: 0.85rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .footer-wrapper {
    flex-direction: row;
    gap: 30px;
  }

  .footer-left,
  .footer-right {
    flex: 1 1 100%;
  }

  .footer-right {
    justify-content: space-around;
  }
}