/* ==========================================================================
   F9 INFOTECH - Executive Profile Card Styles
   ========================================================================== */

.f9-profile-wrapper {
  width: 100%;
  min-height: calc(100vh - 450px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 120px 20px;
  background-color: #FFFFFF;
  box-sizing: border-box;
}

.f9-profile-container {
  width: 100%;
  max-width: 938px;
  margin: 0 auto;
}

.f9-profile-card {
  background: linear-gradient(270deg, #0D2565 0%, #204AB0 100%);
  border-radius: 25px;
  padding: 38px 60px 38px 38px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 45px;
  box-shadow: 0 20px 50px rgba(13, 37, 101, 0.2);
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.f9-profile-card:hover {
  box-shadow: 0 25px 60px rgba(13, 37, 101, 0.28);
}

.f9-profile-photo-wrap {
  width: 320px;
  min-width: 320px;
  height: 440px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.f9-profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 15px;
  display: block;
  transition: transform 0.4s ease;
}

.f9-profile-card:hover .f9-profile-photo {
  transform: scale(1.02);
}

.f9-profile-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.f9-profile-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 10px 0;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.f9-profile-designation {
  font-family: 'Montserrat', sans-serif;
  font-size: 19px;
  font-weight: 400;
  color: #FDFEFE;
  margin: 0 0 35px 0;
  line-height: 1.4;
}

.f9-profile-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.f9-profile-contact-item {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.f9-profile-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #FFFFFF !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.f9-profile-contact-link:hover {
  opacity: 0.85;
  transform: translateX(3px);
  color: #FFFFFF !important;
}

.f9-profile-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFFFFF;
}

.f9-profile-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.f9-profile-btn-wrap {
  margin-top: 5px;
}

.f9-profile-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: #0D2665 !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 13px 38px;
  border-radius: 25px;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  line-height: 1;
}

.f9-profile-cta-btn:hover {
  background: #FFFFFF;
  color: #164AC8 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .f9-profile-wrapper {
    padding: 60px 20px 90px 20px;
  }
  .f9-profile-card {
    padding: 32px 35px 32px 32px;
    gap: 35px;
  }
  .f9-profile-photo-wrap {
    width: 280px;
    min-width: 280px;
    height: 390px;
  }
  .f9-profile-name {
    font-size: 28px;
  }
  .f9-profile-designation {
    font-size: 17px;
    margin-bottom: 28px;
  }
  .f9-profile-contact-link {
    font-size: 16.5px;
  }
}

@media (max-width: 768px) {
  .f9-profile-wrapper {
    padding: 40px 15px 70px 15px;
  }
  .f9-profile-card {
    flex-direction: column;
    padding: 28px 22px 34px 22px;
    gap: 25px;
    border-radius: 20px;
  }
  .f9-profile-photo-wrap {
    width: 100%;
    min-width: 100%;
    max-width: 340px;
    height: 380px;
    margin: 0 auto;
  }
  .f9-profile-info {
    width: 100%;
    text-align: center;
    align-items: center;
  }
  .f9-profile-name {
    font-size: 25px;
    margin-bottom: 6px;
  }
  .f9-profile-designation {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .f9-profile-contact-list {
    margin-bottom: 25px;
    gap: 14px;
    align-items: center;
  }
  .f9-profile-contact-link {
    font-size: 16px;
  }
  .f9-profile-btn-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .f9-profile-cta-btn {
    width: auto;
    min-width: 180px;
    padding: 13px 32px;
  }
}
