/* Typography */
html {
  font-size: 62.5%;
  /* pour que 1rem soit egale a 10px */
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-primary);
  height: 100vh;
  font-size: 1.6rem;
  line-height: 1.6;
  margin: 0;
  background-color: var(--bg-dark);
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  overflow-x: hidden;
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

h1,
h2,
h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

h1 {
  font-size: 7rem;
}
h2 {
  font-size: 3.6rem;
}
h3 {
  font-size: 3rem;
}
p {
  margin-top: 0;
}
textarea {
  resize: none;
}
:root {
  --bg-dark: #020617;
  --bg-card: #0f172a;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --accent-primary: #38bdf8; /* Sky 400 */
  --accent-secondary: #818cf8; /* Indigo 400 */
  --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  --border-color: rgba(255, 255, 255, 0.1);
  --glow-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
  
  /* Legacy mapping for compatibility */
  --dark-blue: var(--text-primary);
  --oxford-blue: var(--bg-card);
  --bdazzled-blue: var(--accent-primary);
  --blue: var(--accent-secondary);
  --platinum: var(--text-secondary);
  --white: #ffffff;
  --color-red: #ef4444;
  --bg-color: var(--bg-dark);
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --card-shadow-hover: 0 0 15px rgba(56, 189, 248, 0.3), 0 0 5px rgba(129, 140, 248, 0.3);
}



@media screen and (min-width: 1024px) {
  body {
    font-size: 1.8rem;
  }

  h1 {
    font-size: 8rem;
  }
  h2 {
    font-size: 4rem;
  }
  h3 {
    font-size: 2rem;
  }
  h4 {
    font-size: 1.4rem;
  }
}
.container {
  max-width: 1140px;
  margin: 0 auto;
}
.container-2 {
  padding: 0 2rem;
}
li {
  list-style: none;
}
/* Links */
a {
  text-decoration: none;
}

.link {
  font-family: "Open Sans";
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 400;
}
.link--dark {
  color: var(--dark-blue);
}
.link--white {
  color: var(--white);
}

@media screen and (min-width: 1024px) {
  .link {
    font-size: 1.5rem;
  }
}
/* images */
img {
  pointer-events: none;
}

/*icons */

.icon {
  width: 30px;
  height: 30px;
}

.icon__arrow {
  width: 60px;
  height: 60px;
}

.icon--dark {
  fill: var(--dark-blue);
}
.icon--white {
  fill: var(--white);
}
/*Buttons*/

.button {
  border-radius: 8px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 500;
  margin: 1rem 0;
  outline: 0;
  padding: 1.5rem 3rem;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-block;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.button::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: 0.5s;
}

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

.button--primary {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.5);
  color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
}

.button--primary:hover {
  background: rgba(56, 189, 248, 0.2);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

.button--red {
  background-color: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}
.button--red:hover {
  background-color: rgba(239, 68, 68, 0.2);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
  transform: translateY(-2px);
}

.button--outline {
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  background-color: transparent;
}

.button--outline:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.button--block {
  width: 100%;
  display: block;
}
@media screen and (min-width: 1024px) {
  .button {
    font-size: 1.5rem;
  }
}

/* inputs */

.input {
  border: 0;
  width: 100%;
  color: var(--text-primary);
  font-size: 1.6rem;
  outline: 0;
  background-color: transparent;
  padding: 1.5rem 1rem;
  transition: background-color 0.3s;
}
.input-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s;
  margin-bottom: 4rem;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 8px 8px 0 0;
  padding: 0 1.5rem;
}
.icon {
  transition: fill 0.3s;
}
.input-group:focus-within {
  border-bottom: 1px solid var(--accent-primary);
  background-color: rgba(56, 189, 248, 0.05);
  box-shadow: 0 4px 20px -5px rgba(56, 189, 248, 0.1);
}
.input-group:focus-within .icon {
  fill: var(--accent-primary);
}
::placeholder {
  color: var(--text-secondary);
}

.input-group .icon {
  height: 20px;
  fill: var(--text-secondary);
}

@media screen and (min-width: 1024px) {
  .input {
    font-size: 1.6rem;
  }
}
/* testimonial */
.article-container {
  max-width: 500px;
  margin: 0 auto;
}
.text-block {
  font-size: 2.5rem;
  font-family: "Open Sans";
  line-height: 1.5;
  text-align: center;
}

@media screen and (min-width: 1024px) {
  .text-block {
    font-size: 2rem;
    text-align: left;
  }
}
/*cards*/

.card {
  width: 300px;
  height: 450px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  font-family: "Inter", sans-serif;
  margin: 0 auto;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  position: relative;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--accent-primary);
}

.card-top {
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  width: 100%;
  height: 88%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.card-top::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(2, 6, 23, 0.8) 100%);
  z-index: 1;
}

.card-top > * {
  z-index: 2;
}

.card-name {
  text-align: center;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: 1px;
}
.card-description {
  text-align: center;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  color: var(--accent-primary);
  margin-top: 1rem;
}
.card__photo {
  border-radius: 50%;
  border: 2px solid var(--accent-primary);
  height: 150px;
  margin: 0 1.5rem;
  transition: transform 0.3s;
  width: 150px;
  object-fit: cover;
  object-position: 100% 20%;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}
.card-bottom {
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(5px);
  width: 100%;
  height: 12%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid var(--border-color);
}
.card-icons {
  display: flex;
  justify-content: space-around;
  width: 200px;
}
.card-header {
  display: flex;
  flex-direction: column;
}
.card-resume {
  margin-bottom: 5rem;
  font-family: "Inter", sans-serif;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  width: 100%;
  height: fit-content;
  box-shadow: none;
  padding: 3rem;
  display: grid;
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.card-resume:hover {
  transform: translateY(-5px);
  border-color: var(--accent-secondary);
  box-shadow: 0 0 30px rgba(129, 140, 248, 0.1);
  background-color: rgba(15, 23, 42, 0.8);
}
.card__heading {
  font-weight: 700;
  color: var(--accent-primary);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.card__subHeading {
  font-weight: 600;
  font-size: 1.6rem;
  align-self: start;
  margin: 0;
  color: var(--text-primary);
}

.card__company,
.card__location {
  font-weight: 300;
  font-size: 1.4rem;
  margin: 0.6rem 0;
  color: var(--text-secondary);
}
.card-resume__description {
  margin-bottom: 3rem;
}
.grid {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  row-gap: 3rem;
}

@media screen and (min-width: 1024px) {
  .card {
    height: 550px;
    width: 400px;
  }
  .card__photo {
    width: 200px;
    height: 200px;
  }
}

@media screen and (min-width: 768px) {
  .grid {
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr;
    column-gap: 5rem;
  }
  .card-resume__description {
    margin-top: 5rem;
  }
  .card-resume {
    width: 100%;
  }
}
/*form*/
.form {
  padding: 5rem 3rem;
}
.submit-form {
  display: grid;
  align-self: center;
  justify-self: center;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  text-align: center;
  max-width: 1000px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  margin: 5rem 1rem;
  border-radius: 24px;
}
.form__image {
  background-color: #020617;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form__image::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  filter: blur(40px);
  animation: blob-bounce 10s infinite ease-in-out alternate;
  opacity: 0.5;
  z-index: 0;
  top: -50px;
  left: -50px;
}

.form__image::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #818cf8, #c084fc);
  border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  filter: blur(40px);
  animation: blob-bounce 12s infinite ease-in-out alternate-reverse;
  opacity: 0.5;
  z-index: 0;
  bottom: -50px;
  right: -50px;
}

@keyframes blob-bounce {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  33% {
    transform: translate(30px, -50px) rotate(120deg) scale(1.1);
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg) scale(0.9);
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  }
  100% {
    transform: translate(0, 0) rotate(360deg) scale(1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

.form__image img {
  display: none;
}
.form-image__heading {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 4rem;
  background: linear-gradient(to right, #fff, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.5));
}
.form__heading {
  color: var(--accent-primary);
  margin-bottom: 3rem;
  text-align: center;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.form__message {
  padding: 0;
  display: flex;
  align-items: flex-start;
}

.form__message .icon {
  margin: 1.5rem 1.8rem;
  margin-right: 0.2rem;
}
.input-group textarea {
  padding-top: 1rem;
  font-family: "Poppins";
}

.grid-2 {
  grid-template-rows: 1fr;

  row-gap: 3rem;
}

@media screen and (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    column-gap: 3rem;
  }
  .container-2 {
    max-width: 1000px;
    margin: 0 auto;
  }

  .form {
    padding: 10rem 4rem;
  }

  .form__heading {
    text-align: left;
  }
  .form__image {
    height: 100%;
  }
}

/*hero*/

.hero {
  height: 100vh;
  position: relative;
  background-color: var(--bg-dark);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background: 
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 0% 0%, rgba(129, 140, 248, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(244, 114, 182, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(251, 191, 36, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(192, 132, 252, 0.3) 0%, transparent 50%);
  filter: blur(60px);
  animation: hero-gradient-animation 6s ease-in-out infinite alternate;
  z-index: 0;
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: linear-gradient(to bottom, transparent, var(--bg-dark));
  z-index: 0;
  pointer-events: none;
}

@keyframes hero-gradient-animation {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate(-5%, 5%) rotate(5deg) scale(1.1);
  }
  100% {
    transform: translate(5%, -5%) rotate(-5deg) scale(0.9);
  }
}

.page-intro {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro-nav {
  display: none;
}
.intro__name {
  margin: 0;
  font-family: "Allura";
  font-size: 4rem;
  /* margin-bottom: 4rem; */
  color: var(--accent-primary);
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
  font-weight: 300;
  animation: fadeIn 5s;
}

.intro__text {
  margin: 0;
  animation: fadeIn 5s;
  color: var(--text-secondary);
  letter-spacing: 2px;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.intro {
  display: flex;
  flex-direction: column;
  text-align: center;
  color: var(--text-primary);
  font-weight: 300;
  justify-content: center;
  gap: 1rem;
  max-width: 800px;
  max-height: 800px;
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  left: 0;
  right: 0;
  height: auto;
  top: 50%;
  transform: translateY(-50%);
  padding: 2rem;
}

.social-link:hover {
  color: var(--accent-primary) !important;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.intro .icon {
  width: 70px;
  height: 70px;
  fill: var(--text-primary);
  transition: transform 0.3s;
}
.intro .icon:hover {
  animation-name: none;
  transform: none;
  fill: var(--accent-primary);
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5));
}

@keyframes bounce {
  0% {
    top: 0;
  }
  50% {
    top: 10px;
  }
  100% {
    top: 0;
  }
}

.intro .icon {
  animation-name: none;
  position: relative;
}

.side-menu {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  height: 150px;
  width: auto;
  padding: 1rem;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(5px);
  border: 1px solid var(--border-color);
  border-radius: 0 10px 10px 0;
  position: absolute;
  z-index: 10;
  top: 5rem;
}
.side-menu .icon {
  transition: all 0.3s;
  fill: var(--text-secondary);
}
.side-menu .icon:hover {
  transform: scale(1.3);
  fill: var(--accent-primary);
  filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.5));
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #020211;
  background-repeat: no-repeat;
  background-size: 20%;
  background-position: 50% 50%;
}

@media screen and (min-width: 768px) {
  .intro {
    font-size: 2rem;
  }
  .intro__name {
    font-size: 7rem;
  }
  .side-menu {
    top: 20rem;
  }
  .intro-nav {
    position: absolute;
    right: 5rem;
    margin-top: 2rem;
    justify-self: center;
    display: inline;
  }
  .intro-nav a {
    color: #cdcbd7;
    transition: color 0.15s;
  }

  .nav__list2 .list__item a:hover {
    color: #fff;
  }
  .nav__list2 {
    width: 300px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: auto 0;
  }
}

/* Navigation Bar */
.nav {
  background: linear-gradient(270deg, rgba(2, 6, 23, 0.9), rgba(56, 189, 248, 0.2), rgba(129, 140, 248, 0.2), rgba(192, 132, 252, 0.2), rgba(2, 6, 23, 0.9));
  background-size: 300% 300%;
  animation: gradientMove 8s ease infinite;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin: 2rem auto;
  position: fixed;
  width: 90%;
  max-width: 1200px;
  left: 0;
  right: 0;
  z-index: 999;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 1rem 3rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.nav:hover {
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
}
.nav__button {
  margin-right: 2rem;
  opacity: 0.5;
  transition: opacity 0.15s, box-shadow 0.15s;
}

.nav__button:hover {
  opacity: 1;
}

.nav a {
  color: #bdc0c1;
  transition: color 0.15s;
}

.nav__list {
  width: 100%;
  margin: 0 0.5rem;
  padding: 0;
}

.nav__list .list__item {
  border-bottom: 1px solid #222;
  padding: 0.5rem 2rem;
  text-align: center;
}
.nav__list .list__item a:hover {
  color: #fff;
}
.collapsible--checked .nav__button {
  opacity: 1;
  box-shadow: 0 0 0 3px #666;
  border-radius: 3px;
}
.nav__logo {
  width: 100px;
  transform: translateY(5px);
}

@media screen and (min-width: 768px) {
  .nav__button {
    display: none;
  }

  .nav__list {
    width: auto;
    display: flex;
    flex-direction: row;
    max-height: 100%;
    opacity: 1;
  }
  .list__item {
    border: none;
  }
  .nav__list .list__item {
    border-bottom: none;
  }
}
/*self introduction section*/
.intro-text .block__content b {
  color: #2670bd;
}

.text-block .block__buttons {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}
.intro-text .button {
  width: 100%;
}
.article-container {
  padding: 2rem;
}
.block__self-introduction {
  width: 100%;
  justify-content: center;
  margin-top: 5rem;
}
@media screen and (min-width: 1024px) {
  .text-block .block__buttons {
    flex-direction: row;
  }
  .block__self-introduction {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100vh;
    /* background: url(../images/wave.svg); */
    background-repeat: no-repeat;
    /* margin-bottom: 10rem; */
  }
  .card {
    margin-right: 0;
  }
}

.block__social {
  font-weight: 500;
}

/* projects section */
.swiper {
  width: 100%;
  /* min-height: 700px; */
}
.swiper-wrapper {
  height: 100%;
}
.swiper-slide {
  display: grid !important;
}
.swiper-pagination-bullet {
  background-color: var(--white) !important;
  opacity: 0.5;
}
.swiper-pagination-bullet-active {
  background-color: var(--accent-primary) !important;
  opacity: 1;
}
.project {
  /* border-bottom: 1px solid darkgray; */

  padding: 3rem 5rem;
  padding-bottom: 5rem;
  width: 100%;
}
.project .block__buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.project .text-block {
  justify-self: center;
  align-self: center;
}
.grid-1x2 {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(auto-fit, minmax(100px, 1fr));
}
.project__image {
  justify-self: center;
  align-self: center;
  pointer-events: none;
}
.project__image img {
  max-width: 100%;
}

.phone img {
  max-height: 300px;
}

.website-performances {
  width: 100%;
  margin: 2rem 0;
}
.projects-block .button {
  margin: 1rem 1rem;
  margin-left: 0;
  margin-right: 0;
}
.projects__header {
  text-align: center;
}
@media screen and (min-width: 1024px) {
  .grid-1x2 {
    grid-template-rows: 1fr;
    grid-template-columns: repeat(2, 1fr);
  }
  .project__image {
    align-self: center;
  }
  .projects-block .button {
    margin: 1rem 2rem;
    margin-left: 0;
    margin-right: 0;
  }
  .phone img {
    max-height: 500px;
  }
  /* .project:nth-of-type(even) .project__image {
    order: 2;
  } */
}
/*resume section*/
.resume {
  padding: 2rem;
  margin: 0 auto;
  margin-bottom: 10rem;
}

.resume__header h3 {
  font-size: 2rem;
  margin: 0;
  height: 4rem;
}
.resume__heading {
  color: #0050ff;
}

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

/* .container-2 {
  max-width: 560px;
} */

@media screen and (min-width: 1024px) {
  .resume__header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .resume {
    padding: 0;
  }

  .container-2 {
    padding: 0 0;
  }
}

/* Collapsibles */
.collapsible {
  margin-bottom: 1rem;
}
.collapsible__header {
  display: flex;
  justify-content: space-between;
}
.collapsible__content {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s;
}
.collapsible__icon {
  transform: rotate(-90deg);
  transition: transform 0.3s;
}
.collapsible__heading {
  font-size: 2.4rem;
  margin: 0;
  font-weight: 600;
}

.collapsible--checked .collapsible__content {
  max-height: 100vh;
  opacity: 1;
}
.collapsible--checked .collapsible__icon {
  transform: rotate(0);
}
@media screen and (min-width: 768px) {
  .collapsible__content {
    flex-direction: row;
    opacity: 1;
    max-height: 100%;
  }
}
/*footer*/
.footer__sections {
  margin-top: 5rem;
  display: grid;
}
.website-footer {
  padding: 4rem 2rem;
  background-color: #020617;
  border-top: 1px solid var(--border-color);
}

.website-footer .collapsible__heading,
.website-footer .collapsible__icon {
  text-transform: uppercase;
  color: var(--text-primary);
  fill: var(--text-primary);
}

.website-footer .collapsible__content,
.website-footer .footer__link {
  color: var(--text-secondary);
}
.footer__brand {
  margin-top: 5rem;
  text-align: center;
}
.footer__brand img {
  max-width: 250px;
  width: 100%;
  opacity: 0.8;
  transition: opacity 0.3s;
  filter: brightness(0) invert(1); /* Make logo white */
}
.footer__brand img:hover {
  opacity: 1;
}
.footer__brand p {
  color: var(--text-secondary);
}
.footer__item {
  border-bottom: 1px solid var(--border-color);
  padding: 3rem;
}
.footer__links {
  padding-left: 0;
  list-style: none;
}

.footer__link:hover {
  color: var(--accent-primary);
  transition: color 0.3s;
  padding-left: 5px;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}
.footer__content {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .footer__sections {
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  }
  .website-footer .collapsible__icon {
    display: none;
  }
  .website-footer .collapsible__content {
    opacity: 1;
    max-height: 100%;
  }
  .footer__item {
    order: 1;
    border-bottom: none;
  }
  .collapsible__heading {
    font-size: 1.6rem;
  }
}
/*skill card*/
.skill-card {
  width: 200px;
  height: 200px;
  margin-right: 1rem;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(5px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  display: inline-block;
  position: relative;
  justify-self: center;
  box-shadow: none;
  transition: all 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}
.splide__track--draggable {
  overflow: visible !important;
}
.overflow {
  padding: 1rem;
  width: auto;
}
.skill__image {
  height: 100%;
  width: 100%;
  object-fit: contain;
  padding: 3rem;
}
.arduino {
  width: 100%;
}
.skill__description {
  font-family: "Poppins";
  color: white;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 0px;
  height: 100%;
  width: 100%;
  transform: translateY(200px);
  transition: all 0.5s;
}

.skill__description h3 {
  margin: 0;
}
.skills-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 10rem;
}
.skill-card:hover .skill__description {
  transform: translateY(0);
}

.skill__description h3 {
  color: var(--white);
  margin: 0;
}
.skill-card:hover .skill__description {
  transform: translateY(0);
}
.skills__heading {
  text-align: center;
  margin-top: 5rem;
  margin-bottom: 4rem;
}
.skills-container {
  display: grid;
  row-gap: 4rem;
  column-gap: 4rem;
  max-width: 1000px;
}
@media screen and (min-width: 1024px) {
  .skills-container {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(auto-fit, minmax(100px, 1fr));
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .skills-container {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(auto-fit, minmax(100px, 1fr));
    max-width: 700px;
  }
}

@media screen and (min-width: 500px) and (max-width: 767px) {
  .skills-container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(auto-fit, minmax(100px, 1fr));
    max-width: 700px;
  }
}
@media screen and (min-width: 500px) {
  .skill__image {
    width: 100%;
  }
}

/* Meteor Button */
.meteor-button {
  position: relative;
  padding: 1.2rem 3rem;
  background: transparent;
  border: 1px solid var(--accent-primary);
  border-radius: 50px;
  color: var(--accent-primary);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.meteor-button:hover {
  background: rgba(56, 189, 248, 0.1);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

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

.meteors {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.meteor {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
  animation: meteor 2s linear infinite;
  opacity: 0;
}

.meteor::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent);
}

@keyframes meteor {
  0% {
    transform: rotate(215deg) translateX(0);
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: rotate(215deg) translateX(-500px);
    opacity: 0;
  }
}

/* Meteor Shower Effect on Body */
.meteor-shower {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.shower-meteor {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 2px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  opacity: 0;
  transform: rotate(-45deg);
  animation: shower 1s linear forwards;
}

@keyframes shower {
  0% {
    opacity: 0;
    transform: rotate(-45deg) translateX(0);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(-45deg) translateX(-1000px);
  }
}

.no-bounce {
  animation: none !important;
}

/* Performance optimizations for mobile */
@media screen and (max-width: 768px) {
  .nav, .button, .card-bottom, .card-resume {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  
  .nav {
    background: rgba(2, 6, 23, 0.98);
    animation: none; /* Disable gradient animation */
  }
  
  .card-resume, .card-bottom {
    background-color: rgba(15, 23, 42, 0.98);
  }
  
  .button {
    background: rgba(30, 41, 59, 0.9);
  }
}
