.text-3xl {
    text-align: center;
}
.line1{
    background-color: rgb(124, 84, 255);
    width: 100px;
    height: 3px;
}
.connect {
    display: flex;
    align-items: center;
}
.fa-download{
    margin-left: 5px;
}
.leet{
    color: orange;
}

@media (max-width: 940px) {
   .connect {
    flex-direction: column;
    margin-top: 50px;
    margin-bottom: 50px;
}
.line1{
    background-color: rgb(124, 84, 255);
    width: 3px;
    height: 100px;
}
.mt-10 {
    margin-top: 0rem;
}
.main-header {
    display: none!important;
  }
  
}

.my-cards {
    justify-content: space-between;
}
.py-1 {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}
.logo {
    background-image: url('../assets/logo.png');
    background-size: cover;
}
/* ================= UNDERLINE ANIMATION ================= */
.yes {
  position: relative;
  display: inline-block;
}

.yes::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;

  background-image: linear-gradient(
    89.2deg,
    rgba(255,255,255,1) -1.3%,
    rgba(253,109,38,1) 281.6%
  );

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;

  pointer-events: none; /* ✅ FIX */
}

.yes:hover::after {
  transform: scaleX(1);
}


/* ================= CARD BORDER (LEFT → RIGHT) ================= */
.card-hover {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  z-index: 1;
}

.card-hover::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 12px;

  background: linear-gradient(90deg, #6366f1, #ec4899, #06b6d4);

  -webkit-mask: 
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;

  pointer-events: none; /* ✅ FIX */
  z-index: 0;
}

.card-hover:hover::before {
  transform: scaleX(1);
}


/* ================= CARD TRACE (FULL BORDER LOOP) ================= */
.card-trace {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  z-index: 1;
}

.card-trace::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;

  background: linear-gradient(90deg, #6366f1, #ec4899, #06b6d4);

  -webkit-mask: 
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  background-size: 300% 300%;
  background-position: 0% 50%;

  opacity: 0;
  transition: opacity 0.3s ease;

  pointer-events: none; /* ✅ FIX */
  z-index: 0;
}

.card-trace:hover::before {
  opacity: 1;
  animation: borderRun 2s linear forwards;
}

@keyframes borderRun {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 100% 50%; }
  50%  { background-position: 100% 100%; }
  75%  { background-position: 0% 100%; }
  100% { background-position: 0% 50%; }
}

/* About */

.about {
    display: flex;
    justify-content: space-around;
}
.mypic {
    background-image: url('../assets/logo.png');
    background-size: contain;
    width: 15rem;
    height: 15rem;
    border-radius: 30px;
    padding: 0px;
    border: 2px solid white;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: grid;
    font-size: 3rem;
    font-weight: bold;
    margin: 20px;
}
.info{
    text-align: justify;
}
.mypic h1{
    display: none;
}

@media (max-width: 1124px) {
  /* Your mobile styles here */
  .mypic {
    display: none;
}

}
.max-w-xl {
    max-width: 100%;
}
.flex {
    display: flex;
    flex-wrap: wrap;
}
.certpic{
  border-radius: 5px;
}