@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.about {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 3rem;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
  align-items: start;
    opacity: 0;
  animation: fadeIn 2s forwards; 
  animation-delay: 0.5s;
}
.about h1 {
  font-size: 2rem;
  font-weight: 500;
  color: #1a2a6c;
  margin-bottom: 1rem;
}
.about p {
  margin-bottom: 1.2rem;
  font-weight: 300;
  font-size: 1rem;
}
.about-photo img {
  margin-left: 6rem;
  width: auto;
  height: 530px;
  object-fit: cover;
    opacity: 0;
  animation: fadeIn 2s forwards; 
  animation-delay: 0.5s;
}
.buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  opacity: 0;
  animation: fadeIn 2s forwards; 
  animation-delay: 0.5s;
}
.btn {
   --btn-bg: #1a2a6c;         
  --btn-bg-hover:#1d4695;
  --btn-shadow: 0 10px 22px rgba(23,58,122,.25);
   display:inline-flex;
  align-items:center;
  justify-content:center;

  min-width: 200px;           
  height: 40px;             
  padding: 0 28px;
  border-radius: 12px;

  background: var(--btn-bg);
  color:#fff;
  text-decoration:none;
  font-weight:400;
  font-size: 18px;
  line-height:1;            
  letter-spacing:.2px;

  box-shadow: var(--btn-shadow);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;      
  user-select: none;
    opacity: 0;
  animation: fadeIn 2s forwards; 
  animation-delay: 0.5s;
}
.btn:hover{
  background: var(--btn-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(23,58,122,.28);
}

.btn:active{
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(23,58,122,.22);
}


.btn:focus-visible{
  outline: 3px solid #ca4e44;   
  outline-offset: 3px;
}

.btn--ghost{
  --btn-bg: #ffffff;
  --btn-bg-hover:#f3f5f8;
  color:#173a7a;
  border: 2px solid #dfe5ef;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}
.video-container {
  position: relative;
  padding-bottom: 56.25%; 
  height: 0;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  margin: 20px 0;
   opacity: 0;
  animation: fadeIn 2s forwards; 
  animation-delay: 0.5s;
}

.video-container video,
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.skills {
  background: #f9f9f9;
  padding: 3rem 2rem;
  text-align: center;
    opacity: 0;
  animation: fadeIn 2s forwards; 
  animation-delay: 0.5s;
}
.skills h2 {
  font-size: 1.8rem;
  font-weight: 500;
  color: #1a2a6c;
  margin-bottom: 2rem;
}
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.skill {
  width: 144px;
  height: 144px;
  background: #1a2a6c;
  color: white;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}
.skill img {
  width: 48px;
  margin-bottom: 0.5rem;
}
.skill:hover {
  transform: scale(1.05);
}

.reference-section a {
  text-decoration: none !important;
  color: inherit !important;
}

.reference-section {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 40px 0;
}

.reference-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #1a2a6c;
  color: white;
  padding: 20px 30px;
  border-radius: 10px;
  min-width: 320px;
  max-width: 420px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.reference-wrapper {
  text-align: center;
  padding: 40px 0;
}

.reference-title {
  font-size: 1.8rem;
  font-weight: 500;
  color: #1a2a6c;
  margin-bottom: 2rem;
}

.reference-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background-color: #1a2a6c;
  margin: 10px auto 0;
  border-radius: 2px;
}

.reference-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.reference-logo {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.reference-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reference-text {
  display: flex;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
}

.reference-text strong {
  font-size: 1rem;
  font-weight: 600;
}

.reference-text span {
  font-size: 0.9rem;
  opacity: 0.9;
}

@media (max-width: 1030px) {
  .about {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .about-photo img {
    width: 100%;
    height: auto;
    margin-left: auto;
  }
  .buttons {
    flex-wrap: wrap;
  }
   .reference-title { font-size: 19px; }
  .reference-card {
    padding: 8px;
    border-radius: 10px;
  }
  .reference-logo { flex-basis: 55px; height: 35px; }
  .reference-text .title { font-size: 12px; }
  .reference-text .subtitle { font-size: 10px; }
}


