
.body {
  background: linear-gradient(to bottom, #7db3ff, #0029ff, #0044ff, #256dff, #7db3ff);
  color: white;
  font-family: Arial, sans-serif;
  margin: 0;
  line-height: 1.6;
}

.angel, .projects, .skills, .contact, .footer {
  padding: 4rem 10%;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  border: 2px solid white;
  display: inline-block;
  padding: 0.5rem 2rem;
  border-radius: 6px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: bold;
}


.angel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.angel-text {
  flex: 1 1 45%;
  text-align: left;
  
}

.angel-h1 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.angel-h3 {
  font-size: 1.9rem;
  margin-bottom: 0.3rem;
  font-weight: normal;
}

.angel-h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-style: italic;
  font-weight: normal;
}

.about-h2 {
  margin: 1.5rem 0;
  font-size: 1.5rem;
}

.about-p {
  font-size: 1.2rem;
  max-width: 550px;
  line-height: 1.6;
}


.angel-contact {
  margin-top: 2.5rem;
  text-align: left;
  max-width: 550px; 
}


.angel-contact h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.resume {
  display: inline-block;
  margin-top: 0;
}


.angel-img {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}

.img-card {
  background: linear-gradient(to bottom, #7db3ffea, #072ef1d6);
  border-radius: 12px;
  padding: 1rem;
  max-width: 800px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-card .img {
  width: 100%;
  border-radius: 12px;
  display: block;
}


.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
}

.project-card {
  max-width: 300px;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.project-card:hover .project-img {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.project-h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.project-subtitle {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #f0f0f0;
}

.project-p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e5e5e5;
}

.project-img {
  max-width: 120px;
  margin: 1rem auto;
  display: block;
}


.project-img {
  width: 100%;
  max-width: 160px; 
  height: 120px;
  margin: 1rem auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.overdrive-logo {
  transform: scale(1.15); 
}
.project-card:hover .overdrive-logo {
  transform: scale(1.25); /* Slightly larger than its base 1.15 scale */
}


.skills {
  padding: 4rem 10%;
  text-align: center;
  margin-bottom: 6rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); 
  gap: 2.5rem;
  justify-items: center;
 max-width: 1000px; 
  margin: 0 auto;
}

.skill-card {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  width: 110px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.skill-card {
  perspective: 1000px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
}

.skill-card.is-flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  padding: 10px;
  box-sizing: border-box;
}

.card-front {
  color: black;
}

.card-back {
  background-color: #d4ebff;
  color: #0029ff;
  transform: rotateY(180deg);
}

.skill-desc {
  font-size: 0.75rem;
  font-weight: bold;
  line-height: 1.2;
}

.skill-card.active:hover {
  transform: translateY(-7px);
  background-color: #d4ebff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.skill-img {
  width: 55px;
  height: 55px;
  margin-bottom: 0.5rem;
  object-fit: contain;
}

.skill-p {
  color: black;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
}


.contact-icons {
  display: flex;
  justify-content: flex-start; 
  align-items: center; 
  gap: 1rem;
  margin-top: 1rem;
}

.contact-icon {
  width: 35px; 
  background: white;
  border-radius: 8px;
  padding: 0.4rem;
  transition: background 0.3s ease, transform 0.3s ease;
  display: block;
}

.resume {
  display: inline-block;
  margin-top: 0;
  padding: 0.5rem 1rem;
  border: 2px solid white;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: 0.3s;
  
}

.resume:hover {
  background: white;
  color: #0029ff;
}
.contact-icons a:hover {
  background-color: #57a5ff;
  transform: scale(1.1);
}

.contact-icon:hover {
  background: #57a5ff;
}
.contact-icons a {
  display: inline-block;
  border-radius: 12px;
  transition: 0.3s;
}


.footer {
  background: black;
  text-align: center;
  padding: 1rem;
}

.footer-a {
  color: rgba(243, 243, 243, 0.9);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-a:hover {
  color: #ffffff;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


.skill-card.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}


.skill-card.reveal.active {
  opacity: 1;
}


@media screen and (max-width: 768px) {
  

  .angel {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .angel-text {
    display: contents; 
  }

  .angel-intro {
    order: 1;
  }

  .angel-img {
    order: 2;
    margin: 0 auto;
  }

  .about-me {
    order: 3;
  }

  .angel-text .angel-h1 { 
  font-size: 2rem;
  }
  .angel-text .angel-h3 { 
  font-size: 1rem; 
  }
  .angel-text .about-p { 
    font-size: 0.9rem; 
    line-height: 1.4;
    margin: 0 auto;
    max-width: 90%;
  }


  .img-card {
    max-width: 300px;
  }

  
  .project-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-card {
    max-width: 100%;
    padding: 1rem;
  }

  .project-card .project-h3 {
    font-size: 1.1rem;
  }

  .project-card .project-p {
    font-size: 0.85rem;
  }

  
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 300px;
  }

  .skill-card {
    width: 90px;
    height: 100px;
  }

  .skill-img {
    width: 40px;
    height: 40px;
  }

  .skill-card .skill-p {
    font-size: 0.7rem;
  }

  .angel-contact {
    order: 4;
    margin: 1.5rem auto 0 auto;
    text-align: center;
  }
  .angel-contact .contact-icons {
    justify-content: center;
  }

  
  .contact {
    padding: 2rem 5%;
  }

  .contact-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }

  .contact-icon {
    width: 35px;
    padding: 0.4rem;
  }

  .resume {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}
