@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: 240;

  /*========= HSL Color mode =========*/
  --first-color: #2563eb;
  --first-color-second: #1e40af;
  --first-color-alt: #1d4ed8;
  --first-color-lighter: #60a5fa;
  --accent-color: #06b6d4;
  --accent-color-alt: #0891b2;
  --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: #ffffff;
  --container-color: #fff;
  --card-bg: #f8fafc;
  --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 80%);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-tech: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);

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

  --big-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /*=========== Font weight ==========*/

  --font-medium: 500;
  --font-semi-bold: 600;

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

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

/* Font Size for larger 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: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}
/*================= Variables Dark Theme ===============*/
body.dark-theme {
  /*========= HSL Color mode =========*/
  --first-color: #3b82f6;
  --first-color-second: #1e293b;
  --first-color-alt: #2563eb;
  --first-color-lighter: #60a5fa;
  --accent-color: #06b6d4;
  --title-color: #e2e8f0;
  --text-color: #cbd5e1;
  --text-color-light: #94a3b8;
  --input-color: hsl(var(--hue-color), 29%, 16%);
  --body-color: #0f172a;
  --container-color: #1e293b;
  --card-bg: #1e293b;
  --scroll-bar-color: hsl(var(--hue-color), 12%, 48%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 36%);
}

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

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

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

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

html {
  scroll-behavior: smooth;
}

/* Smooth fade-in animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 6rem;
}

/* Add subtle background pattern with animation */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 20%, rgba(139, 92, 246, 0.03) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
  animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

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

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);
  line-height: 1.6;
}

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;
}
.section {
  padding: 2rem 0 4rem;
}
.section__title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
  position: relative;
  display: inline-block;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.section__subtitle {
  display: block;
  font-size: var(--normal-font-size);
  margin-bottom: var(--mb-3);
  color: var(--text-color-light);
  font-weight: var(--font-medium);
  letter-spacing: 0.5px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.section__title,
.section__subtitle {
  text-align: center;
}

.section__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  position: relative;
}

.section__number {
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
  background: var(--gradient-tech);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Courier New', monospace;
  opacity: 0.9;
  position: relative;
  animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 0.9;
    transform: scale(1);
  }
}

.section__title {
  position: relative;
  display: inline-block;
}

.section__title-line {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-tech);
  border-radius: 2px;
  animation: expandLine 1s ease-out 0.5s both;
}

@keyframes expandLine {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 80px;
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  .section__header {
    flex-direction: column;
    gap: 0.5rem;
  }
  .section__number {
    font-size: var(--h3-font-size);
  }
  .section__title-line {
    width: 60px;
  }
}

.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: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--input-color);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

body.dark-theme .header {
  background-color: rgba(15, 23, 42, 0.95);
  border-top-color: var(--container-color);
}

.nav {
  max-width: 968px;
  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-semi-bold);
  font-size: var(--h3-font-size);
  letter-spacing: 0.5px;
  font-family: 'Courier New', monospace;
}

.nav__logo:hover {
  color: var(--first-color);
  transform: scale(1.05);
  transition: all 0.3s ease;
}
.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, 0.15);
    border-radius: 1.5rem 1.5rem 0 0;
    transition: 0.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(--text-color);
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--gradient-tech);
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: var(--first-color);
  transform: translateY(-2px);
}

.nav__link:hover::after {
  width: 100%;
}

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

.nav__link.active-link::after {
  width: 100%;
}

.nav__icon {
  font-size: 1.2rem;
}
.nav__icon {
  font-size: 1.2rem;
}
.nav__close {
  position: absolute;
  right: 1.3rem;
  bottom: 0.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 -2px 15px rgba(0, 0, 0, 0.1);
  border-top-color: var(--first-color-lighter);
}

/*========HOME=============*/
.home__container {
  gap: 1rem;
}
.home__content {
  grid-template-columns: 1fr;
  padding-top: 3.5rem;
  align-items: center;
  justify-items: center;
  gap: 2rem;
  position: relative;
}

.home__data {
  grid-column: 1;
  animation: fadeInUp 1s ease-out 0.3s both;
  text-align: center;
  width: 100%;
  order: 2;
}

.home__img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  order: 3;
}

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

.home__social-icon {
  font-size: 1.25rem;
  color: var(--first-color);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border-radius: 50%;
  border: 2px solid var(--first-color-lighter);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.home__social-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--gradient-tech);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
  z-index: 0;
}

.home__social-icon:hover::before {
  width: 100%;
  height: 100%;
}

.home__social-icon i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.home__social-icon:hover {
  color: white;
  border-color: var(--first-color);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.home__social-icon:hover i {
  transform: rotate(360deg) scale(1.2);
}

.home__blob-wrapper {
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 
    0 10px 30px rgba(37, 99, 235, 0.2),
    0 0 0 8px rgba(37, 99, 235, 0.05);
  transition: all 0.5s ease;
  animation: float 6s ease-in-out infinite, pulse 3s ease-in-out infinite;
}

.home__blob-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(37, 99, 235, 0.2));
  transition: all 0.5s ease;
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 
      0 10px 30px rgba(37, 99, 235, 0.2),
      0 0 0 8px rgba(37, 99, 235, 0.05);
  }
  50% {
    box-shadow: 
      0 15px 40px rgba(37, 99, 235, 0.3),
      0 0 0 12px rgba(37, 99, 235, 0.1);
  }
}

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

@keyframes glow {
  from {
    filter: drop-shadow(0 10px 30px rgba(37, 99, 235, 0.2));
  }
  to {
    filter: drop-shadow(0 15px 40px rgba(37, 99, 235, 0.4));
  }
}

/* Mobile view - social icons visible and centered */
.home__social {
  order: 0;
  justify-self: center;
  margin-top: 0;
  margin-bottom: 1rem;
  position: static;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  z-index: 10;
}

.home__greeting {
  font-size: var(--normal-font-size);
  color: var(--first-color);
  font-weight: var(--font-medium);
  margin-bottom: 0.5rem;
  font-family: 'Courier New', monospace;
  animation: fadeInLeft 0.8s ease-out 0.5s both;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wave-emoji {
  display: inline-block;
  animation: wave 2s ease-in-out infinite;
  font-size: 1.2em;
  transform-origin: 70% 70%;
}

@keyframes wave {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30% {
    transform: rotate(14deg);
  }
  20% {
    transform: rotate(-8deg);
  }
  40%, 60% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(10deg);
  }
  70% {
    transform: rotate(0deg);
  }
}

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

.home__title {
  font-size: var(--big-font-size);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease-out 0.7s both;
}

.home__name-highlight {
  background: var(--gradient-tech);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.home__subtitle {
  font-size: var(--h2-font-size);
  color: var(--text-color-light);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-1);
  min-height: 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.9s both;
}

.typing-animation {
  display: flex;
  align-items: center;
}

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

.cursor {
  color: var(--first-color);
  animation: blink 1s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.home__tagline {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  margin-bottom: var(--mb-2);
  font-style: italic;
  animation: fadeInUp 0.8s ease-out 1.1s both;
  position: relative;
  padding-left: 1.5rem;
}

.home__tagline::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--first-color);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(5px);
  }
  60% {
    transform: translateX(3px);
  }
}

.home__description {
  margin-bottom: var(--mb-1);
  line-height: 1.8;
  color: var(--text-color);
  animation: fadeInUp 0.8s ease-out 1.3s both;
}

.home__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: var(--mb-2);
  animation: fadeInUp 0.8s ease-out 1.5s both;
}

@media screen and (max-width: 568px) {
  .home__cta {
    flex-direction: column;
  }
  
  .home__cta .button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  .home__title {
    font-size: 2rem;
  }
  
  .home__subtitle {
    font-size: var(--h3-font-size);
  }
  
  .typing-animation {
    font-size: var(--normal-font-size);
  }
}

.button--primary {
  background: var(--gradient-tech);
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
  transition: all 0.3s ease;
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
}

.button--secondary {
  background: transparent;
  border: 2px solid var(--first-color);
  color: var(--first-color);
  transition: all 0.3s ease;
}

.button--secondary:hover {
  background: var(--first-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.portfolio__scroll {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  cursor: pointer;
}
.home__scroll {
  display: none;
}
.home__scroll-button {
  color: var(--first-color);
  transition: 0.3s;
}
.home__scroll-button:hover {
  transform: translateY(0.25rem);
}
.home__scroll-mouse {
  font-size: 2rem;
}
.home__scroll-name {
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
  margin-right: var(--mb-0-25);
}
.home__scroll-arrow {
  font-size: 1.25rem;
}

/*================== Buttons ===================*/
.button {
  display: inline-block;
  background: var(--gradient-tech);
  color: #fff;
  padding: 1rem 2.5rem;
  margin-bottom: 10px;
  border-radius: 0.75rem;
  font-weight: var(--font-semi-bold);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.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;
}

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

.button:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  transform: translateY(-3px);
  box-shadow: 
    0 8px 25px rgba(37, 99, 235, 0.4),
    0 0 20px rgba(79, 172, 254, 0.2);
}

.button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

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

.button__icon {
  font-size: 1.25rem;
  margin-left: 0.25rem;
  transition: 0.3s;
}

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

.button--white:hover {
  background-color: #fff;
}

.button--flex {
  display: inline-flex;
  align-items: center;
}
.button--small {
  padding: 0.75rem 1rem;
}
.button--link {
  padding: 0;
  background-color: transparent;
  color: var(--first-color);
}

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

/*===================== About ==================*/
.about__img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  justify-self: center;
  align-self: center;
  object-fit: cover;
  border: 4px solid var(--first-color-lighter);
  box-shadow: 
    0 10px 30px rgba(37, 99, 235, 0.2),
    0 0 0 8px rgba(37, 99, 235, 0.05);
  transition: all 0.5s ease;
  animation: pulse 3s ease-in-out infinite;
}

.about__img:hover {
  transform: scale(1.05);
  box-shadow: 
    0 15px 40px rgba(37, 99, 235, 0.3),
    0 0 0 12px rgba(37, 99, 235, 0.1);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 
      0 10px 30px rgba(37, 99, 235, 0.2),
      0 0 0 8px rgba(37, 99, 235, 0.05);
  }
  50% {
    box-shadow: 
      0 15px 40px rgba(37, 99, 235, 0.3),
      0 0 0 12px rgba(37, 99, 235, 0.1);
  }
}

.about__content {
  text-align: left;
}

.about__description {
  text-align: left;
  margin-bottom: var(--mb-1-5);
  line-height: 1.8;
  color: var(--text-color);
}

.about__description strong {
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
}

.about__tech-stack {
  margin-top: var(--mb-2);
  padding-top: var(--mb-2);
  border-top: 1px solid var(--input-color);
}

.tech-stack__title {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-bottom: var(--mb-1);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.tech-tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: var(--card-bg);
  color: var(--first-color);
  border: 1px solid var(--first-color-lighter);
  border-radius: 20px;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
  font-family: 'Courier New', monospace;
}

.tech-tag:hover {
  background: var(--first-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

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

.about__info-title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--first-color);
  background: var(--gradient-tech);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.about__info > div {
  padding: 1rem;
  border-radius: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--input-color);
  transition: all 0.3s ease;
  cursor: pointer;
}

.about__info > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--first-color-lighter);
}

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

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

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

/*===================== SKILLS =========================*/

.skills__container {
  row-gap: 0;
}

.skills__content {
  background: var(--card-bg);
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid var(--input-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

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

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

.skills__content:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.15),
    0 0 20px rgba(37, 99, 235, 0.1);
  border-color: var(--first-color);
}

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

.skills__header:hover {
  transform: translateX(5px);
}

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

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

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

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

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

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

.skills__name {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  color: var(--title-color);
  padding: 0.5rem;
  background: var(--input-color);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.skills__name:hover {
  background: var(--first-color);
  color: white;
  transform: translateX(5px);
}

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

.skills__bar {
  background-color: var(--first-color-lighter);
}
.skills__percentage {
  display: block;
  background-color: var(--first-color);
}

.skills__html {
  width: 90%;
}
.skills__css {
  width: 70%;
}
.skills__js {
  width: 85%;
}
.skills__react {
  width: 80%;
}
.skills__node {
  width: 80%;
}
.skills__cpp {
  width: 95%;
}
.skills__python {
  width: 50%;
}

.skills__mysql {
  width: 85%;
}
.skills__aiml {
  width: 75%;
}
.skills__photoshop {
  width: 60%;
}

.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);
}

/*==================== Certificates ====================*/

.certificates__container {
  row-gap: 0;
}

.certificates__content {
  background: var(--card-bg);
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--input-color);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.certificates__header {
  display: flex;
  align-items: center;
  margin-bottom: var(--mb-2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.certificates__header:hover {
  transform: translateX(5px);
}

.certificates__icon,
.certificates__arrow {
  font-size: 1.25rem;
  color: var(--first-color);
}

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

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

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

.certificates__list {
  row-gap: 1.5rem;
}

.certificates__data {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--input-color);
  transition: all 0.3s ease;
}

.certificates__data:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--first-color-lighter);
}

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

.certificates__name {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  color: var(--title-color);
}

.certificates__provider {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  font-style: italic;
}

.certificates__button {
  margin-top: 1rem;
}

.certificates__close .certificates__list {
  height: 0;
  overflow: hidden;
}

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

.certificates__open .certificates__arrow {
  transform: rotate(-180deg);
}

/*==================== Qualifications ====================*/

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

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

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

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

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

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

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

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

.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);
  transform: translate(6px, -7px);
}

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

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

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

.qualification__details {
  margin-top: 0.75rem;
}

.qualification__details ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.qualification__details li {
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-size: var(--small-font-size);
  line-height: 1.6;
}

/*================= Services ==================*/

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

.services__content {
  position: relative;
  background-color: var(--card-bg);
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--input-color);
  transition: all 0.3s ease;
}

.services__content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: var(--first-color-lighter);
}

.services__button {
  cursor: pointer;
  font-size: var(--small-font-size);
}

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

.services__modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.services__modal-content {
  position: relative;
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 1.25rem;
}
.services__modal-services {
  row-gap: 1rem;
}

.services__modal-service {
  display: flex;
}
.services__modal-title {
  font-size: var(--h3-font-size);
  font-family: var(--font-medium);
  margin-bottom: var(--mb-1-5);
}

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

.services__modal-icon {
  color: var(--first-color);
  margin-right: var(--mb-0-25);
}

/* Active Modal */
.active-modal {
  opacity: 1;
  visibility: visible;
}

/*================== Portfolio ==================*/

.portfolio__container {
  overflow: initial;
}
/*need change*/
.portfolio__content {
  padding: 0 1.5rem;
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--input-color);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  animation: fadeInScale 0.6s ease-out both;
  animation-delay: calc(var(--i, 0) * 0.1s);
}

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

.portfolio__content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-tech);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.portfolio__content::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.portfolio__content:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.12),
    0 0 20px rgba(37, 99, 235, 0.1);
  border-color: var(--first-color);
}

.portfolio__content:hover::before {
  transform: scaleX(1);
}

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

.portfolio__content:hover .portfolio__img {
  transform: scale(1.08) translateZ(0);
}

.portfolio__img {
  width: 100%;
  max-width: 500px;
  height: 280px;
  object-fit: cover;
  border-radius: 1rem;
  justify-self: center;
  margin-bottom: 1.5rem;
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.12),
    0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio__content:hover .portfolio__img {
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.2),
    0 8px 20px rgba(37, 99, 235, 0.15);
}

.portfolio__badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: var(--gradient-tech);
  color: white;
  border-radius: 20px;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(79, 172, 254, 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.portfolio__content:hover .portfolio__badge {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(79, 172, 254, 0.4);
}

.portfolio__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-1);
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.portfolio__content:hover .portfolio__title {
  color: var(--first-color);
  transform: translateX(3px);
  transition: all 0.3s ease;
}

.portfolio__description {
  margin-bottom: var(--mb-1-5);
  line-height: 1.7;
  color: var(--text-color);
}

.portfolio__tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--mb-1-5);
}

.portfolio__tech-tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: var(--input-color);
  color: var(--first-color);
  border-radius: 8px;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  font-family: 'Courier New', monospace;
  border: 1px solid var(--first-color-lighter);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.portfolio__tech-tag:hover {
  background: var(--first-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.portfolio__content:hover .portfolio__tech-tag {
  border-color: var(--first-color);
}

.portfolio__links {
  display: flex;
  gap: 1rem;
  margin-top: var(--mb-1);
  position: relative;
  z-index: 10;
}

.portfolio__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--card-bg);
  border: 2px solid var(--first-color);
  border-radius: 50%;
  color: var(--first-color);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  cursor: pointer;
  pointer-events: auto;
  text-decoration: none;
}

.portfolio__link:hover {
  background: var(--first-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.portfolio__button:hover .button__icon {
  transform: translateX(0.25rem);
}
.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
}
.swiper-portfolio-icon {
  font-size: 2rem;
  color: var(--first-color);
}
.swiper-button-prev {
  left: -0.5rem;
}
.swiper-button-next {
  right: -0.5rem;
}

.swiper-container-horizontal > .swiper-pagination-bullets {
  bottom: -2.5rem;
}
.swiper-pagination-bullets-active {
  background-color: var(--first-color);
}

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

/*================ Contact Me ===============*/

.contact__container {
  row-gap: 2rem;
}

.contact__information {
  display: flex;
  margin-bottom: var(--mb-2);
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 1rem;
  border: 1px solid var(--input-color);
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact__information:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--first-color-lighter);
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(37, 99, 235, 0.03) 100%);
}

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

.contact__information:hover .contact__icon {
  transform: scale(1.2) rotate(5deg);
  color: var(--first-color-alt);
}

.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-color: var(--input-color);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem 0.5rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.contact__content:focus-within {
  background-color: var(--container-color);
  border-color: var(--first-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}
.contact__label {
  font-size: var(--smaller-font-size);
  color: var(--title-color);
}

.contact__input {
  width: 100%;
  background-color: var(--input-color);
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  border: 2px solid transparent;
  outline: none;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.contact__input:focus {
  border-color: var(--first-color);
  background-color: var(--container-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact__input::placeholder {
  color: var(--text-color-light);
  opacity: 0.7;
}

.form__message {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: var(--small-font-size);
  animation: slideDown 0.3s ease;
}

.form__message--success {
  background-color: #10b981;
  color: white;
  border: 1px solid #059669;
}

.form__message--error {
  background-color: #ef4444;
  color: white;
  border: 1px solid #dc2626;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.button[type="submit"] {
  cursor: pointer;
  border: none;
}

.button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.button[type="submit"]:hover:not(:disabled) {
  transform: translateY(-2px);
}

/*=================== 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);
  transition: 0.3s;
}

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

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

.footer__copy {
  font-size: var(--smaller-font-size);
  text-align: center;
  color: var(--text-color-light);
  margin-top: var(--mb-3);
  padding-top: var(--mb-2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__title {
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: var(--font-semi-bold);
}

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

/*==================== Scroll Up ==================*/

.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background: var(--gradient-tech);
  opacity: 0.9;
  padding: 0.75rem;
  border-radius: 50%;
  z-index: var(--z-tooltip);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.scrollup:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
  opacity: 1;
}

.scrollup:active {
  transform: translateY(-3px) scale(1.05);
}

.scrollup__icon {
  font-size: 1.5rem;
  color: #fff;
  animation: bounceUp 2s infinite;
}

@keyframes bounceUp {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* Show Scroll */
.show-scroll {
  bottom: 5rem;
}

/*====================== Scroll Bar =====================*/

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

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
  border-radius: 0.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 0.25rem 4rem;
  }

  .nav__list {
    column-gap: 0;
  }

  .home__content {
    grid-template-columns: 1fr;
    justify-items: center;
    position: relative;
  }
  
  .home__data {
    order: 1;
    text-align: center;
  }
  
  .home__img {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 1rem 0;
  }
  
  .home__social {
    order: 0;
    position: static;
    justify-self: center;
    margin-top: 0;
    margin-bottom: 1rem;
    flex-direction: row;
    gap: 1rem;
    transform: none;
  }

  .home__blob-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }

  .skills__icon,
  .skills__arrow {
    font-size: 1.25rem;
  }
  .skills__title {
    font-size: var(--normal-font-size);
  }

  .qualification__data {
    gap: 0.5rem;
  }

  .services__container {
    justify-content: center;
  }

  .services__content {
    padding-right: 0.5rem;
  }

  .services__modal {
    padding: 0 0.5rem;
  }

  .project__img {
    width: 200px;
  }
}

/* For medium Devices */
@media screen and (min-width: 568px) {
  .home__content {
    grid-template-columns: 1fr 1fr;
    justify-items: start;
    gap: 3rem;
    position: relative;
  }

  .home__data {
    grid-column: 1;
    text-align: left;
    order: 1;
    justify-self: start;
  }

  .home__img {
    order: 2;
    justify-self: end;
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
  }
  
  .home__social {
    order: 0;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 1rem;
    margin-top: 0;
    z-index: 10;
  }

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

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

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

  body {
    margin: 0;
  }

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

  .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;
  }

  .nav__menu {
    margin-left: auto;
  }
  .change-theme {
    margin: 0;
  }

  .home__container {
    row-gap: 5rem;
  }

  .home__content {
    padding-top: 5.5rem;
    column-gap: 4rem;
    grid-template-columns: 1.2fr 0.8fr;
    justify-items: start;
    align-items: center;
    position: relative;
  }
  
  .home__data {
    text-align: left;
    order: 1;
    justify-self: start;
  }
  
  .home__img {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    order: 2;
    justify-self: end;
  }
  
  .home__blob-wrapper {
    width: 300px;
    height: 300px;
    margin: 0;
  }
  
  .home__social {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 1rem;
  }

  .home__scroll {
    display: block;
  }
  .home__scroll-button {
    margin-left: 3rem;
  }
  .about__container {
    column-gap: 5rem;
  }

  .about__img {
    width: 300px;
  }

  .about__description {
    text-align: initial;
  }
  .about__info {
    justify-content: space-between;
  }
  .about__buttons {
    justify-content: initial;
  }

  .skills__icon,
  .skills__arrow {
    font-size: 1.75rem;
  }

  .qualification__tabs {
    justify-content: center;
  }
  .qualification__button {
    margin: 0 var(--mb-1);
  }
  .qualification__sections {
    grid-template-columns: 0.5fr;
  }
  .services_container {
    grid-template-columns: repeat(3, 218px);
    justify-content: center;
  }
  .services__content {
    padding: 6rem 0 2rem 2.5rem;
  }
  .services__icon {
    font-size: 2rem;
  }
  .services__modal-content {
    width: 500px;
  }
  .testimonials {
    align-items: center;
  }
  .project {
    text-align: initial;
  }
  .project__bg {
    background: none;
  }
  .project__container {
    background-color: var(--first-color-second);
    border-radius: 1rem;
    padding: 3rem 2.5rem 0;
    grid-template-columns: 1fr max-content;
    column-gap: 3rem;
  }

  .project__data {
    padding-top: 0.8rem;
  }

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

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

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

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

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

/* For large devices */

@media screen and (min-width: 968px) {
  .header,
  .main,
  .footer__container {
    padding: 0;
  }

  .home__blob-wrapper {
    width: 320px;
    height: 320px;
    margin: 0 auto;
  }

  .home__img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .home__title {
    font-size: 37px;
  }

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

  .button--white {
    bottom: -4.5rem;
  }
}
