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

/*==================== VARIABLES CSS ====================*/
/*==================== VARIABLES CSS - DARK MODE DEFAULT ====================*/
:root {
  --header-height: 3rem;
  --dark-blue: #0B132B;
  --light-blue: #1C2541;
  --accent-color: #3A86FF;
  --text-color: #F5F7FA;
  --secondary-text: #A3BFFA;

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

  /* HSL color mode - DARK MODE AS DEFAULT */
  --first-color: hsl(var(--hue-color), 69%, 61%);
  --first-color-second: hsl(var(--hue-color), 60%, 15%);
  --first-color-alt: hsl(var(--hue-color), 57%, 53%);
  --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
  --title-color: hsl(var(--hue-color), 15%, 97%);
  --text-color: hsl(var(--hue-color), 50%, 84%);
  --text-color-light: hsl(var(--hue-color), 8%, 65%);
  --input-color: hsl(var(--hue-color), 60%, 15%);
  --body-color: hsl(var(--hue-color), 75%, 11%);
  --container-color: hsl(var(--hue-color), 60%, 15%);
  --scroll-bar-color: hsl(var(--hue-color), 50%, 84%);
  --scroll-thumb-color: hsl(var(--hue-color), 100%, 62%);

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

  /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
  --big-font-size: 5rem;
  --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;
}

/*========== Variables Light theme ==========*/
body.light-theme {
  /* HSL color mode */
  --first-color-second: hsl(var(--hue-color), 69%, 61%);
  --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 size for large devices */
@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3rem;
    --h1-font-size: 2rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*========== Variables Dark theme ==========*/
body.light-theme {
  /* HSL color mode */
  --first-color-second: hsl(var(--hue-color), 60%, 15%);
  --title-color: hsl(var(--hue-color), 15%, 97%);
  --text-color: hsl(var(--hue-color), 50%, 84%);

  --input-color: hsl(var(--hue-color), 60%, 15%);
  --body-color: hsl(var(--hue-color), 75%, 11%);
  --container-color: hsl(var(--hue-color), 60%, 15%);
  --scroll-bar-color: hsl(var(--hue-color), 50%, 84%);
  --scroll-thumb-color: hsl(var(--hue-color), 100%, 62%);
}

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

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

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

/* Blue neon effect for animated text - works in both dark and light modes */
.auto-input {
  color: #00bfff; /* Bright blue base color */
  
  animation: neonPulse 2s ease-in-out infinite alternate;
}


/* Enhanced visibility for light theme */
body.light-theme .auto-input {
  color: #0066cc; /* Slightly darker blue for light mode */
  text-shadow: 
    0 0 3px #00bfff,
    0 0 6px #00bfff,
    0 0 9px #00bfff,
    0 0 12px #0080ff,
    0 0 18px #0080ff,
    0 0 24px #0080ff;
}

/* Light theme neon animation - more subtle */
body.light-theme .auto-input {
  animation: neonPulseLight 2s ease-in-out infinite alternate;
}


}
/* PROFILE PICTURE STYLES - SVG BLOB VERSION */
.profile-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
  padding: 2rem;
}

.profile-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Animated border rings */
.profile-border-animation,
.profile-border-animation-2 {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-radius: 50%;
  animation: rotate-border 3s linear infinite;
  z-index: 1;
}

.profile-border-animation {
  border-top: 2px solid var(--accent-color);
  border-right: 2px solid var(--accent-color);
  animation-duration: 3s;
}

.profile-border-animation-2 {
  border-bottom: 2px solid #6FA8FF;
  border-left: 2px solid #6FA8FF;
  animation-duration: 3s;
  animation-direction: reverse;
}

@keyframes rotate-border {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* SVG Blob container */
.home__blob {
  width: 280px;
  height: 280px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(58, 134, 255, 0.3))
          drop-shadow(0 0 40px rgba(58, 134, 255, 0.2));
  transition: all 0.3s ease;
  animation: float 6s ease-in-out infinite;
}

/* Blob shape fill */
.home__blob path {
  fill: var(--accent-color);
  opacity: 0.1;
  transition: all 0.3s ease;
}

/* Profile image inside blob */
.home__blob-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
  filter: brightness(1.1) contrast(1.05);
}

/* Float animation */
@keyframes float {
  0%, 100% { 
      transform: translateY(0px) rotate(0deg); 
  }
  25% { 
      transform: translateY(-8px) rotate(1deg); 
  }
  50% { 
      transform: translateY(-15px) rotate(0deg); 
  }
  75% { 
      transform: translateY(-8px) rotate(-1deg); 
  }
}

/* Hover effects */
.profile-wrapper:hover .home__blob {
  filter: drop-shadow(0 0 30px rgb(9, 5, 240))
          drop-shadow(0 0 60px rgb(9, 5, 240))
          drop-shadow(0 0 80px rgb(9, 5, 240));
  transform: scale(1.05);
}

.profile-wrapper:hover .home__blob path {
  fill: var(--accent-color);
  opacity: 0.2;
}

.profile-wrapper:hover .home__blob-img {
  transform: scale(1.1);
}

.profile-wrapper:hover .profile-border-animation,
.profile-wrapper:hover .profile-border-animation-2 {
  animation-duration: 1s;
  border-width: 3px;
}

.profile-wrapper:hover .profile-border-animation {
  box-shadow: 0 0 20px var(--accent-color);
}

.profile-wrapper:hover .profile-border-animation-2 {
  box-shadow: 0 0 20px #6FA8FF;
}

/* Blob morphing animation */
@keyframes blob-morph {
  0%, 100% {
      d: path("M190.312 36.4879C206.582 62.1187 201.309 102.826 182.328 134.186C163.346 165.547 130.807 187.559 100.226 186.353C69.6454 185.297 41.0228 161.023 21.7403 129.362C2.45775 97.8511 -7.48481 59.1033 6.67581 34.5279C20.9871 10.1032 59.7028 -0.149132 97.9666 0.00163737C136.23 0.303176 174.193 10.857 190.312 36.4879Z");
  }
  50% {
      d: path("M185.5 42.2C199.8 65.4 195.2 98.6 178.5 127.8C161.8 157 133.2 181.3 105.1 180.2C77 179.1 49.4 157.6 32.1 128.9C14.8 100.2 7.8 64.3 20.3 42.1C32.8 19.9 64.8 11.4 96.2 11.6C127.6 11.8 171.2 19 185.5 42.2Z");
  }
}

/* Apply morphing to the blob path */
.home__blob path {
  animation: blob-morph 8s ease-in-out infinite;
}

/* Glow effect for the entire profile section */
.profile-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(58, 134, 255, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.profile-wrapper:hover::before {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .profile-wrapper {
      width: 280px;
      height: 280px;
  }
  
  .home__blob {
      width: 240px;
      height: 240px;
  }
  
  .home__blob-img {
      width: 150px;
      height: 150px;
  }
}

/*==================== 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: 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-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%;
    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: 10rem;
}

.home__social-icon {
  font-size: 1rem;
  color: var(--first-color);
}

.home__social-icon:hover {
  color: var(--first-color-alt);
  transform: translateY(-.25rem);
  transition: 1.5s;
}
.social-container {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.home__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 24px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.home__social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.home__social-icon:nth-child(1):hover {
  color: #E4405F;
  border-color: #E4405F;
  background: rgba(228, 64, 95, 0.1);
}

.home__social-icon:nth-child(2):hover {
  color: #333;
  border-color: #333;
  background: rgba(255, 255, 255, 0.9);
}

.home__social-icon:nth-child(3):hover {
  color: #0077B5;
  border-color: #0077B5;
  background: rgba(0, 119, 181, 0.1);
}

@media (max-width: 480px) {
  .social-container {
      gap: 15px;
      padding: 20px;
  }
  
  .home__social-icon {
      width: 45px;
      height: 45px;
      font-size: 20px;
  }
}
.home__blob {
  width: 200px;
  fill: var(--first-color);
}

.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-button {
  color: var(--first-color);
  transition: .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-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--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: .75rem 1rem;
}

.button--link {
  padding: 0;
  background: transparent;
  color: var(--first-color);
}

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

/*==================== ABOUT ====================*/

/* About section container - centers everything on screen */
.about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
}

.about__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.about__description {
  text-align: center;
  margin-bottom: var(--mb-2-5);
  max-width: 600px;
}

.about_info {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: var(--mb-2-5);
  width: 100%;
  max-width: 500px;
}

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

.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;
  padding-left: 210px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .about {
    padding: 1rem;
  }
  
  .about_info {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .about__description {
    max-width: 100%;
  }
}
/*==================== SKILLS ====================*/
.skills__container {
  row-gap: 0;
}

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

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

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

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

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

.skills__arrow {
  margin-left: auto;
  transition: .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-color: var(--first-color-lighter);
}

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

.skills__html {
  width: 60%;
}

.skills__css {
  width: 60%;
}

.skills__js {
  width: 40%;
}

.skills__react {
  width: 30%;
}
.skills__php {
  width: 30%;
}

.skills__mysql {
  width: 30%;
}

.skills__node {
  width: 30%;
}

.skills__python {
  width: 50%;
}

.skills__blender {
  width: 60%;
}

.skills__photoshop {
  width: 35%;
}

.skills__adobeillustrator {
  width: 35%;
}

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


/*==================== SERVICES ====================*/
.services__container {
  gap: 1.5rem;
  display: flex;
  flex-direction: column;
  /* Removed grid-template-rows to switch from grid to flexbox */
}

.services__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, .15);
  transition: .3s;
}

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

.services__icon {
  display: block;
  font-size: 1.5rem;
  color: var(--first-color);
  margin-bottom: var(--mb-1);
}

.services__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  font-weight: var(--font-medium);
}

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

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

.services__modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(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: .3s;
}

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

.services__modal-services {
  row-gap: 1rem;
}

.service__modal-service {
  display: flex;
}

.services__modal-title {
  font-size: var(--h3-font-size);
  font-weight: 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);
}
/* Enhanced Services Section Styling */
.services__container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.services__content {
  position: relative;
  background: linear-gradient(135deg, 
    hsla(var(--hue-color), 60%, 15%, 0.8) 0%,
    hsla(var(--hue-color), 60%, 20%, 0.6) 100%);
  border: 1px solid hsla(var(--hue-color), 50%, 30%, 0.3);
  border-radius: 1rem;
  padding: 0.1rem;
  text-align: center;
  width: 100%;
  max-width: 700px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Glossy effect overlay */
.services__content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.1), 
    transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

/* Glossy shine animation on hover */
.services__content:hover::before {
  left: 100%;
}

/* Default glossy effect (always visible) */
.services__content::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 50%,
    rgba(255, 255, 255, 0.05) 100%);
  border-radius: 1rem;
  pointer-events: none;
  z-index: 1;
}

/* Hover effects */
.services__content:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 20px hsla(var(--hue-color), 70%, 60%, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: hsla(var(--hue-color), 70%, 60%, 0.5);
}

/* Content positioning */
.services__content > div {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 1rem;
}

/* Icon styling */
.services__icon {
  font-size: 2.5rem;
  color: var(--first-color);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.3));
}

.services__content:hover .services__icon {
  transform: scale(1.1) rotate(5deg);
  color: #00bfff;
  filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.6));
}

/* Title styling */
.services__title {
  font-size: 1.25rem;
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
  line-height: 1.3;
}

.services__content:hover .services__title {
  color: #00bfff;
  text-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

/* Description text */
.services__content span {
  color: var(--text-color);
  line-height: 1.6;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  text-align: center;
  opacity: 0.9;
}

.services__content:hover span {
  color: var(--text-color-light);
  opacity: 1;
}

/* Light theme specific styles */
body.light-theme .services__content {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.7) 100%);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.light-theme .services__content::after {
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.3) 100%);
}

body.light-theme .services__content::before {
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent);
}

body.light-theme .services__content:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 0 20px rgba(0, 191, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 191, 255, 0.3);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .services__container {
    max-width: 90%;
    gap: 1.5rem;
  }
  
  .services__content {
    max-width: 100%;
    min-height: 180px;
    padding: 1.5rem;
  }
  
  .services__icon {
    font-size: 2rem;
  }
  
  .services__title {
    font-size: 1.1rem;
  }
  
  .services__content span {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {
  .services__container {
    max-width: 95%;
    gap: 1.25rem;
  }
  
  .services__content {
    min-height: 160px;
    padding: 1.25rem;
  }
  
  .services__icon {
    font-size: 1.8rem;
  }
  
  .services__title {
    font-size: 1rem;
  }
  
  .services__content span {
    font-size: 0.85rem;
  }
}
/* Active Modal */
.active-modal {
  opacity: 1;
  visibility: visible;
}

/*==================== PORTFOLIO ====================*/
.portfolio__container {
  overflow: initial;
}

.portfolio__content {
  padding: 0 1.5rem;
}

.portfolio__img {
  width: 265px;
  border-radius: .5rem;
  justify-self: center;
}

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

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

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

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

.swiper-portfolio-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-active {
  background-color: var(--first-color);
}

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

/*==================== PROJECT IN MIND ====================*/
.project {
  text-align: center;
}

.project__bg {
  background-color: var(--first-color-second);
  padding-top: 3rem;
}

.project__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-0-75);
}

.project__description {
  margin-bottom: var(--mb-1-5);
}

.project__title,
.project__description {
  color: #fff;
}

.project__img {
  width: 232px;
  justify-self: center;
}



/*==================== TESTIMONIAL ====================*/
.testimonial__data,
.testimonial__header {
  display: flex;
}

.testimonial__data {
  justify-content: space-between;
  margin-bottom: var(--mb-1);
}

.testimonial__img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: var(--mb-0-75);
}

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

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

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

.swiper-container .swiper-pagination-testimonial {
  bottom: 0;
}


/*==================== CONTACT ME ====================*/
/* Main container for the entire contact section */
/* Main container for the entire contact section */
.contact__container {
  display: flex;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background-color: var(--body-color);
}

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

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

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

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

.contact__content {
  background-color: var(--input-color);
  border-radius: .5rem;
  padding: .75rem 1rem .25rem;
  border: 1px solid var(--container-color);
}

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

.contact__input {
  width: 100%;
  background-color: var(--input-color);
  color: var(--title-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  border: none;
  outline: none;
  padding: .25rem .5rem .5rem 0;
}

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

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  color: var(--title-color);
}

.contact h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--first-color);
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  margin-left: 3rem;
  padding: 20px;
  background-color: var(--body-color);
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--title-color);
}

.contact-info p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  color: var(--text-color);
}

.contact-info p i {
  margin-right: 1rem;
  font-size: 1.2rem;
  color: var(--first-color);
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

/* Left side - Contact information box */
.contact-section {
  flex: 1;
  background-color: var(--container-color);
  border: 2px solid var(--container-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  min-width: 350px;
  transition: all 0.3s ease;
}

body.dark-theme .contact-section {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--first-color);
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

.contact-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--first-color);
  border-radius: 2px;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--body-color);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid var(--body-color);
  position: relative;
  overflow: hidden;
}

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

.contact-content p {
  margin: 0;
  font-size: 0.9em;
  opacity: 0.8;
}
body.dark-theme .contact-item {
  border: 1px solid var(--first-color-second);
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--first-color-second), transparent);
  transition: left 0.5s ease;
  opacity: 0.3;
}

.contact-item:hover {
  background-color: var(--container-color);
  border-color: var(--first-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

body.dark-theme .contact-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.contact-item:hover::before {
  left: 100%;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--first-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--first-color);
  opacity: 0.8;
}

.contact-text {
  font-size: 0.8rem;
  color: var(--text-color);
  font-weight: 500;
  letter-spacing: 0.025em;
  flex: 1;
}

.contact-item:hover .contact-text {
  color: var(--title-color);
}

.contact-item:hover .contact-icon {
  transform: scale(1.05);
  opacity: 1;
}

/* Right side - Contact form */
.contact-form-container {
  flex: 1;
  background-color: var(--container-color);
  border: 2px solid var(--container-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 350px;
  position: relative;
  transition: all 0.3s ease;
}

body.dark-theme .contact-form-container {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--first-color);
  border-radius: 16px 16px 0 0;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

.form-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--first-color);
  border-radius: 2px;
}

.form-group {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.form-group.visible {
  opacity: 1;
  transform: translateX(0);
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--title-color);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background-color: var(--input-color);
  border: 2px solid var(--container-color);
  border-radius: 8px;
  color: var(--title-color);
  font-family: var(--body-font);
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-color);
  opacity: 1;
  font-style: italic;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--first-color);
  box-shadow: 0 0 10px var(--first-color);
  background-color: var(--input-color);
  transform: translateY(-1px);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: var(--first-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  padding: 0.8rem 2rem;
  background-color: var(--first-color);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 1rem;
  position: relative;
  will-change: transform, box-shadow;
}

.submit-btn:hover {
  background-color: var(--first-color-alt);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 20px var(--first-color);
}

/* Additional dark mode specific styles */
body.dark-theme .contact-info p {
  color: var(--text-color);
}

body.dark-theme hr {
  border-color: var(--container-color);
  opacity: 0.3;
}

/* Responsive design */
@media (max-width: 768px) {
  .contact__container {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
  }
  
  .contact-section,
  .contact-form-container {
    min-width: unset;
    width: 100%;
  }
  
  .contact-wrapper {
    margin-left: 0;
  }
}
/*==================== FOOTER ====================*/
.footer {
  padding-top: 1rem;
}

.footer__container {
  row-gap: 2.5rem;
}

.footer__bg {
  background-color: var(--first-color);
  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 .footer__social a:hover {
  color: var(--first-color-lighter);
}

.footer__copy {
  font-size: var(--smaller-font-size);
  text-align: center;
  color: var(--text-color-light);
  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;
  padding: 0 .3rem;
  border-radius: .4rem;
  z-index: var(--z-tooltip);
  transition: .4s;
}

.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: 0.6rem;
  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: 180px;
  }

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

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

  .services__content {
    padding-right: 3.5rem;
  }

  .services__modal {
    padding: 0 .5rem;
  }

  .project__img {
    width: 200px;
  }

  .swiper-error{
    visibility: hidden;
  }

  .testimonial__data,
  .testimonial__header {
    flex-direction: column;
    align-items: center;
  }

  .testimonial__img {
    margin-right: 0;
    margin-bottom: var(--mb-0-25);
  }

  .testimonial__data,
  .testimonial__description {
    text-align: center;
  }
}

/* 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__container,
  .skills__container,
  .portfolio__content,
  .project__container,
  .contact__container,
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .nav__menu {
    margin-left: auto;
  }

  .change-theme {
    margin: 0;
  }

  .home__container {
    row-gap: 5rem;
  }

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

  .home__blob {
    padding-top: 5.5rem;
  }

  .home {
    display: block;
  }

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

  .about__container {
    column-gap: 5rem;
  }

  .about__img {
    width: 350px;
  }

  .about__description {
    text-align: initial;
  }

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

  .about__buttons {
    justify-content: initial;
  }

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

  .services__icon {
    font-size: 2rem;
  }

  .services__content {
    padding: 6rem 0 2rem 2.5rem;
  }

  .services__modal-content {
    width: 450px;
  }

  .swiper-error{
    visibility: hidden;
  }

  .portfolio__img {
    width: 320px;
  }

  .portfolio__content {
    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: .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: 1024px) {

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

  .home__blob {
    width: 320px;
  }

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

  .services__container {
    grid-template-columns: repeat(3, 238px);
  }

  .swiper-error{
    visibility: visible;
  }

  .portfolio__content {
    column-gap: 5rem;
  }

  .swiper-portfolio-icon {
    font-size: 3.5rem;
  }

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

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

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

  .contact__form {
    width: 460px;
  }

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

/*==================== Waving hand  ====================*/
.wave {
  animation-name: wave-animation;
  /* Refers to the name of your @keyframes element below */
  animation-duration: 2.5s;
  /* Change to speed up or slow down */
  animation-iteration-count: infinite;
  /* Never stop waving :) */
  transform-origin: 70% 70%;
  /* Pivot around the bottom-left palm */
  display: inline-block;
}

@keyframes wave-animation {
  0% {
    transform: rotate(0.0deg)
  }

  10% {
    transform: rotate(14.0deg)
  }

  /* The following five values can be played with to make the waving more or less extreme */
  20% {
    transform: rotate(-8.0deg)
  }

  30% {
    transform: rotate(14.0deg)
  }

  40% {
    transform: rotate(-4.0deg)
  }

  50% {
    transform: rotate(10.0deg)
  }

  60% {
    transform: rotate(0.0deg)
  }

  /* Reset for the last half to pause */
  100% {
    transform: rotate(0.0deg)
  }
}

/*==================== Skills logo ====================*/
.skills__logo:hover{
  transform: translateY(-.25rem);
  transition: 1s;
}
