
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f4f6f8;
  scroll-behavior: smooth;
  text-align: center;
}


.top-header {
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 2rem;
}

.container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.6rem;
  color: #4A90E2;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social-icons a {
  font-size: 1.5rem;
  color: #333;
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-icons a:hover {
  transform: translateY(-2px) scale(1.05);
}

.social-icons a .fa-github:hover { color: #000; }
.social-icons a .fa-instagram:hover { color: #E4405F; }
.social-icons a .fa-twitter:hover { color: #1DA1F2; }
.social-icons a .fa-linkedin:hover { color: #0077B5; }


.hero {
  padding: 6rem 1rem 4rem;
  background: linear-gradient(135deg, #4A90E2 0%, #50E3C2 100%);
  color: #fff;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-in-out;
}

.hero.visible { opacity: 1; transform: translateY(0); }

.profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 5px solid #fff;
  object-fit: cover;
  margin-bottom: 1.5rem;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.profile-img.visible { transform: scale(1); opacity: 1; }

.motto, .hero p {
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.8s ease;
}

.motto.visible, .hero p.visible { opacity: 1; transform: translateY(0); }


.about {
  padding: 4rem 1rem;
  background-color: #ffffff;
}

.about h2 { font-size: 1.8rem; margin-bottom: 1.5rem; font-weight: 700; }

.about-text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-in-out;
}

.about-text.visible { opacity: 1; transform: translateY(0); }


.services { padding: 4rem 1rem; background-color: #f0f4f8; }
.services h2 { font-size: 1.8rem; margin-bottom: 2rem; }

.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }

.card {
  background-color: #f5f7fa; 
  border-radius: 12px;
  padding: 2rem;
  width: 250px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-in-out, transform 0.3s ease, box-shadow 0.3s ease;
}

.card.visible { opacity: 1; transform: translateY(0); }
.card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }

.card i { font-size: 3rem; color: #4A90E2; margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; font-weight: 600; }
.card p { font-size: 0.95rem; color: #555; }


.projects { padding: 4rem 1rem; background-color: #ffffff; }
.projects h2 { font-size: 1.8rem; margin-bottom: 2rem; }
.projects-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }

.project-card {
  background-color: #f2f5f9; 
  border-radius: 12px;
  padding: 1rem;
  width: 250px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.6s;
  opacity: 0;
  transform: translateY(20px);
}

.project-card.visible { opacity: 1; transform: translateY(0); }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }

.project-card img { width: 100%; border-radius: 8px; margin-bottom: 1rem; }
.project-card h3 { margin-bottom: 0.5rem; }

.btn-project {
  display: inline-block;
  text-decoration: none;
  background-color: #4A90E2;
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  transition: background-color 0.3s, transform 0.2s;
}
.btn-project:hover { background-color: #357ABD; transform: translateY(-2px); }


.footer {
  background: linear-gradient(135deg, #4A90E2, #50E3C2);
  color: #fff;
  padding: 3rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
}


.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}


.footer-socials {
  display: flex;
  justify-content: center; 
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.6rem;
  text-decoration: none;
  transition: all 0.3s ease;
}


.footer-socials a.github:hover { background-color: #000; }
.footer-socials a.instagram:hover { background-color: #E4405F; }
.footer-socials a.twitter:hover { background-color: #1DA1F2; }
.footer-socials a.linkedin:hover { background-color: #0077B5; }

.footer-socials a:hover {
  transform: scale(1.1) translateY(-2px);
}


.footer-contact p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

.footer-contact a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.3s;
}

.footer-contact a:hover { color: #d4f1f4; }


.footer-copy {
  margin-top: 2rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer-socials { justify-content: center; }
}




@media (max-width: 768px) {
  .cards, .projects-cards { flex-direction: column; align-items: center; }
  .container-header { flex-direction: column; gap: 0.5rem; }
  .social-icons { justify-content: center; }
  .logo { font-size: 1.5rem; }
}
