/* ===============================
   GLOBAL SAFETY
=============================== */
*,
*::before,
*::after{
  box-sizing: border-box;
}

/* ===============================
   SECTION WRAP
=============================== */
.hasnat-wrap{
  padding: 70px 16px;
  background: linear-gradient(180deg,#f4fffd,#ffffff);
}

/* ===============================
   MAIN CARD
=============================== */
.hasnat-card{
  max-width: 1200px;
  margin: auto;
  background: #ffffff;
  border-radius: 22px;
  padding: 32px;
  display: grid;
  grid-template-columns: 420px 1fr; /* 🔥 LEFT BIGGER */
  gap: 26px;
  border: 2px solid #1ec6c6;
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
  align-items: stretch;
}

/* ===============================
   LEFT PROFILE BOX
=============================== */
.smart-head{
  height: 100%;
  padding: 28px 26px;
  border-radius: 18px;
  background: linear-gradient(135deg,#f1fffc,#ffffff);
  border: 1px solid rgba(30,198,198,.28);
  box-shadow: 0 14px 32px rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: .35s ease;
}

/* 🔥 Hover effect */
.smart-head:hover{
  background: linear-gradient(135deg,#e9fffb,#ffffff);
  border-color: #1ec6c6;
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(30,198,198,.35);
}

/* PHOTO */
.hasnat-photo img{
  width: 104px;
  height: 104px;
  border-radius: 18px;
  object-fit: cover;
  border: 3px solid #1ec6c6;
  box-shadow: 0 10px 22px rgba(0,0,0,.15);
}

/* TITLE AREA */
.hasnat-title{
  flex: 1;
}

/* BADGE */
.hasnat-badge{
  display: inline-block;
  padding: 6px 18px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  color: #0c6e6d;
  background: rgba(30,198,198,.20);
  border: 1px solid rgba(30,198,198,.35);
  margin-bottom: 8px;
}

/* NAME + LINKEDIN (ONE LINE) */
.hasnat-name{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: #003436;
  line-height: 1.25;
  white-space: nowrap;
}

/* LINKEDIN BUTTON */
.hasnat-linkedin{
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,102,194,.12);
  border: 1px solid rgba(10,102,194,.3);
  transition: .25s ease;
}

.hasnat-linkedin i{
  font-size: 15px;
  color: #0a66c2;
}

.hasnat-linkedin:hover{
  background:#0a66c2;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10,102,194,.45);
}

.hasnat-linkedin:hover i{
  color:#ffffff;
}

/* DESIGNATION */
.hasnat-designation{
  font-size: 14px;
  color: #5f7777;
  margin-top: 4px;
}

/* ===============================
   RIGHT CONTENT (slightly tighter)
=============================== */
.hasnat-desc{
  font-size: 15px;
  line-height: 1.65;
  color: #4b5f5f;
  margin-bottom: 16px;
  max-width: 96%; /* 🔥 RIGHT SIDE NARROW */
}

/* TAGS */
.hasnat-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hasnat-tags span{
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(30,198,198,.12);
  border: 1px solid rgba(30,198,198,.28);
  color: #003436;
  white-space: nowrap;
}

/* ===============================
   CONTACT
=============================== */
.hasnat-contact{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hasnat-contact a{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.1);
  text-decoration: none;
  color: #003436;
  font-weight: 700;
  transition: .25s;
}

.hasnat-contact a i{
  color: #0c6e6d;
}

.hasnat-contact a:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
  background: #f1fffc;
}

/* ===============================
   MOBILE FIX
=============================== */
@media (max-width: 768px){

  .hasnat-card{
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .smart-head{
    height: auto;
    flex-direction: column;
    text-align: center;
  }

  .hasnat-photo img{
    width: 88px;
    height: 88px;
  }

  .hasnat-name{
    justify-content: center;
    white-space: normal;
    font-size: 19px;
  }

  .hasnat-desc{
    font-size: 14px;
    max-width: 100%;
  }

  .hasnat-tags span{
    font-size: 11.5px;
  }

  .hasnat-contact{
    grid-template-columns: 1fr;
  }
}

/* Mobile tap feedback */
@media (max-width: 768px){
  .hasnat-contact a:active,
  .hasnat-linkedin:active{
    transform: scale(.97);
    box-shadow: 0 6px 14px rgba(0,0,0,.2);
  }
}
