
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}


.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  background: white;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;         
  background: #fff; 
}

.nav a {
  margin-right: 1.5rem;
  text-decoration: none;
  font-weight: 500;
  color: #1609c2;
}
.nav a:hover {
  color: #3b4c9b;
}
.nav a:visited {
  color: #3b4c9b;
}

.socials a {
  margin-left: 1rem;
}

.hero {
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 2rem;
  text-align: left;  
  opacity: 0;
  animation: fadeIn 2s forwards; 
  animation-delay: 0.5s;

}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 500;
  color: #1a2a6c;
}
.hero p {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 300;
  max-width: 700px;  
}

.portfolio {
  padding: 3rem 2rem;
  background: #f9f9f9;
}
.portfolio h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: #1a2a6c;
  text-align: center;
  opacity: 0;
  animation: fadeIn 2s forwards; 
  animation-delay: 0.5s;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.card:hover {
  transform: scale(1.03);
}
.thumb {
  background: #ddd;
  height: 200px;  
}
.card p {
  padding: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.card a {
  text-decoration: none;   
  color: #1a2a6c;
}
.card img {
  max-height: 200px;
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.footer {
  background-color: #1a3d7c; 
  padding: 30px 20px;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; 
  flex-wrap: wrap; 
}

.footer-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover; 
}

.footer-text {
  text-align: left;
}

.footer-text h3 {
  color: #fff;
  font-size: 1.4rem;
  margin: 0 0 5px;
}

.footer-text a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

.footer-text a:hover {
  text-decoration: underline;
}

.footer-text span {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-top: 5px;
}

.card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.card.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-text {
    text-align: center;
  }
}
@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-text {
    text-align: center;
  }
}