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

/*==================== CSS VARIABLES ====================*/
:root {

  --header-height: 3rem;


  /*========== Colors ==========*/
  /* Metallic Grey Theme */
  --hue-color: 220;
  /*Metallic Grey 220 - Creates sophisticated grey tones*/

  /* HSL color mode - Metallic Grey */
  --first-color: hsl(220, 15%, 55%);
  --first-color-second: hsl(220, 15%, 55%);
  --first-color-alt: hsl(220, 20%, 45%);
  --first-color-lighter: hsl(220, 10%, 75%);
  --title-color: hsl(220, 25%, 20%);
  --text-color: hsl(220, 15%, 40%);
  --text-color-light: hsl(220, 10%, 60%);
  --input-color: hsl(220, 20%, 95%);
  --body-color: hsl(220, 25%, 98%);
  --container-color: #fff;
  --scroll-bar-color: hsl(220, 15%, 85%);
  --scroll-thumb-color: hsl(220, 20%, 65%);

  /*========== 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;

  /*========== Bottom margins ==========*/
  /* .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: 2.75rem;
    --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;
  }
}

/*========== Dark theme variables ==========*/
body.dark-theme {
  /* HSL color mode - Dark Metallic Grey */
  --first-color-second: hsl(220, 15%, 15%);
  --title-color: hsl(220, 10%, 95%);
  --text-color: hsl(220, 15%, 80%);
  --input-color: hsl(220, 20%, 20%);
  --body-color: hsl(220, 25%, 12%);
  --container-color: hsl(220, 20%, 18%);
  --scroll-bar-color: hsl(220, 15%, 25%);
  --scroll-thumb-color: hsl(220, 20%, 35%);
}

/*========== Dark/Light button ==========*/
.nav__btns {
  display: flex;
  align-items: center;
}

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

.change-theme:hover {
  transform: scale(1.1);
  color: var(--first-color);
}

/*========== Enhanced animations ==========*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/*========== Floating animation ==========*/
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/*========== Glow effect ==========*/
@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(100, 100, 120, 0.3); }
  50% { box-shadow: 0 0 30px rgba(100, 100, 120, 0.6); }
}

/*========== Section enhancements ==========*/
.section {
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(220, 15%, 55%), transparent);
  opacity: 0.3;
}

.section__title {
  position: relative;
  display: block;
  text-align: center;
  margin: 0 auto var(--mb-1-5);
  font-size: var(--h1-font-size);
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, hsl(220, 15%, 55%), hsl(220, 20%, 45%));
  border-radius: 2px;
  animation: glow 2s ease-in-out infinite alternate;
}

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

/*========== Custom scrollbar ==========*/
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(100, 100, 120, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, hsl(220, 15%, 55%), hsl(220, 20%, 45%));
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, hsl(220, 20%, 45%), hsl(220, 15%, 55%));
}

/*========== Enhanced button styles ==========*/
.button {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, hsl(220, 15%, 55%), hsl(220, 20%, 45%));
  border: none;
  box-shadow: 0 4px 15px rgba(100, 100, 120, 0.3);
}

.button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(100, 100, 120, 0.4);
  background: linear-gradient(135deg, hsl(220, 20%, 45%), hsl(220, 15%, 55%));
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.button:hover::before {
  left: 100%;
}

.button__icon {
  transition: transform 0.3s ease;
}

.button:hover .button__icon {
  transform: translateX(3px);
}

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

/*==================== 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);
}

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);
  text-align: center;
  color: var(--text-color);
  font-weight: var(--font-medium);
}

.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 {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--body-color);
}

/*==================== NAV ====================*/
.nav {
  max-width: 969px;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo,
.nav__toggle {
  color: var(--title-color);
  font-weight: var(--font-medium);
}

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

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

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

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--body-color);
    padding: 2rem 1.5rem 4rem;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, .15);
    border-radius: 1.5rem 1.5rem 0 0;
    transition: .3s;
  }
}

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

.nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
}

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

.nav__icon {
  font-size: 1.2rem;
}

.nav__close {
  position: absolute;
  right: 1.3rem;
  bottom: .5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--first-color);
}

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

/* show menu */
.show-menu {
  bottom: 0;
}

/* Active link */
.active-link {
  color: var(--first-color);
}

/* Change background header */
.scroll-header {
  box-shadow: 0 -1px 4px rgba(0, 0, 0, .15);
}

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

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

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

.home__social-icon {
  font-size: 1.5rem;
  color: hsl(220, 15%, 55%);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 0.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(100, 100, 120, 0.1), rgba(100, 100, 120, 0.05));
  border: 2px solid rgba(100, 100, 120, 0.1);
  backdrop-filter: blur(10px);
}

.home__social-icon:hover {
  color: #fff;
  background: linear-gradient(135deg, hsl(220, 15%, 55%), hsl(220, 20%, 45%));
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(100, 100, 120, 0.4);
  border-color: hsl(220, 15%, 55%);
}

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

.home__blob-img {
  width: 200px;
  transition: 0.5s;
}

.home__blob-img:hover {
  transform: translateY(-5px);
}

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

.home__title {
  font-size: var(--big-font-size);
  background: linear-gradient(135deg, hsl(220, 15%, 55%), hsl(220, 20%, 45%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 3s ease-in-out infinite alternate;
  text-shadow: 0 0 30px rgba(100, 100, 120, 0.3);
}

@keyframes titleGlow {
  0% { filter: drop-shadow(0 0 5px rgba(100, 100, 120, 0.3)); }
  100% { filter: drop-shadow(0 0 20px rgba(100, 100, 120, 0.6)); }
}

.home__subtitle {
  font-size: var(--h3-font-size);
  color: var(--first-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-0-75);
  animation: subtitlePulse 2s ease-in-out infinite;
}

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

.home__description {
  margin-bottom: var(--mb-2);
  line-height: 1.8;
  color: var(--text-color);
  font-size: 1.1rem;
  text-align: justify;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(100, 100, 120, 0.05), rgba(100, 100, 120, 0.02));
  border-radius: 12px;
  border-left: 4px solid hsl(220, 15%, 55%);
  box-shadow: 0 4px 15px rgba(100, 100, 120, 0.1);
}

.home__description a {
  color: var(--text-color-light);
}

.home__scroll {
  display: none;
}

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

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

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

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

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

/*==================== BUTTONS ====================*/
.button {
  display: inline-block;
  background-color: var(--first-color);
  color: #FFF;
  padding: 1rem;
  border-radius: .5rem;
  font-weight: var(--font-medium);
}

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

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

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

/*==================== ABOUT ====================*/
.about__img {
  width: 210px;
  border-radius: 20px;
  justify-self: center;
  align-self: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(100, 100, 120, 0.2);
  border: 3px solid rgba(100, 100, 120, 0.1);
  filter: drop-shadow(0 0 20px rgba(100, 100, 120, 0.1));
}

.about__img:hover {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 20px 40px rgba(100, 100, 120, 0.3);
  border-color: hsl(220, 15%, 55%);
}

.about__description {
  text-align: justify;
  margin-bottom: var(--mb-2-5);
  line-height: 1.8;
  font-size: 1.05rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(100, 100, 120, 0.05), rgba(100, 100, 120, 0.02));
  border-radius: 16px;
  border-left: 5px solid hsl(220, 15%, 55%);
  box-shadow: 0 8px 25px rgba(100, 100, 120, 0.1);
  position: relative;
  overflow: hidden;
}

.about__description::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(100, 100, 120, 0.05), transparent);
  transition: left 0.8s ease;
}

.about__description:hover::before {
  left: 100%;
}

.about__info {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: var(--mb-2-5);
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(100, 100, 120, 0.08), rgba(100, 100, 120, 0.03));
  border-radius: 20px;
  border: 2px solid rgba(100, 100, 120, 0.1);
  box-shadow: 0 8px 25px rgba(100, 100, 120, 0.1);
}

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

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

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

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

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

.skills__header {
  display: flex;
  align-items: center;
  margin-bottom: var(--mb-2-5);
  cursor: pointer;
  padding: 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(100, 100, 120, 0.08), rgba(100, 100, 120, 0.03));
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(100, 100, 120, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.skills__header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(100, 100, 120, 0.1), transparent);
  transition: left 0.6s ease;
}

.skills__header:hover::before {
  left: 100%;
}

.skills__header:hover {
  background: linear-gradient(135deg, rgba(100, 100, 120, 0.15), rgba(100, 100, 120, 0.08));
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(100, 100, 120, 0.2);
  border-color: rgba(100, 100, 120, 0.3);
}

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

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

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

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

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

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

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

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

.skills__bar,
.skills__percentage {
  height: 5px;
  border-radius: .25rem;
}

.skills__bar {
  background: linear-gradient(135deg, rgba(100, 100, 120, 0.1), rgba(100, 100, 120, 0.05));
  border-radius: 15px;
  overflow: hidden;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.1);
  height: 8px;
  position: relative;
}

.skills__percentage {
  display: block;
  background: linear-gradient(90deg, hsl(220, 15%, 55%), hsl(220, 20%, 45%), hsl(220, 15%, 55%));
  border-radius: 15px;
  transition: width 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  height: 100%;
  box-shadow: 0 2px 8px rgba(100, 100, 120, 0.3);
}

.skills__percentage::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2.5s infinite;
  border-radius: 15px;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.skills__data {
  transition: all 0.3s ease;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(100, 100, 120, 0.02);
  border: 1px solid rgba(100, 100, 120, 0.05);
}

.skills__data:hover {
  background: rgba(100, 100, 120, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(100, 100, 120, 0.1);
}

/*========== SKILL 1 ==========*/

.skills__swift {
  width: 40%;
}

.skills__sql {
  width: 80%;
}

.skills__python {
  width: 85%;
}

.skills__javascript {
  width: 75%;
}

.skills__typescript {
  width: 70%;
}

.skills__bash {
  width: 75%;
}

.skills__cypress {
  width: 85%;
}

.skills__playwright {
  width: 80%;
}

.skills__k6 {
  width: 75%;
}

.skills__selenium {
  width: 70%;
}

.skills__htmlcss {
  width: 80%;
}

.skills__react {
  width: 75%;
}

.skills__mui {
  width: 70%;
}

.skills__redux {
  width: 65%;
}

.skills__elasticsearch {
  width: 85%;
}

.skills__kibana {
  width: 80%;
}

.skills__grafana {
  width: 80%;
}

.skills__mongodb {
  width: 75%;
}

.skills__neo4j {
  width: 70%;
}

.skills__aws {
  width: 80%;
}

.skills__gcp {
  width: 70%;
}

.skills__terraform {
  width: 75%;
}

.skills__jenkins {
  width: 75%;
}

.skills__docker {
  width: 70%;
}

.skills__r {
  width: 60%;
}

.skills__js {
  width: 50%;
}

.skills__java {
  width: 60%;
}

/*========== SKILL 2 ==========*/

.skills__np {
  width: 85%;
}

.skills__pd {
  width: 80%;
}

.skills__plt {
  width: 70%;
}

.skills__sk {
  width: 70%;
}

.skills__sea {
  width: 60%;
}

.skills__cv {
  width: 70%;
}

.skills__flask {
  width: 70%;
}

.skills__streamlit {
  width: 60%;
}

.skills__tf {
  width: 85%;
}

.skills__pytorch {
  width: 80%;
}

.skills__ntlk {
  width: 80%;
}

/*========== SKILL 3 ==========*/

.skills__lr {
  width: 85%;
}

.skills__dt {
  width: 70%;
}

.skills__eda {
  width: 80%;
}

.skills__ts {
  width: 70%;
}

.skills__cnn {
  width: 90%;
}

.skills__nlp {
  width: 90%;
}

.skills__em {
  width: 60%;
}

.skills__rs {
  width: 60%;
}

.skills__mml {
  width: 70%;
}
/*========== SKILL 4 ==========*/

.skills__mysql {
  width: 80%;
}

.skills__mgdb {
  width: 70%;
}

.skills__tableau {
  width: 60%;
}

.skills__powerbi {
  width: 75%;
}

.skills__looker {
  width: 50%;
}


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

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

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

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

.qualification__button {
  cursor: pointer;
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
}

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

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

.qualification__data {
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  column-gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(100, 100, 120, 0.05), rgba(100, 100, 120, 0.02));
  border-radius: 16px;
  border: 2px solid rgba(100, 100, 120, 0.1);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(100, 100, 120, 0.1);
}

.qualification__data:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(100, 100, 120, 0.2);
  border-color: hsl(220, 15%, 55%);
}

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

.qualification__subtitle {
  padding-top: 3px;
  display: inline-block;
  font-size: small;
}

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

.qualification__description {
  margin-top: var(--mb-0-5);
  font-size: var(--small-font-size);
  color: var(--text-color);
}

.qualification__description ul {
  margin: 0;
  padding-left: 1.5rem;
}

.qualification__description li {
  margin-bottom: var(--mb-0-25);
  line-height: 1.4;
}

.qualification__description p {
  margin: 0;
  line-height: 1.4;
}

.qualification__rounder {
  display: inline-block;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, hsl(220, 15%, 55%), hsl(220, 20%, 45%));
  box-shadow: 0 0 15px rgba(100, 100, 120, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.8);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 15px rgba(100, 100, 120, 0.5); }
  50% { box-shadow: 0 0 25px rgba(100, 100, 120, 0.8); }
  100% { box-shadow: 0 0 15px rgba(100, 100, 120, 0.5); }
}

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

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

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

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

/*==================== CERTIFICATIONS ====================*/
.certification__container{
  gap: 1.5rem;
  grid-template-columns: repeat(1, 1fr);
}

.certification__content{
  position: relative;
  background-color: var(--container-color);
  padding: 3.5rem .5rem 1.25rem 1.5rem;
  border-radius: .25rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.certification__content:hover{
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.certification__img_1{
  padding: 2rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  animation: float-img 3.5s ease-in-out infinite;
}

.certification__img{
  padding-bottom: 2rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 70%;
  animation: float-img 3.5s ease-in-out infinite;
}

.certification__img_2{
  padding-bottom: 2rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 40%;
  animation: float-img 3.5s ease-in-out infinite;
}

@keyframes float-img{
  0%{
    transform: translateY(0);
  }
  50%{
    transform: translateY(-.25rem);
  }
  100%{
    transform: translateY(0);
  }
}

.certification__title{
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  font-weight: var(--font-medium);
  padding-right: 2rem;
}

.certification__subtitle{
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-1);
  padding-right: 2rem;
}

.certification__description{
  margin-bottom: var(--mb-1-5);
  font-size: var(--smaller-font-size);
  padding-right: 2rem;
}

.certification__button{
  cursor: pointer;
  font-size: var(--small-font-size);
  background-color: transparent;
  color: var(--first-color);
}

.certification__button:hover{
  background-color: transparent;
  color: var(--first-color);
}

.certification__button:hover .button__icon{
  transform: translateX(.25rem)
}

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

.projects__content {
  padding: 0 1.5rem;
}

.projects__img {
  width: 400px;
  border-radius: .5rem;
  justify-self: center;
}

.projects__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
}

.projects__description {
  margin-bottom: var(--mb-0-75);
}

.projects__button:hover .button__icon {
  transform: translateX(.25rem);
}

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

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

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

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

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

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


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

/*==================== BLOG ====================*/
.blog__container{
  overflow: initial;
}

.blog__content{
  padding: 0 1.5rem;
}

.blog__img{
  width: 400px;
  border-radius: .5rem;
  justify-self: center;
}

.blog__title{
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
}

.blog__description{
  margin-bottom: var(--mb-0-75);
}

.blog__button:hover .button__icon {
  transform: translateX(.25rem);
}

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

.contact__information {
  display: flex;
  margin-bottom: var(--mb-2);
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(100, 100, 120, 0.08), rgba(100, 100, 120, 0.03));
  border-radius: 16px;
  border: 2px solid rgba(100, 100, 120, 0.1);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(100, 100, 120, 0.1);
}

.contact__information:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(100, 100, 120, 0.2);
  border-color: hsl(220, 15%, 55%);
  background: linear-gradient(135deg, rgba(100, 100, 120, 0.12), rgba(100, 100, 120, 0.05));
}

.contact__icon {
  font-size: 2.5rem;
  color: hsl(220, 15%, 55%);
  margin-right: var(--mb-0-75);
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(100, 100, 120, 0.1), rgba(100, 100, 120, 0.05));
}

.contact__information:hover .contact__icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, hsl(220, 15%, 55%), hsl(220, 20%, 45%));
  color: #fff;
  box-shadow: 0 8px 20px rgba(100, 100, 120, 0.3);
}

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

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

.contact__content {
  background: linear-gradient(135deg, rgba(100, 100, 120, 0.05), rgba(100, 100, 120, 0.02));
  border-radius: 12px;
  padding: 1rem 1.5rem 0.5rem;
  border: 2px solid rgba(100, 100, 120, 0.1);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(100, 100, 120, 0.1);
}

.contact__content:focus-within {
  border-color: hsl(220, 15%, 55%);
  box-shadow: 0 8px 25px rgba(100, 100, 120, 0.2);
  transform: translateY(-2px);
}

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

.contact__input {
  width: 100%;
  background: transparent;
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  border: none;
  outline: none;
  padding: .25rem .5rem .5rem 0;
  transition: all 0.3s ease;
}

.contact__input:focus {
  color: hsl(220, 15%, 55%);
  font-weight: var(--font-medium);
}

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

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

#contact__status {
  color: #FFF;
  padding: .6rem;
  border-radius: 5px;
  font-size: var(--smaller-font-size);
}

#contact__status.success {
  background-color: rgb(79, 162, 116);
  animation: status 4s ease forwards;
}

#contact__status.error {
  background-color: rgb(201, 88, 88);
  animation: status 4s ease forwards;
}

@keyframes status {
  0% {
    opacity: 1;
    pointer-events: all;
  }

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

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

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

.footer__container {
  row-gap: 3.5rem;
}

.footer__bg {
  background-color: var(--first-color-second);
  padding: 2rem 0 3rem;
}

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

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

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

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

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

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

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

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

/*========== SCROLL UP ==========*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--first-color);
  opacity: .8;
  border-radius: .4rem;
  padding: 0 .3rem;
  transition: .4s;
  z-index: var(--z-tooltip);
}

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

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

/* Show scroll */

.show-scroll {
  bottom: 5rem;
}


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

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
  border-radius: .5rem;
}

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


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

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

  .nav__list {
    column-gap: 0;
  }

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

  .home__blob {
    width: 190px;
  }

  .about__img {
    width: 200px;
  }

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

  .qualification__data {
    gap: .5rem;
  }

  .certification__container{
    grid-template-columns: repeat(1,1fr);
    justify-content: center;
  }

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

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

  .home__data {
    grid-column: initial;
  }

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

  .about__img {
    width: 300px;
  }

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

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

  .certification__container{
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
 }
}

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

  body {
    margin: 0;
  }

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

  .section__subtitle {
    margin-bottom: 4rem;
  }

  .header {
    top: 0;
    bottom: initial;
  }

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

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

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

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

  .change-theme {
    margin: 0;
  }

  .home__container {
    row-gap: 5rem;
  }

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

  .home__blob {
    width: 250px;
  }

  .home__scroll {
    display: block;
  }

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

  .about__container {
    column-gap: 4rem;
  }

  .about__img {
    width: 350px;
  }

  .about__description {
    text-align: initial;
  }

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

  .about__buttons {
    justify-content: initial;
  }

  .qualification__tabs {
    justify-content: center;
  }

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

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

  .projects__img {
    width: 320px;
  }

  .projects__content {
    align-items: center;
  }

  .blog__content{
    align-items: center;
}

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

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

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

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

  .footer__social {
    margin: 1.5rem;
  }

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

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

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

  .home__blob {
    width: 320px;
  }

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

  .about__img {
    width: 350px;
  }

  .about__container {
    column-gap: 8rem;
  }

  .projects__content {
    column-gap: 5rem;
  }

  .blog__content{
    column-gap: 5rem;
}

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

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

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

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

  .contact__form {
    width: 460px;
  }
}
