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

/*===== VARIABLES CSS =====*/
:root {
  --first-color: #9D4EDD;
  --accent-purple: #7B2CBF;
  --bright-purple: #C77DFF;
  --dark-purple: #5A189A;
  --dark-bg: #0A0A0F;
  --darker-bg: #000000;
  --medium-dark: #1A1A2E;
  --card-bg: #1F1F3A;
  --text-light: rgba(255, 255, 255, 0.7);
  --body-font: "Inter", sans-serif;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --z-fixed: 100;
  --z-bottom-nav: 99;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: #FFFFFF;
  background: linear-gradient(180deg, #000000 0%, #0A0A0F 30%, #1A1A2E 70%, #000000 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  padding-top: 80px; /* Space for top navigation */
  padding-bottom: 80px; /* Space for bottom navigation */
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section__title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #FFFFFF;
  line-height: 1.2;
}

.section__subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 600px;
}

/*===== HEADER =====*/
.header {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 800px;
  background: linear-gradient(135deg, rgba(31, 31, 58, 0.85) 0%, rgba(26, 26, 46, 0.95) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(157, 78, 221, 0.5);
  border-top: 2px solid rgba(157, 78, 221, 0.6);
  border-radius: 20px;
  padding: 0.75rem 1rem;
  z-index: var(--z-fixed);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 
              0 -2px 10px rgba(157, 78, 221, 0.2) inset;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(157, 78, 221, 0.8), 
    rgba(199, 125, 255, 0.9),
    rgba(157, 78, 221, 0.8), 
    transparent
  );
  border-radius: 20px 20px 0 0;
  pointer-events: none;
}

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

.open-to-work {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #FFFFFF;
  font-size: var(--small-font-size);
  font-weight: 500;
  background: linear-gradient(135deg, rgba(31, 31, 58, 0.6) 0%, rgba(26, 26, 46, 0.7) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(157, 78, 221, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.open-to-work:hover {
  background: linear-gradient(135deg, rgba(31, 31, 58, 0.8) 0%, rgba(26, 26, 46, 0.9) 100%);
  border-color: rgba(157, 78, 221, 0.5);
  box-shadow: 0 4px 12px rgba(157, 78, 221, 0.3);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6), 0 0 12px rgba(74, 222, 128, 0.4);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

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

.download-cv-btn {
  background: linear-gradient(135deg, var(--first-color) 0%, var(--accent-purple) 100%);
  color: #FFFFFF;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: var(--small-font-size);
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(157, 78, 221, 0.5);
  border: 1px solid rgba(157, 78, 221, 0.4);
}

.download-cv-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(157, 78, 221, 0.7);
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--bright-purple) 100%);
}

/*===== HOME/HERO SECTION =====*/
.home {
  padding: 3rem 0 4rem;
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home__container {
  width: 100%;
}

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

.home__intro {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
}

.home__label {
  display: inline-block;
  background: rgba(157, 78, 221, 0.2);
  color: var(--first-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  width: fit-content;
  border: 1px solid rgba(157, 78, 221, 0.3);
}

.home__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0.5rem 0;
}

.home__title-highlight {
  color: var(--first-color);
}

.typing-text {
  color: #FFFFFF;
}

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

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

.home__description {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 500px;
  margin: 0.5rem 0;
}

.home__services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.home__service-tag {
  background: rgba(157, 78, 221, 0.1);
  color: var(--first-color);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  border: 1px solid rgba(157, 78, 221, 0.2);
}

.home__stats {
  display: flex;
  gap: 3rem;
  margin-top: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--first-color);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.home__image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100%;
}

.home__img-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: fit-content;
}

.gradient-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.4) 0%, rgba(199, 125, 255, 0.5) 50%, rgba(123, 44, 191, 0.4) 100%);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.8;
  z-index: -1;
  animation: gradientPulse 8s ease-in-out infinite;
}

@keyframes gradientPulse {
  0%, 100% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.home__img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home__blob {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 30px rgba(157, 78, 221, 0.6));
}

.home__blob path {
  filter: drop-shadow(0 0 30px rgba(157, 78, 221, 0.5));
  animation: blobGlow 3s ease-in-out infinite;
  opacity: 0.95;
}

@keyframes blobGlow {
  0%, 100% {
    filter: drop-shadow(0 0 30px rgba(157, 78, 221, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(199, 125, 255, 0.7));
  }
}

.home__blob-img {
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  object-fit: cover;
  transform-origin: center center;
  clip-path: url(#blobClip);
}

/*===== EXPERIENCE SECTION =====*/
.experience {
  background: rgba(26, 26, 46, 0.3);
}

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

.experience__item {
  background: rgba(31, 31, 58, 0.5);
  border: 1px solid rgba(157, 78, 221, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
}

.experience__item:hover {
  border-color: rgba(157, 78, 221, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(157, 78, 221, 0.2);
}

.experience__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.experience__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
}

.experience__company {
  color: var(--first-color);
  font-weight: 600;
}

.experience__period {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: block;
}

.experience__description {
  color: var(--text-light);
  line-height: 1.8;
}

/*===== WORKS SECTION =====*/
.works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.work__item {
  background: rgba(31, 31, 58, 0.5);
  border: 1px solid rgba(157, 78, 221, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
}

.work__item:hover {
  border-color: rgba(157, 78, 221, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(157, 78, 221, 0.2);
}

.work__category {
  color: var(--first-color);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.work__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.work__date {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.work__description {
  color: var(--text-light);
  line-height: 1.8;
}

/*===== SERVICES SECTION =====*/
.services {
  background: rgba(26, 26, 46, 0.3);
}

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

.service__item {
  background: rgba(31, 31, 58, 0.5);
  border: 1px solid rgba(157, 78, 221, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
}

.service__item:hover {
  border-color: rgba(157, 78, 221, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(157, 78, 221, 0.2);
}

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

.service__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.service__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service__list li {
  color: var(--text-light);
  padding-left: 1.5rem;
  position: relative;
}

.service__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--first-color);
  font-size: 1.5rem;
  line-height: 1;
}

/*===== ABOUT SECTION =====*/
.about__content {
  max-width: 800px;
}

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

.about__paragraph {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.8;
}

/*===== SKILLS SECTION =====*/
.skills {
  background: rgba(26, 26, 46, 0.3);
}

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

.skill__item {
  background: rgba(31, 31, 58, 0.5);
  border: 1px solid rgba(157, 78, 221, 0.2);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.skill__item:hover {
  border-color: rgba(157, 78, 221, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(157, 78, 221, 0.2);
}

.skill__icon {
  font-size: 3rem;
  color: var(--first-color);
  margin-bottom: 1rem;
}

.skill__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.skill__description {
  font-size: 0.875rem;
  color: var(--text-light);
}

.subsection-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}

.subsection-title:first-of-type {
  margin-top: 0;
}

.skills__languages,
.skills__education {
  margin-top: 3rem;
}

.language-item {
  margin-bottom: 1.5rem;
}

.language-name {
  display: block;
  color: #FFFFFF;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.language-bar {
  width: 100%;
  height: 8px;
  background: rgba(31, 31, 58, 0.5);
  border-radius: 4px;
  overflow: hidden;
}

.language-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--first-color) 0%, var(--accent-purple) 50%, var(--bright-purple) 100%);
  border-radius: 4px;
  transition: width 0.3s;
  box-shadow: 0 2px 8px rgba(157, 78, 221, 0.5);
}

.education-item {
  background: rgba(31, 31, 58, 0.5);
  border: 1px solid rgba(157, 78, 221, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.education-institution {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.education-degree {
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.education-year {
  color: var(--first-color);
  font-size: 0.875rem;
  font-weight: 600;
}

/*===== CONTACT SECTION =====*/
.contact {
  background: rgba(26, 26, 46, 0.3);
  padding-bottom: 6rem;
}

.contact__content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

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

.contact__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-light);
}

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

.contact__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.contact__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(157, 78, 221, 0.1);
  border: 1px solid rgba(157, 78, 221, 0.2);
  border-radius: 8px;
  color: var(--first-color);
  transition: all 0.3s;
}

.contact__social-link:hover {
  background: rgba(157, 78, 221, 0.2);
  transform: translateY(-2px);
}

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

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

.contact__label {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.875rem;
}

.contact__input,
.contact__textarea {
  background: rgba(31, 31, 58, 0.5);
  border: 1px solid rgba(157, 78, 221, 0.2);
  border-radius: 8px;
  padding: 1rem;
  color: #FFFFFF;
  font-family: var(--body-font);
  font-size: 1rem;
  transition: all 0.3s;
}

.contact__input:focus,
.contact__textarea:focus {
  outline: none;
  border-color: var(--first-color);
  box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.1);
}

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

.contact__button {
  background: var(--first-color);
  color: #FFFFFF;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  width: fit-content;
}

.contact__button:hover {
  background: var(--accent-purple);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(157, 78, 221, 0.4);
}

/*===== BOTTOM NAVIGATION =====*/
.bottom-nav {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 800px;
  background: linear-gradient(135deg, rgba(31, 31, 58, 0.85) 0%, rgba(26, 26, 46, 0.95) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(157, 78, 221, 0.5);
  border-top: 2px solid rgba(157, 78, 221, 0.6);
  border-radius: 20px;
  padding: 0.75rem 1rem;
  z-index: var(--z-bottom-nav);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 
              0 -2px 10px rgba(157, 78, 221, 0.2) inset;
  gap: 0.5rem;
}

.bottom-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(157, 78, 221, 0.8), 
    rgba(199, 125, 255, 0.9),
    rgba(157, 78, 221, 0.8), 
    transparent
  );
  border-radius: 20px 20px 0 0;
  pointer-events: none;
}

.bottom-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  flex: 1;
  min-width: 0;
  position: relative;
}

.bottom-nav__link i {
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.bottom-nav__link span {
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
}

.bottom-nav__link:hover {
  color: rgba(255, 255, 255, 1);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.bottom-nav__link.active {
  color: var(--first-color);
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.25) 0%, rgba(199, 125, 255, 0.2) 100%);
  box-shadow: 0 2px 8px rgba(157, 78, 221, 0.5);
  border: 1px solid rgba(157, 78, 221, 0.4);
}

.bottom-nav__link.active i {
  transform: scale(1.1);
}

/*===== FOOTER =====*/
.footer {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem 0;
  border-top: 1px solid rgba(157, 78, 221, 0.1);
  margin-top: 2rem;
}

.footer__container {
  text-align: center;
}

.footer__copy {
  color: var(--text-light);
  font-size: 0.875rem;
}

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

/* Large Desktop (1400px+) */
@media screen and (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }

  .home__content {
    gap: 6rem;
  }

  .home__img-wrapper {
    max-width: 600px;
  }
}

/* Desktop (1024px - 1399px) */
@media screen and (min-width: 1024px) and (max-width: 1399px) {
  .container {
    max-width: 1200px;
  }
}

/* Tablet (768px - 1023px) */
@media screen and (max-width: 1023px) {
  .container {
    padding: 0 1.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section__title {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }

  .home {
    padding: 2rem 0 3rem;
    min-height: auto;
  }

  .home__content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 1rem;
  }

  .home__intro {
    gap: 1rem;
    text-align: center;
  }

  .home__image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .home__img-wrapper {
    max-width: 100%;
  }

  .home__title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    text-align: center;
  }

  .home__description {
    font-size: 1.125rem;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .home__services {
    justify-content: center;
  }

  .header {
    top: 0.75rem;
    width: calc(100% - 1.5rem);
    padding: 0.625rem 0.75rem;
    border-radius: 18px;
  }

  .header__container {
    padding: 0;
  }

  .open-to-work {
    font-size: 0.8rem;
    padding: 0.45rem 0.875rem;
    gap: 0.4rem;
  }

  .status-dot {
    width: 7px;
    height: 7px;
  }

  .download-cv-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
  }

  .bottom-nav {
    bottom: 0.75rem;
    width: calc(100% - 1.5rem);
    padding: 0.625rem 0.75rem;
    border-radius: 18px;
    gap: 0.25rem;
  }

  .bottom-nav__link {
    padding: 0.5rem 0.5rem;
    gap: 0.2rem;
  }

  .bottom-nav__link i {
    font-size: 1.2rem;
  }

  .bottom-nav__link span {
    font-size: 0.65rem;
  }

  .contact__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .works__grid,
  .services__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

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

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

/* Mobile (576px - 767px) */
@media screen and (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section__title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .section__subtitle {
    font-size: 1rem;
  }

  .home {
    padding: 6rem 0 3rem;
  }

  .home__title {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.2;
  }

  .home__description {
    font-size: 1rem;
  }

  .home__services {
    gap: 0.75rem;
  }

  .home__service-tag {
    padding: 0.4rem 0.875rem;
    font-size: 0.8rem;
  }

  .home__image {
    max-width: 300px;
  }

  .home__img-wrapper {
    max-width: 100%;
  }

  .gradient-bg {
    width: 150%;
    height: 150%;
    filter: blur(60px);
  }


  .works__grid,
  .services__grid,
  .skills__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .experience__item,
  .work__item,
  .service__item,
  .skill__item {
    padding: 1.5rem;
  }

  .contact__form {
    gap: 1.25rem;
  }

  .contact__input,
  .contact__textarea {
    padding: 0.875rem;
  }
}

/* Small Mobile (320px - 575px) */
@media screen and (max-width: 575px) {
  .container {
    padding: 0 0.75rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section__title {
    font-size: 1.75rem;
  }

  .section__subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }

  .home {
    padding: 1.5rem 0 2rem;
  }

  .home__content {
    gap: 2rem;
    margin-top: 0.5rem;
  }

  .home__intro {
    gap: 1rem;
    text-align: center;
  }

  .home__label {
    padding: 0.4rem 0.875rem;
    font-size: 0.75rem;
  }

  .home__title {
    font-size: 2rem;
  }

  .home__description {
    font-size: 0.9rem;
  }

  .home__services {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .home__service-tag {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
  }

  .home__image {
    max-width: 250px;
  }

  .gradient-bg {
    width: 180%;
    height: 180%;
    filter: blur(50px);
  }

  .header {
    top: 0.5rem;
    width: calc(100% - 1rem);
    padding: 0.5rem 0.375rem;
    border-radius: 14px;
  }

  .header__container {
    padding: 0;
  }

  .open-to-work {
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
    gap: 0.3rem;
  }

  .open-to-work span:last-child {
    display: none;
  }

  .status-dot {
    width: 6px;
    height: 6px;
  }

  .download-cv-btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.7rem;
  }

  .bottom-nav {
    bottom: 0.5rem;
    width: calc(100% - 1rem);
    padding: 0.5rem 0.375rem;
    border-radius: 14px;
    gap: 0.1rem;
  }

  .bottom-nav__link {
    padding: 0.375rem 0.2rem;
    gap: 0.1rem;
  }

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

  .bottom-nav__link span {
    font-size: 0.55rem;
    display: none;
  }

  /* Show text on slightly larger screens */
  @media screen and (min-width: 360px) {
    .bottom-nav__link span {
      display: block;
    }
  }

  .experience__item,
  .work__item,
  .service__item,
  .skill__item {
    padding: 1.25rem;
  }

  .experience__title,
  .work__title,
  .service__title {
    font-size: 1.25rem;
  }

  .skill__icon {
    font-size: 2.5rem;
  }

  .skill__name {
    font-size: 1.125rem;
  }

  .skill__description {
    font-size: 0.8rem;
  }

  .subsection-title {
    font-size: 1.25rem;
    margin-top: 2rem;
  }

  .contact__content {
    gap: 1.5rem;
  }

  .contact__item {
    font-size: 0.9rem;
  }

  .contact__icon {
    font-size: 1.25rem;
  }

  .contact__social-link {
    width: 36px;
    height: 36px;
    font-size: 1.125rem;
  }

  .contact__button {
    width: 100%;
    padding: 0.875rem 1.5rem;
  }
}

/* Extra Small Mobile (320px and below) */
@media screen and (max-width: 320px) {
  .home__title {
    font-size: 1.75rem;
  }

  .home__image {
    max-width: 200px;
  }

  .section__title {
    font-size: 1.5rem;
  }
}
